I love electronics, and RC, so, why dont mix them up!
I had a Hobbyking 2.4ghz 6ch transmitter, and its a great starter radio, but the lack of model memories made me take the 2.4Ghz module off the radio, and program a new radio computer with an Arduino Uno.
The new TX has a few more extras than the original:
- 4 model memory (expandable..... i dont know how long, I only have 4 planes)
- 4 channels (expanded to 6 with the new arduino that arrives)
- Throtle cut switch
- Programmable dual rates for each channel
- Servo reversing
- Works on a 2S 1000mah LiPo battery
- 2x16 LCD with keypad (a standard arduino shield one)
- Wood enclosure (yeah, its a prototype)
- Expo, channel mixing, and anything you want can be programmed
If anybody is interested, in this link http://patolin.com/blog/2013/05/05/transmisor-de-2-4ghz-con-arduino/ you can find all the schematics, and the arduino code.
I think that this will be a great kit for DIY lovers, so I will be open to any comments, or ideas for include into the transmitter.
Log In to reply
Log In to reply
Im using an Arduino for the potentiometers and switches readings, and a Flysky 2.4Ghz tx module that I had from a spare hobbyking 6ch transmitter. The arduino generates the PPM signal based on the gimbal inputs, and that signal is passed to the flysky module. You can use any module that receives a PPM signal as input. Its fairly easy
Log In to reply
Mine has a custom RX and 2 Xbee's which does allow telemetery. Down side it the RX is a bit bulky/heavy. I would like to try your method.
All my code and such is here http://kiwitricopter.blogspot.co.nz/2012/11/it-flys-maiden-flight-of-yellow-plane.html
Log In to reply
For the PPM generation code, you can download the arduino library Im using from here https://www.box.com/s/od2s9b8zzaefxgr1yuen and my arduino sketch from here https://www.box.com/s/vo4wift3jmv6x764semk
My code is pretty "beta" state, and can be improved. But what I can tell you is that the PPM pulse is generated via Timer 0 Interrupts. Its not that hard when you get the idea of how it works.
Log In to reply
I assume its a PPM signal pattern sent to the TX module?
Log In to reply
Log In to reply
Log In to reply
Log In to reply
Log In to reply
Log In to reply
Log In to reply
http://www.amazon.com/Saitek-X52-Flight-Control-System/dp/B00030GSJY/ref=sr_1_4?ie=UTF8&qid=1369316733&sr=8-4&keywords=flight+simulator+controller
-or-
http://www.amazon.com/Saitek-CES432100002-02-Flight-Cessna/dp/B0058FAEAS/ref=sr_1_1?ie=UTF8&qid=1369316733&sr=8-1&keywords=flight+simulator+controller
Although the second one would take up a lot of space and be a very complicated build. It may not be a realistic idea, but I still think it would be awesome.
Log In to reply
Log In to reply
Log In to reply
Log In to reply
http://kiwitricopter.blogspot.co.nz/2012/11/it-flys-maiden-flight-of-yellow-plane.html?q=xbee
Keep up the good work
Log In to reply
can u please tell me what pins from the frskt tx do u use to hook up with arduino board?
Is this the correct diagram?
1 ppm
2 ground
3 v+
4 ground
5 rf
Log In to reply
Im just using 3 pins to connect the rf module to the arduino: v+, gnd, ppm
You have to be careful, my 2.4ghz board uses a 5v power voltaje, but it has a 3.3v regulator inside. I read about some modules that need 3.3v in the v+ pin.
Besides that, the PPM signal MUST BE 3.3v, so thats why I have a voltage divisor in the input (check the schematic here http://patolin.com/files/2013/05/tx-300x214.png).
Another thing to consider is the PPM polarity. My module uses inverse polarity (high in steady state for ppm pulse), and you need to check that in the manual of your module. Here is a waveform of the ppm signal that is generated in the pin 9 of the Arduino http://patolin.com/files/2013/03/2013-03-09_23-02-09_575-300x168.jpg
Log In to reply
Log In to reply
Log In to reply
Please can you give me a pinout of the module you got from the Hobbyking radio
I believe I have the same one (HK6S) and I would like to use it to upgrade a 35mhz radio to 2.4 using that module.
Thanks, TheRCNewbie
Log In to reply
I dont know if yours is like mine, but the wires on the connector use wrong colors (red for gnd and brown for vcc)
http://patolin.com/?attachment_id=509
Log In to reply
Log In to reply
Log In to reply
Log In to reply
This is my tx module picture
http://i922.photobucket.com/albums/ad67/mirws378/0e28e98d-9bef-49ea-9f77-33eb41473e52_zpsc55966fa.jpg
Log In to reply
Log In to reply
Log In to reply
BTW thanks for all your effort to help me here.
Log In to reply
http://www.instructables.com/id/Arduino-Multi-Channel-Oscilloscope-Poor-Mans-O/
I just built something like that using a stellaris launchpad. Its a faster microcontroller, but the idea is the same
http://patolin.com/blog/2013/07/07/osciloscopio-con-stellaris-launchpad-actualizacion/
Log In to reply
Log In to reply
Well, you can use all your stuff with an arduino. Using an arduino uno you got 5 analog inputs free for connect up to 5 pots, each one for one ppm channel.
I started a long time ago a thread on rcgroups with all the code and schematics of the arduino transmitter. Here is the URL
http://www.rcgroups.com/forums/showthread.php?t=1817699
You can use the last version of the code, without any LCD screen or keyboard, if you want to. Check the thread, and if you need further help, let me know.
By the way, Im uploading the transmitter, using a graphic lcd from a nokia 5100 board. Very cheap and awesome screen. Here is a video of the gui and setup tests.
http://www.youtube.com/watch?v=-JXMU5TMpv0
Log In to reply
Log In to reply
If you would like to check it out. Thanks!
Log In to reply
Log In to reply
Log In to reply
great works!
I started my first RCTX project (ver_ 7.0) with Arduino UNO and Keypad shield but I have not 3,3V in output PPM(pin 9). I have only about 0,45V and my OrangeRX 2,4Ghz module not work. Can you help me?
Thanks.
Regards from Slovakia
(sorry for my English)
Log In to reply
Log In to reply