Fight Mold and Mildew with an IoT Bathroom Fan

Delicious sheets of wallboard coated with yummy latex paints, all kept warm and moist by a daily deluge of showers and habitually forgetting to turn on the bathroom exhaust fan. You want mildew? Because that’s how you get mildew.

Fed up with the fuzzy little black spots on the ceiling, [Innovative Tom] decided to make bathroom ventilation a bit easier with this humidity-sensing IoT control for his bathroom exhaust fan. Truthfully, his build accomplishes little more than a $15 timer switch for the fan would, with one critical difference — it turns the fan on automatically when the DHT11 sensor tells the WeMos board that the relative humidity has gone over 60%. A relay shield kicks the fan on until the humidity falls below a set point. A Blynk app lets him monitor conditions in the bathroom and override the automatic fan, which is handy for when you need it for white noise generation more than exhaust. The best part of the project is the ample documentation and complete BOM in the description of the video below, making this an excellent beginner’s project.

No bathroom fan? Not a problem — this standalone humidity-sensing fan can help. Or perhaps you have other bathroom ventilation needs that this methane-sensing fan could help with?

Continue reading “Fight Mold and Mildew with an IoT Bathroom Fan”

Animated Bathroom Sign

Once upon a time, pants were created. After a while, women were allowed to wear them too. This has made a lot of people happy and been widely regarded as a good thing. There is a problem, however – bathroom signage is largely predicated on the idea that there are two rigid genders which all humans must be sorted into, and they’re defined by whether you’re wearing pants or a dress. [Robb Godshaw], among others, disagrees with this, and set about building a gender fluid bathroom sign.

The sign assembled on the motor.

The project seeks to exploit the traditional symbols of “male” and “female” – the human figures wearing pants or a dress – by creating a sign that switches between the two every 15 seconds. This is likely to initially confuse – one might imagine the bathroom is actually changing its gender designation rapidly, forcing users to complete their business in an incredibly short timeframe. However, the message behind the project is to highlight the absurdity of defining gender by pants, colours, or indeed in a binary nature at all. [Robb] also helpfully points out that all humans have to pass waste, regardless of gender.

The sign is built with 3D-printed components, using a crank mechanism to actuate the moving parts. The mechanism is designed to give equal time to the pants and dress configurations. [Robb] shares the important details necessary to replicate the build, such as how to assemble the metal crank pin insert with a paperclip and a lighter. It’s particularly tidy the way the mechanism is integrated into the parts themselves. In true hacker style, the motor is a standard microwave oven turntable motor, which can be harvested easily from a junk appliance and can be plugged straight into mains power to operate, if you know what you’re doing. If you don’t, check out our primer on the topic.

Overall, the project is a great use of hacker techniques, like 3D printing and harvesting parts, to make a statement and start a conversation, while being fun, to boot. We’ve also seen some of [Robb]’s work before, like this giant hamster wheel for people. Video after the break.

Continue reading “Animated Bathroom Sign”

Bathroom Status Reporting Hack Eliminates Lines, Frustration

In a lot of ways, portable toilets are superior to standard indoor-plumbing-style toilets. This is mostly due to the fact that they have a status indicator on the door. It’s a shame that no indoor bathrooms have figured this out yet, especially in office buildings where your awkward coworkers bang on every door rather than just check for feet in the huge gap that for some reason exists between the floor and the stall door. Anyway, [Chris] and [Daniel] came up with a solution for this issue, which also eliminates wait time for bathrooms in their office.

Their system is an automated bathroom status indicator that reports information about the bathroom’s use over WiFi. Since the bathrooms at their facility are spread out, it was helpful to be able to look up which bathroom would be free at any given moment. Several Raspberry Pis form the nerves of the project. Custom sensors were attached to a variety of different door locks to detect status. Each Pi reports back over WiFi. This accomplishes their goal of being subtle and simple. They also point out that they had to write very little code for this project since there are so many Unix and embedded hardware tools available to them. Checking the status of the bathroom can be as simple as running netcat.

