OLA -- Logging Servo Position?

I am planning on using my OLA in an RC model aircraft. Is there any way to log servo position? How?

Thanks!

Andy

Hi Andy.

Sadly the OLA isn’t setup or programmed to read servo position.

To do something like this, you’d need to use another micro controller like a Pro Mini to decode your servo signals and convert those to a number and then pass that serially to the OLA for logging. Unfortunately we don’t have a guide for this but the Arduino command [pulseIn() could convert a servo signal to a number.](pulseIn() - Arduino Reference)

Chris,

Thanks, It looks like the library ServoInput would take the receiver signal to the servo and convert it to something I could log. Do you agree?

If my arduino board is 5v, do I need a logic level converter between it and the OLA?

Yes, that should work.

You will need a level shifter to change the 5 volt serial from your Arduino down to 3.3 volts for the OLA. BOB-12009 should do the trick.

I read in another thread that you can’t time stamp the serial data. Since I want to correlate the aircraft’s G load with servo movement, the servo data would be useless.