Automation of Washing Machine Using Arduino

35,153

72

33

Introduction: Automation of Washing Machine Using Arduino

We are having a semi automatic washing machine. Timer switch and drain switch are spoiled. I tried to replace them but it costs more money. We stopped using it. Then I thought to remove the manual switches and make it automatic. Then I tried this using arduino and worked well with lesser cost. I presented this to my grand mother. In their house there is no over head water tank system. So I didn't try for automatic water filling. We have to fill water manually.

Step 1: Parts Needed

  • Arduino UNO
  • 2 channel relay board
  • 12v 1amp step down transformer
  • 5v regulator IC
  • L293D motor driver board
  • 60 rpm geared motor
  • PCB clad
  • common anode 7 segment display
  • 2* Tactile switches
  • Threaded rod with nut
  • Wires
  • 2* push to ON switches
  • 5v active buzzer
  • 2* 10k resistors

Step 2: Code

Initially it checks for drain closed or not. If it is open drain will be closed automatically, if not all the filled water will be drained. After the drain is closed program runs. There are three timer settings i.e.,3/6/9 mins. After completing washing drain opens and after few mins drain closes and it beeps indicating that the washing is completed. During drain open display blinks until drain is closed.

Step 3: Control Pannel

make the control panel using 2 tactile switches as shown in the pictures. Diptrace PCB layout is attached. For smooth functioning of tactile switches I used styrofoam, It acts as waterproof.

Step 4: Drain System

In semi automatic washing machines the drain knob is connected to the drain switch with a nylon thread. When we operate the drain switch, it pulls the drain switch and lets the water drain. I replaced the manual switch using geared motor along with threaded rod. I inserted nut into a wooden block, and fixed the threaded rod to motor so that it pulls the drain switch with nylon thread as shown in the picture. I used two push to ON switches to control the range of geared motor movement to a certain distance. Otherwise it may pull off and break the switch or may not open fully to let the water drain. This is the major setup to take care.

Step 5: Washing Motor Control and Wiring

Washing motor contains 3 wires. In my washing machine one is directly connected to phase. Remaining two for CW and CCW motion. I connected through relay board as shown in the picture. Neutral is connected to relay board as shown in the picture. When relay 1 is ON motor rotates CW. When both relays are ON motor rotates CCW.

Step 6: Fitting

Fit all the components as shown in the pictures.

Step 7: Schematics and Wiring

L293D motor driver:

  • 5v to EN A pin.
  • A1 to pin 4 of arduino, A2 to pin 5.
  • Supply 12v to board.
  • Geared motor red wire to MA1, black to MA2.

Control board:

Connect mode switch to arduino pin 3, start switch to pin2 and power the board with 5v.

Buzzer:

Connect +ve to pin 6 of arduino and -ve to ground.

7-Segment display:

Connect anode to +5v and remaining to arduino pins from 12-19.

Step 8: Testing

Step 9: Washing Clothes After Assembling

Arduino All The Things! Contest

Participated in the
Arduino All The Things! Contest

2 People Made This Project!

Recommendations

  • Make it Glow Contest

    Make it Glow Contest
  • First Time Author Contest

    First Time Author Contest
  • PCB Challenge

    PCB Challenge

33 Discussions

0
wontes2320
wontes2320

Question 3 months ago

Hi Sandilya Thanks! your project helped me to repair mine also. everything working perfectly. but i got one problem i don't know what the cause which is the buzzer couldn't sound. as the schematic diagram i connect with GND and PIN 6 of my Arduino. could you please inform me what the problem is.. another thing which is i made mine motor driver board instead of using a new one.. on your sketch i change some references to increase washing time and rest moment for different types of closes. i really appreciate your potential.

0
sandilya.anisetty
sandilya.anisetty

Answer 2 months ago

I am happy to hear that my project helped you. Have you checked the buzzer working without connecting to the circuit? You need to use 5v active buzzer. Please check polarity of the buzzer before connecting. Connect positive side of the buzzer to digital pin 6.

1
TheKitMurkit.
TheKitMurkit.

4 years ago

Great work! But how do you control the rotation speed of motor? It will be bad for the machine if motor goes at full speed in all situations.

0
Rudy mar
Rudy mar

Reply 9 months ago

I cant open the files what format pls rply anyone

0
VishnuM29
VishnuM29

Reply 2 years ago

use triacs such as bt136 or similar

0
sandilya.anisetty
sandilya.anisetty

Reply 4 years ago

Thank you... Speed controller is not provided by the manufacturer in my machine. Speed of the motor is constant.

0
lathapondy24
lathapondy24

Question 10 months ago on Step 2

shall i set the timer as 30, 60,90,150 mins?

0
Krishnap94
Krishnap94

Tip 2 years ago on Step 7

what is mean by pin no 14,15,16,17,18,19 pls help to locate this pins in arduino

0
VishnuM29
VishnuM29

Reply 2 years ago

these are A0-A5

0
JULIO CESARA12
JULIO CESARA12

2 years ago on Step 3

amaizing proyect, just one problem I couldn´t figure out the wires on the mode & time pcb, could somebody help please, thank you to all of you

0
mukhtyarbasha
mukhtyarbasha

Question 2 years ago on Introduction

in washing.into code what the mean of

i [5]={15,29,44,58,73}

0
iceng
iceng

Answer 2 years ago

i is a preloaded 5 num character array, with 15,29,44,58,73...

0
ainul yaqin
ainul yaqin

3 years ago

dear sandilya.anisetty

can you send the schematic wiring to my email sabirun327111@gmail.com ?because i was tried 5 times to build this machine but i found some problem in wiring.. i thing your project is great solution for my old 2 tube washing machine. thank you very much

0
ainul yaqin
ainul yaqin

Reply 3 years ago

Now this instructables completed with the schematic.. thank you so much dear Sandilya Anisetty.. so i try again to build this machine and succes.. in button wiring i found some problem but solved.. i connect 10K between ground and pin 2 and 3 then shorting temporary 5V to pin 2 for start or pin 3 to choice timer.. all be right.. after time enough motor rotating releasing and pushing between 2 saclar and buzer cry.. then push resset ready to washing again hahaha

0
sandilya.anisetty
sandilya.anisetty

Reply 3 years ago

It's good to hear that you have succeeded.

0
ainul yaqin
ainul yaqin

Reply 3 years ago

Thank you very very much

0
FajrulF1
FajrulF1

3 years ago

Hi sandilya Please can you give me the schematic of this timer and what if i just want the code for timer washing only not the drainer can you give it to me please. You can send an email to me to fajrul.faf@gmail.com. Thank alot for your kindness.

0
sandilya.anisetty
sandilya.anisetty

Reply 3 years ago

Are you asking for control panel schematics. If you don't want the drainer, just remove drain(), drain2() methods, method calls, S1, S2, M1, M2 from the code.

0
youtuberlfc
youtuberlfc

3 years ago

I have a LG w8071ttp top loader and i was thinking to make it controllable by wifi but washing machine circuitry is not my thing. So..where do I start? How do I know which wires control washing, drying, spinning, draining, rinsing, water level...? Can adding the arduino controller to a universal washer control board, the sxy2200, work? The arduino should take over the controls...