Thread Number: 37816
Henry's Project
[Down to Last]

automaticwasher.org's exclusive eBay Watch:
scroll >>> for more items --- [As an eBay Partner, eBay may compensate automaticwasher.org if you make a purchase using any link to eBay on this page]
Post# 562322   12/10/2011 at 01:34 (4,492 days old) by henrypeter21 ()        

I am currently writing 4 different programs for my own machine -

1. White Cotton 90c
2. Colourfast Cotton 60c
3. Non Colourfast Cotton 40c
4. Rinse And Fast Spin

I hope to be able to Slip in a wool program in the end, but i want to keep it simple to start with, rather then run before i walk. When i have finished writing the programs, i will be reading alot of books to learn how to write my programs to a chip. I think i have learnt most of the commands, but does anyone know the commands for Drain, Check Thermostat, Distribute, And Fast Spin (1000RPM)?





Post# 562324 , Reply# 1   12/10/2011 at 01:38 (4,492 days old) by henrypeter21 ()        
Henry's Project

An Example of The Code:

;========================================================================================
;PROGRAM STARTS NOW
;========================================================================================

SW0 BTFSS PORTA,1 ;SELECTS WHITE COTTON 90C
GOTO WASH90

SW1 BTFSS PORTA,2 ;SELECTS COLOUFAST COTTON 60C
GOTO WASH60

SW2 BTFSS PORTA,3 ;SELECTS NON COLOURFAST COTTON 40C
GOTO WASH40

SW3 BTFSS PORTA,4 ;SELECTS SELECTS RINSE AND SPIN 1000RPM
GOTO H
GOTO SW0 ;RECHECK SWITCHES UNTIL ONE IS PRESSED.

;========================================================================================
;WHITE COTTON 90c (12 SECOND WASH WITH 6 SECOND WAIT)
;========================================================================================

WASH90 BSF PORTB,0 ;SWITCH ON DOOR INTERLOCK.
BSF PORTC, 7 ;SWITCH ON HOT WATER VALVE
BTFSS PORTC,0 ;CHECK PRESSURE SWITCH
GOTO WASH90 ;REPEAT ABOVE UNTILL WATER REACHES FULL LEVEL.

BCF PORC,7 ;SWITCH OFF HOT WATER VALVE

CLRF COUNT
MOVLW .6 ;SWT COUNTER TO 3
MOVWF COUNT

BSF PORTB,5 ;SPEED SET TO NORMAL WASH

A BSF PORTB,2 ;WASH ACTION CLOCKWISE
CALL DELAY12

BCF PORTB,2 ;STOP WASH ACTION

CALL DELAY2
BSF PORTB,3 ;SWITCH ON CHANGE OVER RELAY
CALL DELAY3

BSF PORTB,2 ;WASH ACTION ANTI CLOCKWISE
CALL DELAY12

BCF PORTB,2 ;STOP WASH ACTION

CALL DELAY3
BCF PORTB,3 ;SWITCH OFF CHANGE OVER RELAY
CALL DELAY3

BTFSS PORTC,0 ;CHECK PRESSURE SWITCH
GOTO WASH90 ;WATER LEVEL LOW RESTART

DECFSZ COUNT
GOTO A ;REPEAT ABOVE FOR 3 CYCLES 6 WASH ACTIONS


Post# 562325 , Reply# 2   12/10/2011 at 01:43 (4,492 days old) by henrypeter21 ()        
Henry's Project

And being a cheeky git, Does anyone know the command for the cold water valve too? It has taken me over a month to get this far, i first hit on the idea of this after reading a post named "Lees Project". This is when i hit on the idea of makig my own controller, as i am very interested in how they run. I also love the earlier hotpoints (WM64 That is!)

CLICK HERE TO GO TO henrypeter21's LINK


Post# 562330 , Reply# 3   12/10/2011 at 03:28 (4,492 days old) by qualin (Canada)        

Hi Henry, I've never seen code quite like this before but I'll be the first to say that the Goto statements made me cringe, coming from the school of structured programming. Not your fault, it's just in a different language. :) I'd probably write your script in C if I knew how I could write the code to get it to interface with your controller.