If you’re looking to roll out your own bathroom status monitor solution, [Chris] and [Daniel] have made their code available on GitHub. There are a number of other ways to automate your bathroom, too, like switching the exhaust fan on when it gets too smelly or humid, or even creating a device that dispenses your toilet paper for you.

 

Reverse Engineering a Bathroom Scale for Automated Weight Tracking

[Darell] recently purchased a fancy new bathroom scale. Unlike an average bathroom scale, this one came with a wireless digital display. The user stands on the scale and the base unit transmits the weight measurement to the display using infrared signals. The idea is that you can place the display in front of your face instead of having to look down at your feet. [Darell] realized that his experience with infrared communication would likely enable him to hack this bathroom scale to automatically track his weight to a spreadsheet stored online.

[Darell] started by hooking up a 38khz infrared receiver unit to a logic analyzer. Then he recorded the one-way communication from the scale to the display. His experience told him that the scale was likely using pulse distance coding to encode the data. The scale would start each bit with a 500ms pulse. Then it would follow-up with either another 500ms pulse, or a 1000ms pulse. Each combination represented either a 1 or a 0. The problem was, [Darell] didn’t know which was which. He also wasn’t sure in which order the bits were being transmitted. He modified a software plugin for his logic analyzer to display 1’s and 0’s on top of the waveform. He then made several configurable options so he could try the various representations of the data.

Next it was time to generate some known data. He put increasing amounts of weight on the scale and recorded the resulting data along with the actual reading on the display. Then he tried various combinations of display settings until he got what appeared to be hexadecimal numbers increasing in size. Then by comparing values, he was able to determine what each of the five bytes represented. He was even able to reconstruct the checksum function used to generate the checksum byte.

Finally, [Darell] used a Raspberry Pi to hook the scale up to the cloud. He wrote a Python script to monitor an infrared receiver for the appropriate data. The script also verifies the checksum to ensure the data is not corrupted. [Darell] added a small LED light to indicate when the reading has been saved to the Google Docs spreadsheet, so he can be sure his weight is being recorded properly.

Wireless toilet occupancy sensor

toilet-occupancy-sensor

It’s a bit awkward for all parties involved if someone is waiting right outside the bathroom door. This system helps to alleviate that issue by letting the next user know when the loo is available. [Akiba] has been working with the folks at Loftworks, a design company in Tokyo, to get the status beacons seen above up and running.

The staff is mostly women and there is just one single stall women’s toilet on each of the three floors. The boxes above represent the three stalls, using colored light to indicate if a bathroom is available or in use. Detection is based on a PIR motion sensor in each stall. They communicate back with the display units wirelessly, which initially presented quite a problem. The doors on the bathroom are steel, and when closed they effectively block communications. The 900 MHz radios used in the system are on the 802.15.4 protocol. But they can be set a couple of different ways by moving resistors. Each came configured for the fasted data throughput, but that’s not really necessary. By changing to a slower configuration [Akiba] was able to fix the communications problems.

We remember seeing a similar bathroom indicator in a links post some time ago.

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.

Continue reading “Bathroom fan that switches itself on when it gets steamy or smelly”

Connecting a dumb scale to your smartphone

[Casainho] wanted to track his body weight using an app on his Android phone. He just needed a way to get the weight readings onto the device automatically. He ended up adding Bluetooth to a bathroom scale and hacking the app to grab data from it.

The scale which he hacked is a digital model, which makes it possible to read the weight data if you know what you’re doing. [Casainho] already completed a weight logging scale hack which stored the data on an SD card. So this was a recreation of that project but with a Bluetooth module for the output rather than the card for storage.

Now you can buy WiFi enabled scales, but that’s not nearly as fun as a hack like this. Plus one of those will cost you around $200 and the hardware for this version came it at only $75. It includes an LPC2103 dev board, $6 Bluetooth module, character display, batteries, and misc. supplies. The software end of the hack was helped greatly by the fact that the Android apps which [Casainho] is using are both open source.