• You're one step from joining Home Automation Forum – Smart Home Setups, IoT Devices & Security.
    Create a free account to post, follow threads, and never miss an update.  Sign up free →

DIY automatic air freshener

riana_hlms3

New member
Joined
May 2, 2025
Messages
3
My husband has this brilliant idea to make an automatic air freshener in our bathroom, except I'm not sure it's the easiest project. He wants to use an automatic spray like Air Wick where you have the button on top so he just needs to attach something to set it off, but it also should spray automatically after someone has been in the room.

If anyone here has ideas with some electronics or similar stuff for this DIY, please let me know! We're also open to other suggestions!
 
My husband has this brilliant idea to make an automatic air freshener in our bathroom, except I'm not sure it's the easiest project. He wants to use an automatic spray like Air Wick where you have the button on top so he just needs to attach something to set it off, but it also should spray automatically after someone has been in the room.

If anyone here has ideas with some electronics or similar stuff for this DIY, please let me know! We're also open to other suggestions!
Are you looking for circuit designs or general ways to make it happen? I can envision something that activates when the light is turned off, and even something with AI that senses a tiolet flush. Activating a spray can can be done with a solenoid or a cam.

Keep us posted on your progress, please!
 
You know, if you set up a light or motion sensor with a simple relay and solenoid, you could easily get that spray going. Honestly, connecting it to the room light or a door sensor might be the most straightforward way to get started
 
Easiest route might be using a PIR motion sensor and a small servo motor to press the button, the motion sensor can trigger the servo after a short delay once someone leaves. Cheap Arduino boards or even a basic timer relay setup could handle it.
 
Easiest route might be using a PIR motion sensor and a small servo motor to press the button, the motion sensor can trigger the servo after a short delay once someone leaves. Cheap Arduino boards or even a basic timer relay setup could handle it.
Curious, how do you set the delay after motion is detected? And would a basic Arduino Uno be enough for this kind of setup, or is there a better board for handling sensors and servos?
 
Always remember to keep your electronics away from any moisture, and stick with low-voltage parts when you can. If you're familiar with some basic Arduino programming, going with a servo and motion sensor setup is probably your best bet.
 
My husband has this brilliant idea to make an automatic air freshener in our bathroom, except I'm not sure it's the easiest project. He wants to use an automatic spray like Air Wick where you have the button on top so he just needs to attach something to set it off, but it also should spray automatically after someone has been in the room.

If anyone here has ideas with some electronics or similar stuff for this DIY, please let me know! We're also open to other suggestions!
You could rig a small servo or solenoid to press the spray button, then trigger it with a motion sensor so it only goes off when someone enters. Arduino has been mentioned has been mentioned severally, it can serve
 
Back
Top