I'd love to draw out a flowchart for your programs, but I'm not too familiar with how different European style wash programs work, only knowing North American style ones.


Post# 563417 , Reply# 4   12/15/2011 at 14:05 (4,486 days old) by henrypeter21 ()        
Designing the front fascer...

I have began to design the front fascer for my machine, and i am hoping something like this will be my first product.

Programs:

White Cotton 90C
Colurfast Cotton 60C
Non Colourfast Cotton 40C
Woollens and Synthetics 30C
Rinse and Fast Spin 1000RPM


Post# 563479 , Reply# 5   12/16/2011 at 00:00 (4,486 days old) by qualin (Canada)        
IMHO

In my opinion, that's a good place to start, but it needs more indicators.
ie. Sensing / Wash / Rinse / Final Spin .. The more, the better!

IMHO, I'm a bit more of a "1000 options" kind of person. I find programmed washers to be way too limiting.

I would have a bunch of state dials.

You first dial could be labelled "Cycle Type". Settings would be "Normal", which would be a 20 min wash and normal agitation and "Delicates" which would be an 8 min wash and short stroke agitation. You would also add the Rinse & Spin and Spin Only Cycles to this dial.

Next dial would be the wash temperature dial. Settings would be "Very Hot" (90C), "Hot" (60C), "Very Warm" (40C), "Warm/Delicates" (30C), "Cool", (20 C) and "Cold" (10 C).

Very Hot - Tap Hot plus heater engaged during wash cycle.
Hot - Tap Hot only
Very Warm - 50 percent Tap Cold and Tap Hot combined
Warm/Delicates - Tap Cold and Tap Hot combined
Cool - Tap Cold and 50 percent Tap Hot combined
Cold - Tap Cold only

All rinses would be "Cold", (10 C) (Tap cold) since you didn't specify a perm. press cycle.

Next dial would be spin speeds. Settings would be "Normal" (1000 RPM), "Delicates" (600 RPM) "Woolens" (400 RPM) and "No Spin".

I would also add "Extra Rinse" and "Extended Spin" switches.

Just a thought!


Post# 563546 , Reply# 6   12/16/2011 at 11:05 (4,485 days old) by Hunter (Colorado)        
An LED indicator for internal heater usage

An LED indicator showing when the water heater is on or not would also be great.

Are you assuming cold fill only or cold and hot fill? (What is the standard in UK ? Is it still cold fill only?)



Post# 563547 , Reply# 7   12/16/2011 at 11:23 (4,485 days old) by HotpointFan (United Kingdom)        
Qualin

hotpointfan's profile picture
"You first dial could be labelled "Cycle Type". Settings would be "Normal", which would be a 20 min wash and normal agitation and "Delicates" which would be an 8 min wash and short stroke agitation. You would also add the Rinse & Spin and Spin Only Cycles to this dial. "

This is always just about on every European machine, and the same for the temperature/spin etc.

Hunter: Generally in the UK all new machines are cold fill only.

Nice idea Henry! Will this be for the Zanussi?

Jacob


Post# 563548 , Reply# 8   12/16/2011 at 11:42 (4,485 days old) by Hunter (Colorado)        
Thanks

I thought so but wasn't sure.

My new Asko, which I have not yet installed, is referred to as an "Eco" machine because, while you can do it as cold fill only, if you have solar hot water, etc. you can also use hot fill too. In any case the internal heater will bring the water to the correct user selected temperature.


Post# 563649 , Reply# 9   12/17/2011 at 00:44 (4,485 days old) by qualin (Canada)        
Ecowhatever

I'll admit, Anything starting with "Eco" in the word bothers me.

"Ecofill", "Ecobubble", "Ecorinse", "Ecowash", etc

I prefer the US Style of having a small asterisk beside whatever is "Eco" and then a notation that says "Energy Saver"

I suppose if you wanted to, you could have a * beside all of the Cold/Cool/Warm settings just to be a bit more marketing friendly. :)



