SparkFun Forums 

Where electronics enthusiasts find answers.

Hardware or product specific questions are best asked here.
User avatar
By sr205347d
#222548
I am planning on using my OLA in an RC model aircraft. Is there any way to log servo position? How?

Thanks!

Andy
User avatar
By TS-Chris
#222550
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.
User avatar
By sr205347d
#222554
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?
User avatar
By TS-Chris
#222555
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.
User avatar
By sr205347d
#222631
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.
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum