My language is Portuguese so sorry for any errors in the text
I recently read a topic here on the same subject but it was closed and I didn't see if there was a solution.
n short, I have this same ice machine and it also has problems with the control board processor...
the machine itself physically has inputs and outputs that are
1 high limit switch ice tray
2 low limit switch ice tray
3 water level sensor
4 water flow sensor
5 push botto to reset
6 PUSh buttom to select ice cube
I can also use a bin sensor full of ice that will be unfastened at the moment.
and the outputs are 4, being them
1 up/down ice tray motor
2 water pump
3 compressor
4 heating solenoid
and the machine routine in my logic should be
1 boot.
2 move ice tray to ensure unblocking
3 move the ice tray to the high position
4 check if there is a level off water
5 open the option to select cube size (the machine does this for the time that will be used later)
6 fill ice tray (the machine needs 5 seconds to do this, but it doesn't matter if it overflows as the water returns to the reservoir)
7 turn on the compressor (only turn it off if there are faults)
then we have the beginning of the LOOP
8 Leave the selected time there at the beginning to run.
9 lower the ice tray
10 turn on the solenoid for 5 seconds so that the cubes fall
11 raise the ice tray again
12 Fill the ice tray again for 10 seconds
return to loop in step 8
This whole routine would only stop in 3 situations
a) lack of water
b) lack of flow during filling
c) error in ice tray movement
But not everything is perfect....
The motor that drives the tray is an AC motor, like a microwave turntable. cc/ccw
and for it to "reverse the rotation" without electronic control... my life is difficult
I know that if I turn it on and off, the forward direction is due to the Hertz issue.
Then you turn it on and off and it may invert the speeds, it takes up to 3 pulses for it to work
But I also know that if the ice tray is in one position and the engine is turned on, the contact that is closed should open, so I thought of the following logic
It turns on the motor if the contact is open, it pulses the motor until the contact opens, then it only turns off the motor when the target contact is closed.... this is beautiful and wonderful....
but I'm a zero at programming
vamos trabalhar, por que o chatgpt nao conseguiu me ajudar em 3 dias programando juntos