Post# 563680 , Reply# 10   12/17/2011 at 09:21 (4,484 days old) by henrypeter21 ()        
Update

I have found a blank breadboard prototype board and have started working on the voltage regulator as a safety device for the mains and the live electricity flowing through the machine, at the moment i am using a variable voltage regulator. More to come when i have found a suitable scrap machine to use for my project. I wold like to find a hotpoint wm63!

I am currently Deciding on what programs to have on my machine, thankyou for all of your suggestions for this, i am also thinking about having a Spin speed Selector, but as i am trying to keep it simple, i will go with the simple programs to start with, and gradually build up on skills and add a spin speed selecter. I will upload a photo of the breadbord soon.


Post# 563794 , Reply# 11   12/17/2011 at 21:18 (4,484 days old) by Hunter (Colorado)        
On the Eco I agree...

OTOH they quite clearly say, that it is an energy saver when using solar powered hot water or some other fuel-free way of making the heat.

Post# 563808 , Reply# 12   12/17/2011 at 22:11 (4,484 days old) by supremewhirlpol ()        

In general I HATE C! I'd probably do the programming in C++ or Assembly.

Post# 563858 , Reply# 13   12/18/2011 at 07:41 (4,483 days old) by henrypeter21 ()        
Help Needed!

Does anyone know where i can get an analogue tacho motor by any chance? Any suggestions will be greatly Appreciated. Thankyou.

Post# 563865 , Reply# 14   12/18/2011 at 09:06 (4,483 days old) by supremewhirlpol ()        

Why just a tacho? What are you trying to do?

Post# 565266 , Reply# 15   12/26/2011 at 10:09 (4,475 days old) by henrypeter21 ()        
Update

Supremewhirlpol I am using a hotpoint speed module from the early 80s and a digital tacho will not work with the early 80s speed modules. Hopefully i will be recreating the earlier hotpoint sound from those machines with the big boom on spin.

I have made a diagram on a 12 volt Regulator to supply the power for the machine components i.e Motor, Drain pump etc... So hopefully i will start soldering the components onto the breadboard prototype soon.


Post# 565267 , Reply# 16   12/26/2011 at 10:15 (4,475 days old) by henrypeter21 ()        
Photo

Photo of the software i am using (MPLAB IDE V8.5) to compile my programs and a small sample of the code...

Post# 566257 , Reply# 17   1/1/2012 at 10:32 (4,469 days old) by henrypeter21 ()        
Question

Does anyone here know the command for drain (Pump Out)? This is all I need to find out and then i have a basic program to be put onto chip. An Example of the code i am using:

A BSF PORTB,2 ;WASH ACTION CLOCKWISE
CALL DELAY12

BCF PORTB,2 ;STOP WASH ACTION

CALL DELAY2
BSF PORTB,3 ;SWITCH ON CHANGE OVER RELAY
CALL DELAY3

BSF PORTB,2 ;WASH ACTION ANTI CLOCKWISE
CALL DELAY12

BCF PORTB,2 ;STOP WASH ACTION

CALL DELAY3
BCF PORTB,3 ;SWITCH OFF CHANGE OVER RELAY
CALL DELAY3

Any Other Help with this will be greatly Apreciated! Thankyou.



Forum Index:       Other Forums:                      



Comes to the Rescue!

The Discuss-o-Mat has stopped, buzzer is sounding!!!
If you would like to reply to this thread please log-in...

Discuss-O-MAT Log-In



New Members
Click Here To Sign Up.



                     


automaticwasher.org home
Discuss-o-Mat Forums
Vintage Brochures, Service and Owners Manuals
Fun Vintage Washer Ephemera
See It Wash!
Video Downloads
Audio Downloads
Picture of the Day
Patent of the Day
Photos of our Collections
The Old Aberdeen Farm
Vintage Service Manuals
Vintage washer/dryer/dishwasher to sell?
Technical/service questions?
Looking for Parts?
Website related questions?
Digital Millennium Copyright Act Policy
Our Privacy Policy