The Air Wick Freshmatic Compact i-Motion air freshener is an intriguing target for re-purposing. It uses a passive infrared (PIR) sensor to detect motion in a room and then increases the rate that it dispenses air freshener. This air freshener sells for $8, but you can sometimes get it cheaper with coupons.

Radio Shack carries the Parallax PIR module for $10. So the question is why bother re-purposing the Air Wick air freshener?

If you just want to replicate the Parallax PIR module, you can modify the air freshener by drilling 2 holes, adding a wire, and cutting a trace. Stopping here, you end up with a can of air freshener, 3 batteries, 2 slide and 1 push button switches, a cool aerosol valve, a medium power PNP transistor, a two wire connector with leads, and a LED.  I will show you two ways to do this; the simplest way, and a way to make the module the smallest.

However, If you want to go a bit farther, you can access the amplified analog sensor output as well as the digital signal, and have an externally accessible relay driver, and LED. I describe how all of these features are brought out to an easy to interface connector. You still end up with the air freshener, batteries, switches, and cool aerosol valve.

This last approach is a little more complicated.


Step 1: Avoid the Competition

Make sure that you start with the right product. Glade also makes a motion detector air freshener. It uses considerably different technology.

The Air Wick air freshener uses a PIR sensor. The fragrance canister nozzle is depressed when it is inserted into the air freshener. The fragrance is dispensed by a valve in the air freshener that is activated by a relay driver type circuit. The PIR will detect large movements to about 15 feet with the Fresnel lens attached.

