Control a 220VAC Universal AC Motor with Arduino
How to drive an universal AC motor (washing machine) with Arduino and the MST_K07_CL.
Components and supplies
Resistor 4.75k ohm
PC817 optoisolator
Arduino Mega 2560
MST_K07_CL universal AC motor torque control
Resistor 10k ohm
Capacitor 10 µF
Project description
Code
CODE
arduino
To control the motor with the Arduino Mega board (you can also use other cards like the nano version) you need to load the following code using the IDE software. Once the Arduino is connected to the PC and to the isolation board, use the IDE software serial monitors to control the motor using the commands: 1) a = switch the motor on at the speed already preset by the rxx command 2) s = turn off the motor 3) rxx: set the speed value (from 0 to 100) (for example r51 commands an adjustment to 51% of the maximum speed
CODE
arduino
To control the motor with the Arduino Mega board (you can also use other cards like the nano version) you need to load the following code using the IDE software. Once the Arduino is connected to the PC and to the isolation board, use the IDE software serial monitors to control the motor using the commands: 1) a = switch the motor on at the speed already preset by the rxx command 2) s = turn off the motor 3) rxx: set the speed value (from 0 to 100) (for example r51 commands an adjustment to 51% of the maximum speed
Downloadable files
ARDUINO and MST_K07_CL wire connection
see wire connection
ARDUINO and MST_K07_CL wire connection

Comments
Only logged in users can leave comments