Interfacing a RC radio to a microcontroller is a bit of a pain, especially if you want a lot of channels, because you have to time each channel's output individually.

An AVR only has one 16 bit timer with two compare channels, so either you can only use two channels at full resolution or you have to waste lots of cycles sampling it.

The other hassle is having loads of wires running from the rx to the micro.

The receiver on the FlySky 9x uses SPI to send data from the radio chip to the chip that actually generates the timings on each output channel.

If we tap off the SPI lines we can listen directly to the serial data the radio is spewing out... Luckily its super easy to understand!

Step 1: Cables

Break off 4 pins of SIL 0.1" header. Plug in some jumper leads to get the sizing, then solder on some ribbon cable. About 15cm will do the trick.

I'd recommend 80 way ATA hard drive cable (the thin stuff, not like this)
Thanks! Just what I needed!
do you now of any good resources that explain spi?

About This Instructable


9 favorites


More by angryfeet: Hacking a USBasp dongle into a PPM2USB RC SIM dongle SPI interface to the FlySky/Turnigy 9x Fixing a cheapo chinese MP3 Player
Add instructable to: