Your Laundry Is Done!

Have you ever put a load of dirty clothing in the washing machine and set the cycle running, only to forget all about it and discover a mouldering congealed mass in the machine a few days later? [Xose Pérez] has more than once, and to stop it happening again he’s got a project that monitors the machine in his basement and notifies him when his wash is done.

At the centre of his washing machine monitor is an ITead Sonoff IoT mains on-off switch. This device contains a 10A mains relay, an ESP8266 chip to control it, and a small mains switch-mode power supply. The Sonoff doesn’t use the ESP’s ADC pins, so he’s broken one of them out on a lead to a current transformer which captures the power level being consumed by the washing machine. The Sonoff is one of those IoT devices that relies on a proprietary cloud service and doesn’t have its own API, so [Xose] has created his own firmware for it incorporating an ESP port of an Arduino current sensing library. To round off the project and because he could, he’s added an ambient humidity sensor to the device.

The resulting boxed-up unit returns minute-by-minute current readings for the entire wash cycle. To spot when the cycle has finished, he waits for a moment when it has been using no power for more than five minutes, at which point his Node-RED system sends him a notification via Pushover.

This project is a very neatly executed hack on an extremely cheap piece of hardware whose capabilities would ordinarily be somewhat curtailed due to its proprietary interface. Surprisingly it’s not the first laundry monitor we’ve seen here at Hackaday, we’ve had this apartment laundry monitor using an accelerometer and a Raspberry Pi, and a notifier for a finicky dryer that insisted on stopping mid-cycle.

Death, Taxes, and Laundry

There’s an old saying that the only two things that are certain are death and taxes. However, unless you live in a nudist colony, there’s probably also laundry. [Darpan Bajaj] and some friends were at a hackathon and decided to put their washing machine on the Internet.

Most of us here at Hackaday — and many Hackaday readers, judging by the comments — are a little suspicious about how much we really need everything attached to the Internet. However, a washing machine is probably not a bad idea: you use it often, you need to know when it is done, and you probably don’t want to just sit and watch it spin. Besides, the intended installation is in a hostel where there are multiple machines and many potential users.

Continue reading “Death, Taxes, and Laundry”

Hacklet 102 – Laundry Projects

Ah laundry day. The washing machine, the dryer, the ironing, and the folding. No one is a fan of doing laundry, but we (I hope) are all fans of having clean clothing. Hackers, makers, and engineers are always looking for ways to make a tedious task a bit easier, and laundry definitely is one of those tedious tasks. This week we’re checking out some of the best laundry projects on!

laundrifyWe start with [Professor Fartsparkles] and Laundrify. Anyone who’s shared a washer and dryer with house or apartment mates will tell you how frustrating it can be. You bring your dirty laundry downstairs only to find the machines are in use. Wait too long, and someone has jumped in front of you. Laundrify fixes all that. Using a current sensor, Laundrify can tell if a machine is running. An ESP8266 monitors the current sensor and sends data up to the cloud – or in this case a Raspberry Pi. Users access this laundry as a service system by opening up a webpage on the Pi. The page includes icons showing the current status of each machine. If everything is in use, the users can join a queue to be notified when a machine is free.


borgmachineNext up is [Jose Ignacio Romero] with Borg Washing Machine. [Jose] came upon a washer that mechanically was perfect. Electrically was a different story. The biggest issue was the failing mechanical timer, which kept leaving him with soapy wet clothing. Washing machine timers boil down to mechanically timed multipole switches. They’re also expensive to replace. [Jose] did something better – he built an electronic controller to revitalize his washer. The processor is a PIC16F887. Most of the mains level switching is handled by relays. [Jose] programmed the new system using LDmicro, which is a ladder logic implementation for microcontrollers. For the uninitiated, ladder logic is a programming language often used on industrial Programmable Logic Controller (PLC) systems. The newly dubbed borg machine is now up and running better than ever.



Next we have [Michiel Spithoven] with Hot fill washing machine. In North America, most washing machines connect to hot and cold water supplies. Hot water comes from the home’s water heater. This isn’t the case in The Netherlands, where machines are designed to use electricity to heat cold water. [Michiel] knew his home’s water heater was more efficient than the electric heater built into his machine. [Michiel]  hacked his machine green by building an automated mixing manifold using two solenoid valves and a bit of copper pipe. The valves are controlled by a PIC microprocessor which monitors the temperature of the water entering the machine. The PIC modulates the valves to keep the water at just the right temperature for [Michiel’s] selected cycle. [Michiel] has been tracking the efficiency of the new system, and already has saved him €97!


laundrespFinally we have [Mark Kuhlmann] with LaundrEsp. [Mark’s] washing machine has a nasty habit of going off-balance and shutting down. This leaves him with soggy clothing and lost time re-running the load. [Mark] wanted to fix the problem without directly modifying his machine, so he came up with LaundrEsp. When the machine is running normally, a “door locked” light is illuminated on the control panel. As soon as the washer shuts down – due to a normal cycle ending or a fault, the door unlocks and the light goes out. [Mark] taped a CdS light detecting resistor over the light and connected it to an ESP8266. A bit of programming with, and [Mark’s] machine now let’s him know when it needs attention.

