I hate to admit this, but I'm stumped after working on an ROV project using Serial Communication and Brushless Motors for propulsion. I'm using Servo and Servopos commands which work fine before employing Serial Communication. Part of the process requires that 2 motors work in parallel.
I've finally found out that interrupts can/will interfere with Servo commands (something to do with timing). In finding this out, it's become my understanding that a Servo Controller Board, separate from my main processor, can solve this problem. But I could not find any examples of code where the main processor would receive a command (Serin), including an analog reading (for speed), and then pass this command onto the Servo Control processor which would then control the Servos without any timing issues. If I2C communication is involved between the 2 processors, how does the Servo Control processor avoid any timing issues - or is that a stupid question?
By the way, I've tried using the "Start0, Start1, etc." heading for parallel duties and I've tried using PWM, all to no effect. So I want to purchase a Servo Control board after I'm confident that this addition will solve the problem.
Thanks for any help.
I've finally found out that interrupts can/will interfere with Servo commands (something to do with timing). In finding this out, it's become my understanding that a Servo Controller Board, separate from my main processor, can solve this problem. But I could not find any examples of code where the main processor would receive a command (Serin), including an analog reading (for speed), and then pass this command onto the Servo Control processor which would then control the Servos without any timing issues. If I2C communication is involved between the 2 processors, how does the Servo Control processor avoid any timing issues - or is that a stupid question?
By the way, I've tried using the "Start0, Start1, etc." heading for parallel duties and I've tried using PWM, all to no effect. So I want to purchase a Servo Control board after I'm confident that this addition will solve the problem.
Thanks for any help.


