Bathroom fan that switches itself on when it gets steamy or smelly

At first we thought that [Brandon Dunson] was writing in to tell us he’s too lazy to fix his bathroom fan. What he really meant is that simply replacing the unit isn’t nearly enough fun. Instead, he developed his own bathroom fan trigger based on stinky or humid air conditions. He didn’t publish a post about the project but we’ve got his entire gallery of build images after the break.

The initial inspiration for the project came from a twitter-connected fart sensing office chair. Hiding behind the character display you can see the MQ-4 methane gas sensor which he picked up for the project. But since there’s also a shower in the bathroom he included a humidity sensor with the project. Both are monitored by an ATmega328 which averages 10 readings from each sensor before comparing the data with a set threshold. If the sensors read above this level a relay turns on the bathroom fan.

Don’t be confused by the small DC fans seen above; [Brandon] is still using a proper exhaust fan. These are just used to help circulate the air around the sensors so that low-hanging smells will still trigger the system. This has got to be the perfect thing for a heavily used restroom.

29 thoughts on “Bathroom fan that switches itself on when it gets steamy or smelly

  1. I’ve actually wanted to figure out if it’s practical to put a couple very thin intake vents under the hinge end of the toilet seat itself, with a variable speed exhaust fan. Keep it on very slow to pull air into the system and sense methane, and go full speed when it does. Capture things at the source….

    1. So why not just keep the exhaust turned on all the time whilst you are seating on the toilet? — and then just turn off automatically when you stand up. So methane or not, smelly or not. it will vent out the gases.

    1. Actually, people can’t smell methane (which is why they add sulfur-based compounds to natural gas). The smell of flatulence comes from hydrogen sulfide and other odorous items our body produces.

      About the hack, because I don’t have a bathroom fan, I was thinking of making a wood frame, mount some computer fans, and add a timer. When someone leaves the bathroom after a shower or crapping, press 5 or 10 min and the fan will do its job, exhausting out the window like a small window fan. Now I like the idea of using a moisture sensor so I can prevent mold from building up in the shower!

    1. That’s what I’ve been wondering re: above… How *can* you reliably sense, uh, scents? One thought was to simply include a pressure switch under the seat “feet” along with the intake vents – sit down and it triggers. Detecting the actual airborne compounds might be harder than just a methane sensor.

  2. At a backpacker’s hostel I once stayed at in Los Angeles the ensuite exhaust fan came on as soon as you turned on the light, and stayed on for about five minutes after you turned the light off. That seemed to work pretty well.

  3. Only about 1/3 of humans produce methane in their colon. Almost all of us produce hydrogen sulfide. Should use a detector for that instead of methane.

    BTW, only the methane farters can light theirs on fire.

  4. Very nice idea! This inspired me to replace a failing bathroom fan with a computer fan. I’d been looking for and not finding the right size standard 110volt fan. This made me realize I could install a 12 volt adapter and a computer fan instead. It’s not automatic yet, but the humidity sensor and controller are on the way from

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s