Posted by Randy Brazeau on August 29, 2012 at 5:30pm
Good day,I'm using an Ardunio Mega with two motor controllers to drive each motor. I want to switch to an APM2 but do I have to replace the motor controllers with ESCs?The motor controllers only accept serial communication.Randy
You need to be a member of diydrones to add comments!
The APMs have four serial channels, but all four might be used depending on what features you add:
On the APM2.5:
serial CH0: Starts as the boot loader but it's attached to a mux it might be usable once you download code.
serial CH1: is allocated for the GPS
serial CH2: is allocated for telemetry
serial CH3: is allocated to the data flash
There is also the possibility of reassigning some of the other pins as software serial channels. Any way you look at it though will require some code changes.
Replies
The APMs have four serial channels, but all four might be used depending on what features you add:
On the APM2.5:
serial CH0: Starts as the boot loader but it's attached to a mux it might be usable once you download code.
serial CH1: is allocated for the GPS
serial CH2: is allocated for telemetry
serial CH3: is allocated to the data flash
There is also the possibility of reassigning some of the other pins as software serial channels. Any way you look at it though will require some code changes.
-Rich