Hi guys, I am current working on a design project that requires me to control 5 dc brush motors (encoders and H-bridges). Will the arduino be capable of processing the 5 encoders and control the 5 motors simultaneously. I want to carry out inverse kinematics calculations and then control the 5 motors. If this wont work please can you guide me using an alternative solution.
Thanks alot guys!
Depends on what else is the chip going to do... if you want to control the motors, interface with the user and send serial data, you may run into problems.
However, the biggest issue I see with the application is the number of encoders... you have 3 or 4 timers in the Mega, and 5 encoders. So one or two of the encoder signals will have to be dealt with using pin interrupts. Depending on the speed, you may interrupt the processor far too many times for it to be able to run the calculations in a timely manner for you to achieve any kind of control.
The other problem I see, is how complex are the calculations and can you perform them using integers (8bit preferably) instead of floating points. If you have the hardware available, give it a go... if not, I would probably start looking at alternatives. :\ But, and I must warn you, I'm a pessimist!
Thanks a lot but this is what I need to, also transmit and receive so what chip will allow me to do this? Will the 2560 not be capable of this?
Thanks again
The difference between the 1280 and the 2560 is the flash memory for program size. And that's it. No extra speed, added timers or anything like that.