Servo SBus PWM Analog Conversion
Posted: Tue May 16, 2017 4:57 pm
Hi guys,
An upcoming project will be taking signals from a model radio control reciever and using the received signals as inputs to a microcontroller (MIAC, ECIO, dsPIC)
Now, the tricky bit is getting the output from the RC reciever into the Microcontroller.
A)
I could go purely datastream.... Has anyone heard of SBus?
I know the basics, its a propitiatory protocol that allows one receiver to talk to many servos. Has anyone decoded or played with the SBus datastream?
I dont really want to get bogged down into a week of trying to decode it into a PIC, if I can help it!
B) Take the classic raw Servo PWM and try to convert that.
But the PWM is actualy more of a periodic pulse with variable duration. Not just a simple 50% mark/space 0-100% PWM convertion.
C) Some other method?
Once I have the 'data' from the RC receiver, I'm in the happy land of microcontroller and can do all the fun stuff, before passing it back out to the rest of the customers project.
any pointers appreciated, as ever! J.
An upcoming project will be taking signals from a model radio control reciever and using the received signals as inputs to a microcontroller (MIAC, ECIO, dsPIC)
Now, the tricky bit is getting the output from the RC reciever into the Microcontroller.
A)
I could go purely datastream.... Has anyone heard of SBus?
I know the basics, its a propitiatory protocol that allows one receiver to talk to many servos. Has anyone decoded or played with the SBus datastream?
I dont really want to get bogged down into a week of trying to decode it into a PIC, if I can help it!
B) Take the classic raw Servo PWM and try to convert that.
But the PWM is actualy more of a periodic pulse with variable duration. Not just a simple 50% mark/space 0-100% PWM convertion.
C) Some other method?
Once I have the 'data' from the RC receiver, I'm in the happy land of microcontroller and can do all the fun stuff, before passing it back out to the rest of the customers project.
any pointers appreciated, as ever! J.