Hi Guys,
I want to control a camera platform using an IMU (V3+). The IMU gives out serial data, and it also has 2 PWM outputs. Does this mean I can connect the two servos (for Pitch and roll) to those outputs to stabilise the platform or do I need to take the serial data output and have a PIC to control the servos? What do you think?
Any help will be appreciated.
Thanks,
Varinder
Tags:
Permalink Reply by Richard on April 1, 2012 at 1:32am Yes, I believe that you can use those PWMs for servo drive - generally you need 16-bit PWM hardware for this.
You want a 20ms period and 1-2ms Mark time.
The Arduino "Servo" library does this (though I don't know how efficient it is) - D9 is PWM0, D10 is PWM1
Permalink Reply by Greg Fletcher on July 1, 2012 at 3:37pm Varinder, I have done this already. http://code.google.com/p/gimbal-controler/
Let me know here if it works for you.
Greg
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.687 members
1294 members
7 members
24 members
51 members
© 2013 Created by Chris Anderson.
Powered by
