Тёмный

SuperHouse #38: DIY air quality sensor part 1 - "Basic" version 

SuperHouseTV
Подписаться 104 тыс.
Просмотров 60 тыс.
50% 1

* www.superhouse.tv/38-diy-air-...
* www.superhouse.tv/episodes
It's surprisingly easy to make your own simple air quality sensor. All you need is a cheap laser-scattering particulate matter sensor, a Wemos D1 Mini, a soldering iron, and Tasmota.
Part 1 shows how to make the simplest possible air quality sensor. Parts 2 and 3 will show how to make more advanced versions.
See the link above for a step by step guide.
SuperHouse:
- www.superhouse.tv
- / superhousetv
- / superhousetv
Jonathan Oxer:
- / jonoxer
- / jonoxer
Support me on Patreon to receive exclusive discount codes, access to Patron-only sections of the SuperHouse Discord, and early access to new episodes: / superhouse

Наука

Опубликовано:

 

5 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 91   
@DustinWill
@DustinWill 4 года назад
Hi Jon!!! Glad to see you’re still kickin’.
@EsotericArctos
@EsotericArctos 4 года назад
Having a clean workshop is a great idea anyway, even better if it can help you be more comfortable. Another great video and explanation to go with it.
@roussell
@roussell 4 года назад
Awesome! Thanks for this, Jonathan!
@lycakito1814
@lycakito1814 10 месяцев назад
I love this video, I watched it a couple of years ago to build a ESP air filter quality check, now I'm building another one and coming here to build it - thanks my friend! I really appreciate you sharing this knowledge
@viniciusnoyoutube
@viniciusnoyoutube 4 года назад
Awesome! I cant wait for the next video. Keep the good work.
@sean6932
@sean6932 4 года назад
Thank you SuperHouseDotTv. Great channel.
@nielslangkilde9255
@nielslangkilde9255 4 года назад
Very nice.. Thanks for the introduction to Air Quality Sensors.. Looking forward to next episode.. Greetings from the other side of the Earth (Denmark)
@andrewlhoover
@andrewlhoover 4 года назад
Looking forward to the next one!
@rohitjagtap4555
@rohitjagtap4555 4 года назад
Hello Jon! Nice to see you again, take care. Love from India :)
@ronm6585
@ronm6585 4 года назад
Great video, thanks.
@venkat2216
@venkat2216 4 года назад
Hi Jonathan...very nice video and informative.
@wearemilesfromnowhere4630
@wearemilesfromnowhere4630 4 года назад
Nicely done...
@Vested_Investor
@Vested_Investor 4 года назад
Brilliant! Would like to hear more on how to apply this technology for better health. Thank you
@Wakodaf
@Wakodaf 2 года назад
very cool!
@thriveimagedesign
@thriveimagedesign 4 года назад
Another awesome video, thanks so much. These might be very handy during bushfire season. I wonder if remote sensors could be used for early detection?
@mikeg3660
@mikeg3660 2 года назад
Very cool.
@muhammadwaseemamir876
@muhammadwaseemamir876 4 года назад
you're simply quite Legendary Genius
@kabandajamir9844
@kabandajamir9844 2 года назад
The world's best teacher
@wilfredswinkels
@wilfredswinkels 4 года назад
pointing at the switch of your soldering iron and then tell alexa to turn it on....The ultimate laziness....I love it :-D
@pete3897
@pete3897 4 года назад
Have you considered adding a HEPA filter to your workshop, controlled by the HA system in response to readings from the sensor? It seems like the perfect application for it, along with the graphs. Your graphs could even incorporate a variable to show the filter-fan's state so that you could see the delay effect between the fan coming on and the ppd decreasing. You could even PID control it :)
@blueeyce
@blueeyce 4 года назад
Great little project. I built my first one today and have plans to make a few more to monitor a couple rooms throughout the house. Do you know if there are any published standards for the ppd measurements?
@ristomatti
@ristomatti 4 года назад
Nice and tidy build! Beats my D1 Mini protoboard with a JST connector design 2-3 years back... I used ESPEasy for the firmware. Its a bit more fiddling but has a nice GUI and more settings for those that want them.
@BorisSiber
@BorisSiber Год назад
thx
@valentinene
@valentinene 4 года назад
As always a very good video. I've made myself something similar using a ESP32 dev board, SDS011 for PM 2.5 and 10 readings and a DHT22 for temp and humidity. I've used ESPhome as I find it easier for me and also the HA integration is seamless Later edit: the PM readings are quite precise as I've compared my results with an Airly (an independent air quality monitoring network) and they are pretty close
@SuperHouseTV
@SuperHouseTV 4 года назад
Thanks, that's good to know about the comparison with the Airly
@valentinene
@valentinene 4 года назад
@@jj_uk My system is based on luftdaten.info/feinstaubsensor-bauen/ The only difference is that I'm using a ESP32 dev board and the software for it was built with ESPhome - my arduino programming skills are zero so I had to stick to ESPhome This is how the ESPhome code looks like: uart: rx_pin: GPIO16 tx_pin: GPIO17 baud_rate: 9600 sensor: - platform: sds011 pm_2_5: name: "PM2.5 Concentration" pm_10_0: name: "PM10.0 Concentration" update_interval: 5min - platform: dht pin: GPIO13 model: DHT22 temperature: name: "PM Temp" humidity: name: "PM Hum" update_interval: 60s
@valentinene
@valentinene 4 года назад
​@@jj_uk Later edit: I'm using update interval 5 min for SDS sensor to prolong it's life
@F4Fari
@F4Fari 3 года назад
Oh man you’re awesome! I’ve just found you recently 😃 Where do you get these electronics from? I’m originally from Iran, back home we had some malls selling only electronics or computer stuff but since I came to Australia I couldn’t find any places like that. So I have to order everything online. But it could be much easier if I could walk around some shops and see where my curiosity and creativity takes me 😄 Thanks for your time 👍
@briandurward
@briandurward 4 года назад
Thanks Jon. Now feeding data into Node-Red. Thinking about using a Sonoff Micro to turn on and off at set time each day. Any thoughts?
@gregluv6493
@gregluv6493 4 года назад
Tasmota is truly an excellent FW. However I think that integrating devices in Home Assistant is better ESPhome FW because it is much more flexible than tasmota and does not require mqtt brokers. Excellent guide and congratulations.
@Manlatics
@Manlatics 4 года назад
This is really cool. I have one question though, how do you power your devices round the house, say you wanted to position this somewhere where there is no readily available socket to run USB power from? I'd love to take advantage of having all sorts of sensors around my house but I have no idea how to solve this problem.
@markusnees8490
@markusnees8490 4 года назад
Well done, great project. I just have little issues getting the MQTT data IoBroker.Sonoff Adapter. The data are not organized very well. Some are in seperate folders with units µg/m³ and some are just numbers. Did you try that or don't you use IoBroker. And I like that 3d printed case. Do you have that somewhere on Thingiverse? Or is it not for puplic use?
@tomgeorge3726
@tomgeorge3726 4 года назад
Hi,Jon great video, I think you need to explain at 15:30, 1decilitre = 0.0001 m3 .
@AndrewDanne
@AndrewDanne 4 года назад
You are awesome. Nice clean engineering with solid explanation and a very usable neat product at the outcome. I can do this myself when I build this, but what is the power draw so as I have some initial understanding of battery powering this.
@SuperHouseTV
@SuperHouseTV 4 года назад
Great question, I should have addressed that. I'll cover it in part 2. The D1 Mini takes a pulse of up to 500mA while starting up WiFi, but only briefly. Most of the time it's in the tens of mA region. The PMS5003 peaks at about 150mA (the spec sheet says 200mA, but I haven't seen that) with the fan running, but is in the micro-Amp region when in sleep mode. Thanks for asking the question, it'll be interesting to check it out in detail.
@PeterOSullivan1
@PeterOSullivan1 4 года назад
@@SuperHouseTV Also, I think if you set a static IP rather than using DHCP you should be able to establish a WIFI connect quicker when waking up from deep sleep. Therefore reducing your overall 'awake time' which should a little with battery life.
@thomaseugene2397
@thomaseugene2397 4 года назад
Hi ! Thanks for this new video. I'm fairly new to tasmota, I used to create my own code but with yours videos I adopted tasmota 👍. So maybe a silly question, but is it not possible with tasmota to wake the d1 up (periodically or based on a action from the user) take some readings send the MQTT messages and go back into deep sleep mode? Looking forward part 2
@SuperHouseTV
@SuperHouseTV 4 года назад
That's a great question, and perhaps it can be done with Tasmota, but I don't know how. The problem is that the sensor has to be woken up and then run for about 30 seconds to stabilise. In that time any data it sends has to be thrown away, then a proper reading taken, then those values reported. My own firmware (which will be in part 2) does all that, but I don't know how to do it with Tasmota.
@jamescullins2709
@jamescullins2709 3 года назад
I have a bunch of ESP-1 boards and would like to use it. Is that do able? great job.
@barbudor
@barbudor 4 года назад
Hi Jonathan and thanks. Convinced me that I have to build one soon. May be useful to warn users that with the release of v8.2.0 they now have to use tasmota-sensors.bin All best
@SuperHouseTV
@SuperHouseTV 4 года назад
Well, my timing was bad on that! I'll add a note to the page.
@ferencszabo3504
@ferencszabo3504 4 года назад
Cool toy
@BenMitro
@BenMitro 4 года назад
Very nice indeed. Did you consider putting the usb c on the other side? Thanks, that is very cool as is! Looking forward to the next build with the display.
@SuperHouseTV
@SuperHouseTV 4 года назад
So the USB socket is on the opposite side to the sensor vents? Sure, that could be done. Perhaps I'll do another version of the case for that. I don't think it would make much difference with accuracy though, because the particles it's detecting are so small they behave like a gas and become fairly evenly distributed. Having the sensor vents at the "back" of the case when it's on a shelf is not a big problem unless there are other things jammed around it.
@TheRealoldcar
@TheRealoldcar 2 года назад
Nice project. Could you show us how to config thingspeak channel and their mqtt, with field syntax for the PM5003
@narkeddiver7325
@narkeddiver7325 4 года назад
Great little project - wouldn’t mind putting together the advanced version (where the laser isn’t continuously running) but without the display so I can pop it somewhere safe outside to see what I’m breathing when I step out the front door
@SuperHouseTV
@SuperHouseTV 4 года назад
That's easy to do. The software that I'll show you in part 2 has that feature, and it works fine without the display.
@narkeddiver7325
@narkeddiver7325 4 года назад
Nice - I’ll just have to check that I can get all the parts delivered locally - I’m in Thailand so I’m not sure what’s available
@jimamos8960
@jimamos8960 3 года назад
Any experience or recommendation using the PMS7003 vs. the PMS5003? Besides the 3D case and physical aspects, does Tasmoto support this new flavor? Just re-up'd Patreon for your great work as well... ty
@cmptuomp3
@cmptuomp3 4 года назад
nice video, I'd recommend to check out esphome, it's the easiest and cleanest way to play with esp8266 devices.
@kennethfribert6074
@kennethfribert6074 4 года назад
Hi Jonathan, very interesting project, I'm glad that you mention that the refraction sensor will die rather quickly if it's running 24/7 :-) There is actually a very good project you should consider adjusting the design to, and that is feinstaubsensor from the luftdaten.info. It's a world wide project that started in Germany, and it measures particles. The preferred sensor for them is the SDS011, which is a bit bulkier, but i can actually support the Plantower as well. Further than giving values readable locally, it handles the 'scheduling' of the sensors, and it also reports it centrally. THey support both indoors and outdoors sensors :-)
@SuperHouseTV
@SuperHouseTV 4 года назад
The luftdaten.info site is one of the things that inspired me to begin this whole air quality sensor project in the first place :-) In a later video I'm going to show some things you can do with the data once you've made a sensor, so I'll definitely feature luftdaten.info in that.
@Tntdruid
@Tntdruid 2 года назад
Can you do the same whit a co2 sensor?
@meierthomas
@meierthomas 4 года назад
Great build including the 3D printed enclosure, Jon :) One strange thing was when I flashed the standard tasmota.bin (8.2.0, I didnt't get any sensor data. Upon checking the template on the Tasmota web interface GPIO2 was blank, PMS5003 was not listed as an option. I then flashed tasmota-sensors.bin (8.2.0) and that worked. Any idea what happened here?
@meierthomas
@meierthomas 4 года назад
Forget what I said. Just had a look at your project page again where it states PMS support is now in tasmota-sensors.bin :)
@alfadex50
@alfadex50 4 года назад
i will come back to check the next video and......in meantime i am ordering pms5003!!
@haley8004
@haley8004 3 года назад
This is great. Can I do this with a Zigbee module?
@meierthomas
@meierthomas 4 года назад
Hey Jonathan, great project. Will build this. Will this work with an AWS IoT broker as well with the standard Tasmota.bin build? I'm building my MQTT infra around AWS not a local broker
@SuperHouseTV
@SuperHouseTV 4 года назад
If you have access to an MQTT broker (either local or remote) then it will work. There's also this alternative firmware that has AWS IoT support built in: github.com/SwapBap/WemosDustSensor
@prussian7
@prussian7 4 года назад
What about a sensor for larger particles like Cat Litter (clay dust), Cat Hair?
@vermontcreations
@vermontcreations 4 года назад
You are amazing!!!! I would have a PhD if I would have had you as a teacher. You should be at MIT.
@Mr_ToR
@Mr_ToR Год назад
does anyone have any experience with the SM300D2? The co2 is Equivalent CO2 (eCO2) so I really don't care for it much and I'm using Senseair S8 for c02 anyways. I'm curious about the VOC and formeldehyde measurements of it actually. Does anyone know if they are any good?
@KarlMiller
@KarlMiller 4 года назад
@SuperHouseTV - are there known practical inferences we can make from the data being presented by the sensor device? What I am asking is, can you identify the type of, or specific particles as "shop dust" or "polen" or "Covid-19 virus"? I want to have the house tell me to take action when my shop gets too dusty, or perhaps turn on the air exhaust till the room clears out.
@SuperHouseTV
@SuperHouseTV 4 года назад
There's not much we can tell about the type of particle, and a virus is too small to be detected in this way. I'm going to show a chart in part 2 (or maybe part 3) about the different types of particles that people may care about and their relative sizes.
@shrikedecil
@shrikedecil 4 года назад
Power draw? Or: Might this plausibly be battery-drive-capable?
@SuperHouseTV
@SuperHouseTV 4 года назад
Great question. I just answered this above (below?) on another comment and I'll address it in detail in part 2.
@ArkadiuszKurnicki
@ArkadiuszKurnicki 2 года назад
not enough smart device :) is possible to upgrade this sensor and make communication by wifi to google assistant?
@ranveersaini9806
@ranveersaini9806 3 года назад
Hi sir can you help me how to PMS5003 sensor concerted Stm32 blue pill Board and Program Arduino IDE
@davidwalker575
@davidwalker575 3 года назад
That’s a really nice case but wouldn’t it be better to bring the usb in from the other side so it doesn’t block the air flow?
@jimquinn
@jimquinn 4 года назад
Did you include the link to the Fritsch article? www.fritsch-international.com/fileadmin/Redakteur/Downloads/Reports_sizing/Introduction_Laser_Scattering/Laser_Scattering_-__introduction.pdf
@SuperHouseTV
@SuperHouseTV 4 года назад
The link is on the project page.
@ABnSuItan
@ABnSuItan 4 года назад
because it shows number doesn't mean it's correct did you test it or compare it to other devices like laser egg+ etc?
@SuperHouseTV
@SuperHouseTV 4 года назад
That's a great point. I should address it in part 2. I haven't done it, but multiple other people have run tests where they've had multiple Plantower sensors and other sensors running together in the same environment over many months, and plotted the values. The result seems to be that $15 Plantower sensors are just as good as the $500 modules, but they don't have the individual calibration certificate to prove it. So if you want it for your own use, it's fine. But you can't use the results in a situation where it has to be "certified", such as writing an official report. That's what you're paying all the extra money for with the more expensive sensors.
@ABnSuItan
@ABnSuItan 4 года назад
@@SuperHouseTV i'll be really glad if you could talk about the device accuracy in part 2, i wasted time and money on devices that looks like it's just showing a random number. also could you please share the link of the comparison. Big fan by the way, you are the reason i entered the smart home world
@jeremygalloway1348
@jeremygalloway1348 Год назад
Have you considered utilizing a sinus rinse? That stuff has saved my ass from getting serious sinus infections too many times to count. Once I found it...tried it...use it a few times a month on average but if I feel I'm getting messed up I immediately rinse...not taking any chances because I know how crappy and deviated my sinus cavities are. Sinuses suck
@GTX4747
@GTX4747 4 года назад
Add links to the components
@realsmarthome
@realsmarthome Год назад
There is a newer project with ready-made DIY solution with smart designed PCB and firmware: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-sjmF_RJ8nqY.html. One thing is to get values from sensors, the second to know how to evaluate them to automate ventilation. Firmware should be able to do the second part either.
@tima9790
@tima9790 4 года назад
interesting comparison of these cheap sesnors to 'real' a PM2.5 monitor. www.hindawi.com/journals/js/2018/5096540/ I wouldn''t trust the results of these, as the light scattering method is not a great method of measuring PM2.5. Would be interesting to put the sensor in a bigger box, and a dehumidifier on the inlet to the box to remove any moisture in the air. All the cheap sensors tend to over-estimate PM2.5 (by a factor of 3 to 4), however they do trend well with the reference method equivalent. I use TEOMs on an almost daily basis and they cost around $35,000. You may be panicking about your AQ when you don't need to. There are only three USEPA recognised methods of measuring particulates, and none of them are light scattering. Expecting decent results from something that costs $15 is well.. hopeful.
@thesimbon
@thesimbon 4 года назад
I checked the reading from my PMS 5003 and are comparable with the data published from the local authorities about air quality. For domestic use knowing the range of PM in the air is enough, it doesn't make much difference if you read 55 and actually the value is either 50 or 60
@damedaE90
@damedaE90 4 года назад
Interesting Paper you linked in 👍
@irukard
@irukard 4 года назад
Sensirion SPS30 is order of magnitude better.
@SuperHouseTV
@SuperHouseTV 4 года назад
Sensirion make great sensors, I used to maintain the Arduino driver for one of their devices, but the SPS30 is also an order of magnitude more expensive.
@irukard
@irukard 4 года назад
@@SuperHouseTV in Nettigo Air Monitor Project we are using and testing many different sensors. For outdoor application our choice for many years was NovaFitness SDS011 with dedicated heating system (NAM HECA). However performance of Sensirion SPS30 is far greater than anything else in this price range. This sensor presents PM2.5 readings consistent with TSI DustTrack 8533 which costs about 12k EUR. Why? Just take a look at inside of Sensirion's sensor. www.mistywest.com/posts/teardown-sensirion-particle-matter-sensor/ Air flow inside Plantowers sensors is turbulent. Air passed near many PCB components. Pathway is prone to dust accumulation.
@vecraztezajci
@vecraztezajci 4 года назад
and much more expensive...
@Michael-kl6qn
@Michael-kl6qn 3 года назад
Is it possible that though Sensirion units cost about 3-4 times what the Plantower units cost, the Sensirion might last more than three times longer, and thus pay for itself over time due to its savvier engineering? Considering it's more sensitive and accurate, and the goal is you and your family's health around a home-built unit, rather than building for mass commercial use and profit, it might be a smart buy to spend the extra $30-40 on the Sensirion if the goal is quality, and especially if the longevity increases the value. It's only the cost of a bag or two of groceries. In closing: It would be interesting to see you compare a self-built Plantower unit like you've made with a self-built Sensirion unit.
@theocoles7086
@theocoles7086 2 года назад
RE sinus, lookup MMS, Jim Humble, and curing that infection and eradicate the sensitivity for good. Hospitals and GPs won't help!
@psykas777
@psykas777 4 года назад
Next time put name of sensor to description.
@SuperHouseTV
@SuperHouseTV 4 года назад
The project page for this episode has details of everything, with assembly photos, links, and step by step instructions. The project page is linked at the top of the video description.
@ekim955yt
@ekim955yt 4 года назад
Too bad you didn't talk about how it was tested by a competent third party and if it is reliable or not. LOL
Далее
An ACTUALLY smart air quality monitor (it's open)
11:54
Mould Sensor with Threshold in Home Assistant
10:15
Просмотров 3,6 тыс.
Building an air quality monitoring device tutorial
7:13
Your home's air could be making you sick. Fight back!
13:24
Это iPhone 16
0:52
Просмотров 416 тыс.
Самая редкая видеокарта NVIDIA
1:00
АЙФОН Г0ВН0
0:54
Просмотров 1,8 млн