piclist 2004\06\03\065628a >
Thread: Pic washing machine project
www.piclist.com/techref/microchip/devices.htm?key=pic
flavicon
face BY : At van Wijk email (remove spam text)



Hello guys,
For the interested (future) experimenters on washing machines
(like myself maybe) it might be good to find out what actions
are involved to get the overall control idea.
Will someone correct and add, to the next  primitive setup: (?)
Greetings, At v.W.

out0    sound beep (alarm)
out1    motor spin direction
out2    motor speed
out3    motor on/off
out4    heater element on/off
out5    water inlet valve on/off
out6    water outlet pump on/off

in0      start button
in1      heater temp sensor
in2      water level sensor
in3      centrifuge yes/no
in4      long/ short wash
in5      watertemp set1
in6      watertemp set2

var1    tflag     ; max temp reached
var2    wflag    ; max waterlevel reached

Start button sensed:
read several selection switches
(or get rs232 info) not used yet

Wash:
gosub rinse
gosub change_water
gosub rinse
gosub centrifuge
end

Rinse:
clear tflag and wflag
gosub startup;  gosub spin
return

Startup:
gosub water-inlet
gosub water-temp
gosub spin-once
if wflag and tflag are set then return
else goto startup

Water-inlet :
 check for max waterlevel
 if max then close watervalve; set wfag
 else open watervalve
return

Water-temp:
if max then switch heater off; set tflag
else switch heater on
return

Spin-once:
for time = 1 cycle
spin right;  wait 1 sec; spin left
return

Spin:   do
spin right during 2 min; wait 10 sec
spin left  during 2 min; wait 10 sec
loop during 30 min
return

Change_water:
switch heater off
close waterinlet
start pump for water outlet
until water_is_gone
return

Centrifuge:
gosub change-water
if no wool selected
then centrifuge for x minutes
else return
return


> I had a washing machine that did 6 (six!) quick rinse-spin cycles, ..
> ../  their machine just does the usual not-very-effective rinse.
> How did you find out how to "drive" the machine?
> Did you have documentation on its control system?

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email listservspammitvma.mit.edu with SET PICList DIGEST in the body

<004901c44962$4728dee0$6c64a8c0@At2> 7BIT

See also: www.piclist.com/techref/microchip/devices.htm?key=pic

Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Pic washing machine project

month overview.

new search...