i have it, i found it to be very unprecise, but sensitive somehow, the results (at idle especially) vary a lot with other factors (like also re-power it up), the one you have has apparently a bit of external circuitry, the one with just the pigtail needs a transistor to power the LED at calculated pulses and a bit of filter on the power rails (peek the datasheet)... i think it's enough for smoky ambients to automate the venting
Thanks for this older tutorial. Already made some of your cool regulator things but when I connect a Wemos Mini Lite 5v and gnd to the regulator the Wemos reboots and hangs? Any ideas?
Interesting video, I see out of this sensor is ug/m3, but AQI is generally mentioned in the range of 0-500 scale. What is the formula/algorithm to convert ug/m3 to AQI scale?
An optical dust sensor. Can detect dust and particles. Cannot detect gasses (CO, CO2, ozone, NOx, etc). Cannot detect heat. Might detect smokes (and even pollens) but not as well as a proper safety detector. It also only offers modest sensor resolution, this five dollar part can be pretty fun and useful but it's definitely not laboratory precision.
The filter function definitely is running a moving average but upon startup the moving average simply fills all array slots with the first value. Given that's what the code is doing, I still think there is some "warmup" time or something like that (ie sensor related rather than code related).
It is nice video tutorial but it would be better if you use regular ATmega microcontroller than Arduino or at least create the second video with pure ATmega :)
I hope you know Arduino boards use ATmega microcontrollers. There is no point in making a breadboard circuit with another ATmega uC and flashing that one, when you have a well build and simple to use board like Arduino. You even have ISP header on it, so if you want to program the chip using external programmer and other software, like Atmel Studio, you can do that.
I've been thinking I should! I've basically been "testing" it for the past few months because I always end up running into some annoying issue with whatever platform I use (I used to use easyIoT, thingsboard, and home assistant at different times) so I wanted to make sure I liked it before making a video about it haha. But It's been solid for a while so it's probably about time.
This channel is largely aimed towards the enthusiast community who have lots of experience with Arduino. RTOSes are generally a bit out of reach for the general home DIY electronics tinkerer. Plus it makes prototyping easy ;)
that's why at some point everyone will get stuck on Arduino that is incompatible with non-AT Mega chips and practical libraries will not be supported. I had more problems with Arduino compatibility issues than running a tiny nice multitasking program on rtos. This does not pertain to Arduino uno/nano/due etc boards but ESP
I'm not sure which libs you've had issue with but I have generally had excellent luck with ESP support. I don't doubt there are some that are incompatible but usually those are ones that need somewhat specific hardware timers on a given device but that crops up with any platform. In general Arduino libs have great compatibility and Arduino has been ported to hundreds of different boards. It's all up to personal preference though
Arduino runs on rtos in esp case. you cannot use 90% of board powerful capabilities and people who make libs for arduino actually port them from rtos or more complex stuff must be rewritten. it is just for basic learning stuff which is fine but to go higher level you must step out of arduino into rtos
Similar, but I sure hope they use better hardware than this sensor haha. I think those optical smoke detectors have some fancier abilities built in as well.
:) I do not want every video to try to address my sense of adventure. This just feels like clickbait. It would be really time-saving if you just put the name of the sensor at the end of the title. You will probably reach a higher-quality audience this way.