If you want to see more laundry projects check out our brand new laundry project list! If I missed your project, don’t take me to the cleaners! Drop me a message on, and I’ll have your project washed, folded, and added to the list in a jiffy. That’s it for this week’s Hacklet. As always, see you next week. Same hack time, same hack channel, bringing you the best of!

One Man’s Quest To Spend Less TIme In The Basement

[Lars] has a second floor apartment, and the washing machines and clothes dryers are in the basement. This means [Lars] has spent too much time walking down to the basement to collect his laundry, only to find out there is 15 minutes left in on the cycle. There are a few solutions to this: leave your load in the washer like an inconsiderate animal, buy a new, fancy washer and dryer with proprietary Internet of Things™ software, or hack together a washer and dryer monitoring solution. We all know what option [Lars] chose.

Connecting a Pi to the Internet and serving up a few bits of data is a solved problem. The hard part is deciding which bits to serve. Washers and dryers all have a few things in common: they both use power, they both move and shake, they make noise, and their interfaces change during the wash cycle. [Lars] wanted a device that could be used with washers and dryers, and could be used with other machines in the future. He first experimented with a microphone, capturing the low rumble of a washer sloshing about and a dryer tumbling a load of laundry. It turns out an accelerometer works just as well, and with a sensor securely fastened to a washer or dryer, [Lars] can get a pretty good idea if it’s running or not.

With a reliable way to tell if a washer or dryer is still running, [Lars] only had to put this information on his smartphone. He ended up using PushBullet, and quickly had an app on his phone that told him if his laundry was done.


The Raspberry Pi Zero contest is presented by Hackaday and Adafruit. Prizes include Raspberry Pi Zeros from Adafruit and gift cards to The Hackaday Store!
See All the Entries || Enter Your Project Now!

New Brain for an Old Washing Machine

When the washing machine at [hydronucleus]’s place went on the fritz, he went straight to the toolbox to try to repair it. The problem was with the old mechanical control unit, so [hydronucleus] got an Arduino out of the parts bin to create a brand new electronic controller for his washing machine. (Imgur Link)

drumThe old mechanical controller functioned like a player piano. A rotating drum with ridges actuate different cycles in the washing machine. Some of the cycles weren’t working properly so [hydronucleus] ripped them out. With the help of a schematic posted on the washing machine itself, the cycles were able to be programmed into the Arduino.

The other obstacle in this repair was getting enough relays together to switch everything in the washing machine. This was solved with a Sainsmart 16 relay block, which has more than enough relays for the job. [hydronucleus] wired up an LCD and a pushbutton to control it and his washing machine is as good as new! The cost of the repair certainly beats a new machine, too. Although if it finally gives up the ghost completely, he could always turn it into a windmill.

Want to read more about [hydronucleus]’s washing machine hack? Check out his Reddit thread!

Hydropower from a Washing Mashine

Living off the grid is an appealing goal for many in the hacker community, perhaps because it can fulfill the need to create, to establish independence, to prepare for the apocalypse, or some combination of all those things. [Buddhanz1] has been living off the grid for awhile now by harnessing power from a nearby stream with an old washing-machine-turned-generator.

He started with a Fisher & Paykel smart drive, which he stripped down to the middle housing, retaining the plastic tub, the stator, the rotor, the shaft, and the bearings. After a quick spot check to ensure the relative quality of the stator and the rotor, [Buddhanz1] removed the stator and rewired it. Unchanged, the stator would output 0-400V unloaded at 3-4 amps max, which isn’t a particularly useful range for charging batteries. By rewiring the stator (demonstration video here) he lowered the voltage while increasing the current.

The key to this build is the inclusion of a pelton wheel—which we’ve seen before in a similar build. [Buddhanz1] channeled the water flow directly into the pelton wheel to spin the shaft inside the tub. After adding some silicon sealant and an access/repair hatch, [Buddhanz1] painted the outside to protect the assembly from the sun, and fitted a DC rectifier that converts the electricity for the batteries. With the water pressure at about 45psi, the generator is capable of ~29V/21A: just over 600W. With a larger water jet, the rig can reach 900W. Stick around for the video after the break.

Continue reading “Hydropower from a Washing Mashine”

Now You’re Washing with Gas

[Michiel] likes to wash his clothes in warm water. Like a lot of machines, his draws from the cold water line and  heats it electrically. Gas is much cheaper than electricity in the Netherlands, so he wanted to be able to heat the water with gas instead. Hot-fill machines already exist, but few models are available and they’re all too expensive.  [Michiel] rolled up his sleeves and hacked his brand new washer into a hot-fill machine.

He started out thinking that he’d just connect the hot water line instead, but that proved to be too hot. He found out it needs to be about 35°C (95°F), so he decided to mix input from the hot and cold lines. Since it’s a shiny new machine, [Michiel] wanted an externally mounted system to keep from voiding  the warranty. He got two solenoid valves from the electronic bay and used a PIC16F to make them dance. He wired up a light switch on a two-panel face and used the blank plate for power and status LEDs.

[Michiel]’s design works like a charm. The machine used to draw 2000W to heat the water, and peak usage now is as low as 200W. He noticed that the washer drew a lot of power in standby mode so he added a solid state relay and a bit more code. Now the electricity to the machine is cut after two hours and [Michiel] saves about €97 per year.