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

  Переглядів 59,005

SuperHouseTV

SuperHouseTV

День тому

* 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

КОМЕНТАРІ: 91
@lycakito1814
@lycakito1814 7 місяців тому
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
@DustinWill
@DustinWill 4 роки тому
Hi Jon!!! Glad to see you’re still kickin’.
@kabandajamir9844
@kabandajamir9844 2 роки тому
The world's best teacher
@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!
@viniciusnoyoutube
@viniciusnoyoutube 4 роки тому
Awesome! I cant wait for the next video. Keep the good work.
@sean6932
@sean6932 4 роки тому
Thank you SuperHouseDotTv. Great channel.
@andrewlhoover
@andrewlhoover 4 роки тому
Looking forward to the next one!
@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)
@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?
@venkat2216
@venkat2216 4 роки тому
Hi Jonathan...very nice video and informative.
@ronm6585
@ronm6585 4 роки тому
Great video, thanks.
@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
@rohitjagtap4555
@rohitjagtap4555 4 роки тому
Hello Jon! Nice to see you again, take care. Love from India :)
@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
@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?
@muhammadwaseemamir876
@muhammadwaseemamir876 4 роки тому
you're simply quite Legendary Genius
@mikeg3660
@mikeg3660 Рік тому
Very cool.
@Wakodaf
@Wakodaf 2 роки тому
very cool!
@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.
@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 :)
@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 👍
@TheRealoldcar
@TheRealoldcar 2 роки тому
Nice project. Could you show us how to config thingspeak channel and their mqtt, with field syntax for the PM5003
@BorisSiber
@BorisSiber Рік тому
thx
@jamescullins2709
@jamescullins2709 3 роки тому
I have a bunch of ESP-1 boards and would like to use it. Is that do able? great job.
@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?
@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.
@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
@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.
@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.
@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.
@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
@haley8004
@haley8004 3 роки тому
This is great. Can I do this with a Zigbee module?
@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?
@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
@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.
@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
@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.
@tomgeorge3726
@tomgeorge3726 4 роки тому
Hi,Jon great video, I think you need to explain at 15:30, 1decilitre = 0.0001 m3 .
@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 :)
@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.
@cmptuomp3
@cmptuomp3 4 роки тому
nice video, I'd recommend to check out esphome, it's the easiest and cleanest way to play with esp8266 devices.
@Tntdruid
@Tntdruid 2 роки тому
Can you do the same whit a co2 sensor?
@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.
@ArkadiuszKurnicki
@ArkadiuszKurnicki 2 роки тому
not enough smart device :) is possible to upgrade this sensor and make communication by wifi to google assistant?
@prussian7
@prussian7 4 роки тому
What about a sensor for larger particles like Cat Litter (clay dust), Cat Hair?
@ferencszabo3504
@ferencszabo3504 4 роки тому
Cool toy
@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.
@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?
@alfadex50
@alfadex50 4 роки тому
i will come back to check the next video and......in meantime i am ordering pms5003!!
@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?
@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.
@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
@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.
@GTX4747
@GTX4747 4 роки тому
Add links to the components
@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
@realsmarthome
@realsmarthome 10 місяців тому
There is a newer project with ready-made DIY solution with smart designed PCB and firmware: ukposts.info/have/v-deo/q5qeepWJgW6f0o0.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
SuperHouse #39: DIY air quality sensor part 2 - "Display" version
17:02
DIY ESP32 AC Power Meter (with Home Assistant/Automation Integration)
10:58
НЕОБЫЧНЫЙ ЛЕДЕНЕЦ
00:49
Sveta Sollar
Переглядів 6 млн
маленький брат прыгает в бассейн
00:15
GL Show Russian
Переглядів 3,7 млн
😳 Домінація! ОГЛЯД БОЮ ЛОМАЧЕНКО - КАМБОСОС
04:06
Measure All The Things - 1 - Pollution Sensor (PMS5003 particle sensor)
15:46
How to build a DIY air quality sensor
5:25
Grist
Переглядів 28 тис.
Is Adam Savage Still an Atheist?
8:16
Adam Savage’s Tested
Переглядів 231 тис.
3D Prints Outside for 7 years: What happened? RMRRF2024
29:36
CNC Kitchen
Переглядів 98 тис.
Air Quality Monitor [video #287]
9:09
Peter Millard
Переглядів 11 тис.
IoT Based Air Pollution/Quality Monitoring with ESP8266 on Thingspeak
9:15
How To Electronics
Переглядів 37 тис.
M4 iPad Pro Impressions: Well This is Awkward
12:51
Marques Brownlee
Переглядів 5 млн
Он Отказался от БЕСПЛАТНОЙ видеокарты
0:40
ЖЕЛЕЗНЫЙ КОРОЛЬ
Переглядів 1,6 млн