I have one project that I need to run AC 3phase motor 2,2kW in three speeds in different times.
When I start the motor with START push button it should turn with 50Hz for 15sec, after 15sec it should run on 40Hz for 22sec and after that it should run on 30Hz that long until I push STOP button to stop the motor.
When I push STAR button again it should start timer from beginning.
For this project I will use frequency inverter that has three inputs for preset speeds.
My firs idea was to use NE555 timers but now I would like to use Arduino UNO and program somehow timer with three digital outputs to run frequency inverter.
Should it be possible to do that with arduino?
And if it is possible I should add STAR and STOP throo Arduino too.
If you can do it with a 555, you can do it with the Arduino. The basic [u]Blink Example[/u] puts-out a square wave so all you have to do is change the frequency and program two more output pins for the 3 phases. (If you want the Arduino to anything else besides delay all the time, you'll have to use the Blink Without Delay method.)
That's the easy part... The hard part is getting sine waves and controlling 2.2KW...
Frequency inverter has 3 digital inputs and this inputs you can program directly on inverter very easy. I just need to give 24Vdc on this inputs (I3D-I5D) so I thought to use arduino to give that three digital signals ON and OFF to inverter in programed time...
I can use output D2, D4 and D7 to go high and triger the inverter throo relays.
I dont know how to put sequence code in a function
The program that I wrote is working for now only I need to add START button to run the program, because now I have to push reset button on Arduino to run program from beginning.
Is it possible to run my code with external button throo input 2 on arduino?