Many automatic air fresheners are wasteful in that they either ceaselessly spritz the room, and manual ones need to be — well — manually operated. This will not do in an era of smart products, so Instructables user [IgorF2] has put together an air freshener that does more than check if you’re around before freshening things up.
The air freshener uses a NodeMCU LoLin and an MG 995 servomotor, with a NeoPixel ring acting as a status light. Be aware — when the servo is triggered there is a significant spike in current, so be sure you aren’t powering the air freshener from a PC USB port or another device. After modeling the air freshener’s case in Fusion 360 — files available here — [IgorF2] wired the components together and mounted them inside the 3D printed case.
Hardware work completed, [IgorF2] has detailed how to set up the Arduino IDE and ESP8266 support for a first-time-user, as well as adding a few libraries to his sketch. A combination of an Adafruit.IO feed and ITTT — once again, showing the setup steps — handles how the air freshener operates: location detection, time specific spritzing, and after tapping a software button on your phone for those particularly lazy moments.
[IgorF2] has conveniently supplied and broken down the code he used for those newcomers in the audience to wrap up his thorough Instructable. Ah, the sweet smell of a completed project.
If you didn’t already know, consumer air fresheners are also a trove of parts that can be put to use for many other uses!
Problem with the automatic ones is they’re cheap and don’t last long.
Add a gas sensor so that it only sprays when (after a time of measuring normal levels) levels are irregular.
“A combination of an Adafruit.IO feed and ITTT — once again,”… Opens up another possible channel where the “Cloud” WILL spy on you.
The only air freshener is an open window. Less chemicals fresher air. No intentional chemical fog!
Those ozone air cleaners seem to be nice.
Yeah really, if it doesn’t filter, scrub or drop particulate matter electrostatically or something, then it ain’t freshening shit, just covering stank with chemical stank.