Hi all
Needed some helpful advice.
I am working on a Motor Controller to be able to move motors in both directions at a set timing. At first i only needed to move one motor so i used the following controller.
The Controller was very basic and easy to use just needing VE+, GND, and a FW and BW command.
To set the commands
To go in both directions 6 and 8 seconds i used a 555 Timing chip and relays so once i got the timing right i put the output into FW and i also put the output into a LM741 Op Amp on the inverted side and then put the output of the LM741 into BW so i was able to get the Motor controller to drive for the correct timing in both directions, this was simple based on my simple electronics work. Im sure there could have been an easier way, i did try a Inverter (4049) but it was not powerful enough to drive the controller so the LM741 was good for this.
Where the real fun comes in and this is where i would like some help is i need to run 5 controllers one after the other. I know i cant replicate my current circuit as it will still be driving through the Op amp whilst the second triggers (if i have got that right) so im assuming i need to do the 556 system however i have been pointed in the direction of the Arduino product.
I'm looking at the Arduino Mega 2560 unit, Arduino Mega2560 A000067 Board R3 | Rapid Online
these are my questions and apologies if they seem stupid.
- Can i programme the unit to give me 10 analogue outputs i.e. On/Off in the following logic as an example
Arduino Unit Relay Motor Contoller
Output 1 - 6 Seconds On 1 Motor Controller 1 FW Command
Output 2 - 8 Seconds On 2 Motor Controller 1 BW Command
Output 3 - 7 Seconds On 3 Motor Controller 2 FW Command
Output 4 - 5 Seconds On 4 Motor Controller 2 BW Command
Output 5 - 6 Seconds On 5 Motor Controller 3 FW Command
Output 6 - 9 Seconds On 6 Motor Controller 3 BW Command
Output 7 - 3 Seconds On 7 Motor Controller 4 FW Command
Output 8 - 9 Seconds On 8 Motor Controller 4 BW Command
Output 9 - 4 Seconds On 9 Motor Controller 5 FW Command
Output 10- 5 Seconds On 10 Motor Controller 5 BW Command
Each output needs to run before the other and loop for upto 100,000 Cycles i.e. Simultaneously.
If this is do able, i hope it is, what external parts do i need to connect, i have resistors, capacitors, 5V and 20V regualtors etc, L.E.Ds and the relays etc but are there any specific parts the Arduino needs in order to function, connect?
I look forward to your response
Lee