qrz.is/content/post/2011-08-05-the-arduino-enabled-washing-machine.md
2021-07-14 01:53:07 +02:00

62 lines
2.1 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: The Laundruino
date: 2011-08-05T09:58:52+00:00
url: /the-arduino-enabled-washing-machine/
categories:
- arduino
tags:
- arduino
---
My washing machine is located in the basement. Unfortunately, the time data displayed on the front panel is always inaccurate. So instead of constantly running down the stairs and checking if the laundry is done, I decided to connect the washing machine to my LAN and extend it’s features by a simple http server. This is what I needed for it:
* 1 [arduino uno][1]
* 1 [ethernet shield][2]
* 1 opto-coupler (CNY17)
* 1 perfboard
* 1 resistor (150 Ohm)
In my case, getting the right signal from the washing machine was simple: It has a „Finished“ LED on the front panel, so all I needed to do, was to solder it out and replace it with a two-core wire.
![image][3]
![image][4]
![image][5]
To connect my washing machine with the arduino, I built a minimal shield with a prefboard and a CNY17. Here’s how everything is put together:
![image][6]
![image][7]
![image][8]
Now I have a LOW signal on pin A2 (digital mode) when the laundry is done and a HIGH signal if the machine is running or turned off. In my case, a loop of 100ms duration is needed every time to watch the signal because I don’t get a steady voltage here (I guess the front panel LEDs might be multiplexed). If  the signal becomes LOW once in this time window, the washing machine has finished and the LED would have turned on.
![image][9]
Screenshots:
![image][10]
![image][11]
You can download the code on github: [https://github.com/exitnode/laundruino ][12]
 
[1]: http://arduino.cc/en/Main/ArduinoBoardUno
[2]: http://arduino.cc/en/Main/ArduinoBoardEthernet
[3]: /img/laundruino1_panel_small.jpg
[4]: /img/laundruino2_cuircuit_board_small.jpg
[5]: /img/laundruino3_washer_small.jpg
[6]: /img/laundruino4_schematics_small.jpg
[7]: /img/laundruino5_shield_small.jpg
[8]: /img/laundruino6_shield_small.jpg
[9]: /img/laundruino7_debug_small.jpg
[10]: /img/laundruino8_screen1.jpg
[11]: /img/laundruino9_screen2.jpg
[12]: https://github.com/exitnode/laundruino