2019 Tech Tutorial Advent Calendar Day 20: A $40 10-Channel Arduino Remote Control (Patreon)
Content
The FlySky FS-i6 is a popular radio control transmitter unit often used for RC planes, drones etc. It has a total of 10 user inputs on the controller:
2x horizontal/vertical sticks
3x 2-position toggles
1x 3-position toggle
2x rotary dials
Even though it has 10 inputs, out-of-the-box, you can only use 6 of those channels - the horizontal and vertical axes of the two sticks are always assigned to channels 1-4, while any two of the switches or dials can be assigned through the controller menu to channels 5-6.
In this video I'll demonstrate how to update the firmware of the transmitter to allow it to broadcast all 10 input channels, and how to use the iBus interface on an FS-IA6 receiver module to decode them in an Arduino sketch. So that's 10 remote real-time analog inputs, using only a single GPIO pin! Perfect for any remote-control Arduino projects.
All the code listing, wiring diagrams, and flash file uploader can be found on my GitHub page: https://github.com/playfultechnology/arduino-animatronic