The Glade air freshener uses a light level (shadow) detector and a motor and gear train to depress the canister nozzle and dispense the fragrance. The motion detection on this product has much shorter range than the Air Wick air freshener. It generally sells for $5. It has a nice Sanyo motor that runs on 3 volts.
Any chance theres a part number on the solenoid valve? I need a way to control the flow of butane electronically and the part needs to be as small as possible, and I also need several of them, but I don't want to have to purchase several air fresheners for the part... Thanks for this though! I'll probably buy one to prototype. :)
HI, this hack is great. Thanks. I want to add upstaris-light to sd, how can i do this? i haven't idea. Thanks
You have to be real careful when building a circuit that will be interfacing with a home's mains power.<br> <br> You could use this module with a triac (with opto-isolation) or a relay to power a lamp. However, I believe that hacking an outside security lamp with a motion detector would be easier and safer.<br> <br> These types of lights use the same type of PIR sensor.<br> <br> You might be interested in<br> <a href="https://www.instructables.com/id/Cheap-Motion-Detection-Wildlife-Camera/" rel="nofollow">https://www.instructables.com/id/Cheap-Motion-Detection-Wildlife-Camera/</a>
I would like to attach a simple 4.5v load this project. I don't have any training in electronics but am capable of performing the approaches above. Which is the appropriate approach and how do I connect the load in the end? Thanks in advance for any advice.
If you have kept the full circuit board and modified it as shown in step 9, you should be able to connect your load as described in test 2 on step 10 (testing the white socket).<br> <br> You&nbsp;should keep your load's current requirements at 200 mA or less. If you need more current than that you might try a small relay.<br> <br> Please note that this module doesn't latch, so your load will switch as people come and go.
Can i use this to light up some leds i want it to turn on when i drive up to driveway where there is no 120volt power available
This hack could be used as the sensor for the system that you describe. However, I would suggest that you look at Harbor Freight's 36 LED solar security light (item: 98085). This item is ~$20 when you use a 20% coupon and seems to be a good fit for your purpose. <br> <br>It uses a similar PIR sensor to detect movement.
Thanks for your help that is just what i needed
Great instructable! <br>I want to add a motion sensor to an artwork to simply switch on a large LED powered at 5v, when there's motion this seems like a easy access and low cost solution.
Hi, <br> <br>Not exactly sure why you drilled holes through the PCB for the jumpers. Could you not jumper the points from the other side of the board and not drill?
ya i dont see the point to drill other than neat ness
I like neatness, but my worktable is a pile of projects without visible order to the untrained eye.
legoman44,<br> &nbsp;&nbsp;&nbsp;&nbsp; There is no requirement to drill the holes, however I believe there are a few benefits.<br> <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Usually when first trying to understand the circuit, I drill locations that appear to be manufacturing test points or where blocks of circuitry seem to end. I then solder a small piece of wire into each hole and use them as test points while determining what the circuit is doing. The wires make it easy to make measurements with either meters or oscilloscope. I also found that when I drill the holes, I reduce my chance of disturbing surrounding surface mounted devices or lifting a solder lead. I'm not the most skilled person with a solder gun. As R.A.T.M mentioned I also find it a little neater and stronger.
Great hack! I personally would have just soldered the coil in a relay to the leads that would go to the motor. That way whenever someone walks by, it energizes the coil in the relay instead of the motor.
I have to ask, Air Wick: What is the point of the &quot;security screw&quot; in this instance? I understand the use in public places to help impede theft/vandalism, but for an air freshner... really? Anyone who actually would be interested in re-purposing (hacking) the internals would laugh in the face of this silly fastener as an impedance to entry.
Good question. I thought about why they would put these <a href="http://en.wikipedia.org/wiki/List_of_screw_drives#TP3">TP3</a>&nbsp;tamper-proof screws throughout the gadget.<br> <br> <strong>@</strong> First idea was to prevent kids (ages 8-108) from tampering with it.<br> <br> <strong>@</strong> Then it might be to keep smarty-pants from repairing it so ya have to buy a new one.<br> <br> <strong>@</strong> But finally the true (!) reason hit me: it's a failed preemptive strike against <strong>I'ble</strong> makers from buying the unit for parts!
#3 is TOTALLY TRUE. They often sell these kinds of things for a loss so that you will by the refills and they can make the real money. It's the same thing they do with razors and printers.<br><br>#2 is definitely not it. They don't want you to buy replacements units that they make no money on. They want you buying the refills that are very profitable.
Often the security type screws are used in robotic assembly type constuction, because the heads tend not to strip out, and the bits tend to last longer because of the larger surface area in contact with the fastener.
<p> Good point.</p> <p> .</p>
I noticed after using square drive screws (for decking) that the star or &quot;Torx&quot; tip pattern almost never strips out. How do the triangle head screws compare to others? Can someone comment on the quality of the triangle head screws please?
This is a very useful hack as PIRs can be used for lots of things. I found it incredibly easy to do and use. Thanks so much.
I took the simple approach; just connected the led of a cheap optocoupler (CNY 17-3) in parallel with the Wick unit's green LED. Ten minutes and done ...<br><br>Cheers,<br><br>Ross McKenzie<br>Melbourne Australia
I want to hack the unit so it works with the PIR but does not spray eery half hour when nobody is about, can this be done?
If you cut the trace near node &quot;R&quot; in the picture on step 6 and step 7, you disconnect the controller under the epoxy&nbsp;from the preamp of the power transistor that drives the spray solenoid.<br> <br> If you jumper between nodes &quot;Sd&quot; and &quot;R&quot;, the air freshener should spray every time the PIR is tripped.&nbsp;This could be a lot of spraying in a short time. You most likely would&nbsp;prefer to have a delay after spraying before spraying again.<br> <br> One thought would be to rig up a 555 timer circuit on a small piece of perfboard, with node &quot;Sd&quot; as the input and node &quot;R&quot; as the output.<br> <br> Please note that I haven't actually tried this particular modification. You should also read the comments below discussing adding a small reed relay.
could you hook the black one to a mortor and whit to power sours and can you chang the timming so it go off evrtime that it senses moten
I put this small circuit to use as an <a href="https://picasaweb.google.com/patyoungers/MunnyDollNightlightInfraredDetector?authkey=Gv1sRgCK7Ao_e2lZrfsgE#">IR activated nightlight</a>.<br> <br>
Regarding your circuit, can you be more specific on the mosfets you used (depletion zone/enhancment zone). Why are you using a pfet and nfet? could you not use two nfets?
The P-channel is a Vishay Si4413ADY power FET enhancement mode device.<br>The N-channel is a Supertex TD9944 dual FET enhancement mode device.<br>This circuit does not require special FETs to work, just some that are good enough since this is not a power amp or a radio. I had &quot;easy access&quot; to these so I used them.<br>Both are surface mount packages and require good eyes or a microscope to handle. At 50+ yrs old, I had to use a microscope. I'll use vacuum tubes next time.<br>Have a look at the schematic at the link in my original post above to go with this explanation.<br>An N-Channel FET would not work for the first stage when driven by the SD signal because the logic is inverted. That is, the SD signal is at 4.5v when not activated. So you need a transistor that will be off when the gate and source are at 4.5v. So I used a P-channel FET. When iMotion circuit is activated, the SD signal drops to about zero volts, turning on the P-Channel FET. That charges the capacitor up to 4.5v, which in then turns on the N-channel FET, lighting up the LEDs. When the iMotion stops sensing the IR disturbances, the SD signal returns to 4.5v and the N-Channel FET turns off. This allows the 100K resistor to slowly discharge the capacitor which slowly turns off the N-channel FET reducing the current through the LEDs and making them slowly fade out. When the voltage on the capacitor reaches something less than 0.5 volts, the N-channel FET and the LEDs are basically off.<br>That's a bit more than what you asked, but I was on a roll so I kept typing. I really need to turn this into an instructable.<br>
just to verify, the digital signal available after completing step 3 is a solid 5v, correct? or 4.5ish, i see 3 AA's? i want to trigger a 5v reed relay. would i need any additional steps?
hoonflap,<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I believe that your question has <strong>4 </strong>parts:<br> <br> <strong>O1:&nbsp; Can the Vcc for the module be 5V?</strong><br> &nbsp;<strong>A1:</strong>&nbsp; Yes, I have used the module in circuits from 3V to 6V. I do not know<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the BVCDO of the transistors or the BV rating of the capacitors<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; in the module, but they are greater than 6V.<br> <br> <strong>Q2:&nbsp; Can I drive a 5V reed relay directly from the Sd node on the<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; module?<br> A2:</strong>&nbsp;&nbsp; I am going to make 2 assumptions here;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1. You are using a reed relay similar to Radio Shack part<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 275-232 (i.e., 5V, 250 ohm coil). So you are asking<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; can the Sd node source 20 mA.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.&nbsp; Since the Sd node goes low when the PIR is upset,<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the coil would be energized most of the time.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Sd node is the collector of transistor Q4, which is connected<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to Vcc through resistor R14. R14 is ~100 ohms. At 20 mA, the<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; voltage at Sd would be 3V (i.e., Vsd = 5V - (100 ohms * 20 mA)).<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I do not know if this is&nbsp;enough to energize the relay's coil. I would&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; have to try it to find out. If you use the diode protection I mention<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; below,&nbsp; I do not think that you will damage the module.<br> <br> <strong>Q3:&nbsp; Would I need to do anything else to the circuit?</strong><br> <strong>A3:</strong>&nbsp;&nbsp; You need to put a reverse diode across the relay coil to<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; handle the inductive kick when the relay switches.<br> <br> <strong>Q4:&nbsp; What if that doesn't work?<br> A4;</strong>&nbsp; I would go through the Instructible a little farther and make the&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; power transistor and its pre-amp accessible (node R). It was<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;designed&nbsp;for this type of&nbsp;purpose and has the necessary diode<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; in place.&nbsp;&nbsp;It would also&nbsp;have the additional advantage of inverting&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the&nbsp;signal so that&nbsp;the relay&nbsp;coil would not be energized except<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; when&nbsp;the PIR&nbsp;sensor was upset.&nbsp;<br> <br> .
BVCEO not BVCDO..... dang typos
hoonflap,<br> &nbsp;&nbsp;&nbsp; I just rethought my answer a bit. If you...<br> <br> <strong>1.</strong> Connect one end of the relay coil to Vcc and the other end to the SD&nbsp;<br> &nbsp;&nbsp;&nbsp; node.&nbsp;<br> <br> <strong>2.</strong> Put in the reverse biased diode to handle the inductive kick across<br> &nbsp;&nbsp;&nbsp;&nbsp; the coil.<br> <br> <strong>3.</strong>&nbsp; Disconnect or remove R14.<br> <br> Q4 should be able to handle a small reed relay directly. It would also<br> only be activated when a disturbance occurred.<br> <br> Hope this helps.<br>
One last thing, just to make sure you are aware...<br> <br> &nbsp;&nbsp;&nbsp;&nbsp; The PIR will give multiple trips as someone moves or walks across its path. It will detect movement or sudden changes in IR radiation (i.e., an object in shade suddenly becomes an object in direct sun light or a warm object, say leaves on a&nbsp; tree in sunlight, start to wave with the wind).<br> <br> &nbsp;&nbsp;&nbsp; The Sd&nbsp;node doesn't latch or lock itself out for a delay. It wil report the&nbsp;continous status of&nbsp;the PIR sensor. When the sensor is unbalanced,&nbsp;the node will go from Vcc to ~gnd. See the last photo<br> on step 3.<br> <br> You might be interested in <a href="https://www.instructables.com/id/Cheap-Motion-Detection-Wildlife-Camera/">https://www.instructables.com/id/Cheap-Motion-Detection-Wildlife-Camera/</a> for some ideas how to handle these issues.&nbsp;
They Suck i know people that have them. Not this type but they have the Freshmatic and Straight Freshmatic Mini and they get sprayed in the face all day.
What is the point of this? I mean it looks really neat but i'm not sure if i understand the point.
Sorry someone didn't respond to your question sooner kelceysyoung! You can use this modified/repurposed PIR to trigger several projects but the best one is one member KipKay did with another PIR and a miniture DVR camera to take pictures when warm body moves into view i.e. as a game camera, snoop on a unknown nanny, (or any other person who deserves it), use it to catch that bad neighbor in the act, or perhaps to find out info on who has been breaking in?
You can just use a small flat-headed screwdriver (the ones that look like this &quot;--&quot; on the end&quot;) and just wedge it in between the two points of the triangle on the screw :)
I've found that the tip of one side of a pair of needle nose pliers sometimes works as well
I suppose it would work quite well if the head is quite large
Hmm mine looked complete different inside, but it did have the pir. Mine was wall powered and had two boards. The board with the pir had 3 wires coming off of it. the power supply was in the other board. There was no motor inside also. Maybe I can get a schematic from the fcc if I can numbers off the board. I am amateur at this.
If it is <strong>wall powered</strong>, you picked up the<strong> </strong>Air Wick i-Motion Scented<strong> oil warmer</strong> instead of the Air Wick Freshmatic Compact i-Motion <strong>air freshener</strong>. It is a different product. I chose the air freshener, because I thought that it might have more usable parts.<br> <br> I would be interested in what you found&nbsp;inside of&nbsp;the&nbsp;oil warmer.&nbsp;Would you post some pictures of the insides? Does the power supply look like it might be something that could be used on other projects?&nbsp;&nbsp;
I could not find the one you had. It said imotion on the box. There was a different one a another store but it was near $20 dollars. I passed on it.
The correct product is labeled &quot;<strong>AIR WICK FRESHMATIC COMPACT i motion Air Freshene</strong>r&quot;. It is readily available at Walmart, Target, and Walgreens <strong>for about $8</strong>. Walgreens has run a&nbsp;half price special several times in the recent past.&nbsp;I'm not sure what product you saw for 20 bucks, but that is<strong> </strong>not<strong> </strong>the right one or very over priced.<br> <br> <strong>I have inserted a</strong> <strong>picture of the packaging into step 1</strong> of the instructable. I hope that helps.<br> <br> From your picture it looks like the oil heater version has a nice power supply. I will have to take a look the next time they go on sale.<br> <br> <br> <br>
I think I finally found the right one at Target. That product was not at Walmart or Walgreens when I first looked. I went over to Walmart for something else and saw they finally had it back in stock. Target was a dollar cheaper than Walmart. Thank you for your patience.
Woohoo! On sale right now for $3.99 each at Walgreens.
My wife comes home with the electric air-fresheners [all brands] for under a dollar each, sometimes free; sometimes the stores are paying her to leave with them. She's also been treating me to bottles and bottles of Scrubbing Bubbles with the auto-triggers, and a few other products [same manufacturer] that have the same 1.5v pumps; for pocket change! The battery included is worth more alone than what she ends up paying. Oh! And more recently, the bug repellent clip-ons. I've thought of a few clever uses for those, but this stuff is coming to me at exponential rates! I almost forgot to mention the free battery powered razors...with the cute little clippers on the end... ... ...and it's waterproof! Oh dear!<br><br>Them crazy couponing folk are real; and they ain't all that crazy. I'm married to one. Like the l337 to the n00bz, she scoffs when people mention their 25, 30, 50 percent savings. She's to the point where she spends very little time doing the prep-work. She has fun doing it, anyway-- 'cept when Walgreens gives her a hard time. She loathes Walgreens. Well, I'm sure there're more than one coupon -ibles out there.<br><br>Oh, thanks for the -ible, Doug.
you know I am a deal hound myself, I feed 3 very very tall teenagers and myself and all the scraps the dogs and cats munch on every month for less than $400, but oddly enough though I never use coupons! I would like to, but it just seems like too much. Maybe you could get your wife to part with her coupon-ing secrets for an ible??
No secret in it, really; she went to the Southern Savers website ['cause we're in Tampa] they had tutorials that she read through, and after a while she learned those basics by heart. She checks the fliers, collects the coupons, save the store 'rewards', etc. The only difference you'll have is by region [and I'm sure there're coupon sites dedicated to most popular regions in the US...or abroad] The entire process would be tedious but the lady on that website mentioned does alot of the footwork for you, finding the deals and such, so it'll only benefit those of us in the south-east region. <br><br>And of course, depending on an 'INDIVIDUAL' store policy [yeah, right], you may or may not have MMA matches with store managers, fist-a-cuffs with crotchitty old bats, or be incarcerated for putting your fist down an obnoxious teenie boppers throat. Prepare to be treated like a criminal when you leave some of these stores; but then you'll know you're doing it properly [and legally]. Here's a hint though, my wife always says she'll choose a teen boy cashier when in doubt. To quote her, &quot;...they just don't give a crap...&quot;
haha I have actually noticed the teen boy phenomenon after a Thanksgiving turkey markdown at wally world, the elderly lady that checked me out turned something that should have been a few seconds in duration, into an investigation that took half an hour despite the clear print on the flyer! I swore off any line at the Mega store that wasn't headed by someone who routinely used OMG and BFF in conversation!!
I saw your comment around 10p on 9/25... just 3 hours before the sale you mention ended. I knew I wasn't going to be going by any Walgreens before midnight. Luckily, I happened to see the i-motion on sale at Walmart for $6. With 23 minutes to spare before midnight, I convinced them to pricematch Walgreens sale and got two units for $4 each. Thanks for the heads up!

About This Instructable




More by Doug Paradis:The Sprintronic - Clock with Laser Cut Case Cheap Tires for Robot Wheels Cheap Motion Detection Wildlife Camera 
Add instructable to: