About a year ago now I got my hands on a Fly-Sky 2.4G CT6B 6-Channel radio transmitter. This thing is awesome, but I haven’t had much time to put it to use. I have now finally perfected a nice class for it and other similar receivers.
Found here in my Arduino repository is my HobbyRadioReceiver class header file and an example sketch.
This class is based on the FS-R6B six channel receiver, but I’ve generalized it to accept any given number of channels so you can use this class with other common radio receivers. I’ve also given the ability to test the channels as different types of input. View the class declaration to see more details. I apologize if the usage of the class is not clear, let me know if there is any confusion or anything I can improve on.
Fritzing is an awesome program for visually mapping out the wiring of a project. Unfortunately, it does not always have the parts you need. I was very disappointed to find there was no included hobby radio receiver part, so with much strife, I made my own. After a LOT of Googling to figure out how to make parts in Fritzing, I finally got a nice “breadboard view” svg image file created. Figuring out how to make a part, then how to use the Inkscape photo editor, then finally making the part took me a few of hours total. All I wanted was the breadboard view anyway, so naturally, when I discovered you also have to make the Schematic and PCB views as well, I gave up for the time.
So I may later post the other views, but until then, here is the svg image for the FlySky FS-R6B six channel receiver in breadboard view. To then convert this into a part in Fritzing, you must follow the steps listed here using the Fritzing parts editor. It is a pain in the rear, so if anyone happens to make the other views, please share!
This will be the basis of my ReboundBot communication, at least until I get me xBee’s set up. Here is a quick test of the input using the exact circuit shown above. Keep in mind this video was made before I perfected the input sensing. I have since added a small deadzone on the joystick, as well as rounding the input value to reduce noise.