New Products Flash Sale
Thread Tools
Old Jan 25, 2013, 09:56 PM
patolin is offline
Find More Posts by patolin
Registered User
Discussion

Hobbyking 6ch tx arduino computer update


Hello everyboy

I have 2 Hobbyking 6 channel TX. Its a nice and cheap TX, but the lack of on the field programming is a big minus when you have 2 or more planes

Im working with an freeaduino uno and a lcd + keypad shield, to make a programmable computer for the HK transmitter. But I dont know yet if it will be a full replacement of the TX electronics to generate PPM signal and send it to the 2.4G module or a kind of programmer card connected to the serial port in the back of the transmitter.

Right now I have the servo reversing and dual rates routines, and all the ADC routines to read the potentiometers from the TX. If I go for the programming card, I will replace the ADC routines with a serial data decoding.

Any ideas will be welcome. I will post the code when its something workable for anybody with an arduino

Edit:

The project has traveled a long way, and it become a very stable and useful platform. Im posting the latest code and schematic in this first post, and I will keep it updated.

Arduino Code

ArduTX v1.3

ArduTx v1.1

Nokia 5100 Library

Nokia 5100 LCD Library

Schematic

Last edited by patolin; May 31, 2014 at 11:09 PM. Reason: Publishing new info
Sign up now
to remove ads between posts
Old Jan 27, 2013, 09:03 PM
patolin is offline
Find More Posts by patolin
Registered User
here are a couple of pics from the actual state of the project
Old Mar 03, 2013, 11:34 PM
bitchin86 is offline
Find More Posts by bitchin86
Registered User
bitchin86's Avatar
This is exactly what I am wanting to do with a spektrum radio. Any updates?
Old Mar 03, 2013, 11:44 PM
Hugh P is offline
Find More Posts by Hugh P
Registered User
Got a JR PCM 10S with trashed touch screen. Have the same idea.
Old Mar 05, 2013, 11:27 PM
patolin is offline
Find More Posts by patolin
Registered User
sadly i have been very busy at work and the project is in stand by. i hope this weekend i will get the ppm code working, so i can start the tests. ir that works i think that will be very easy to add functions to the code, like expos and some mixing. i will keep you with news
Old Mar 09, 2013, 11:14 PM
patolin is offline
Find More Posts by patolin
Registered User
Hey!!! Some spare time, and some new from the code.

I found a RC library for arduino (a great work from Daniel van den Ouden) and got PPM output from the analog inputs, that will be connected to the gimbal potentiometers. Actually im using a couple of pots in a protoboard to make a proof of concept.

I need to fix the voltage level to match the one that the controller board sends to the 2.4Ghz board in my Tx, but that must be easy. Next steps, fit the functions that I made for servo reversal, dual rates, and EPA for the TX
Old Mar 12, 2013, 12:08 AM
patolin is offline
Find More Posts by patolin
Registered User
Update:

Servo reversing routine is working great. Pretty simple.

I think this week I will post the code (after making it human-readable) so you can try it.
Old Mar 12, 2013, 12:35 AM
RCvertt is offline
Find More Posts by RCvertt
Registered User
RCvertt's Avatar
Looks very interesting.

Can we get some expo for roll and pitch in Acro mode?
Old Mar 12, 2013, 12:46 AM
patolin is offline
Find More Posts by patolin
Registered User
I dont think that expo will be any trouble. I will finish the dual rates code and try some exponential functions to calculate the position.
Old Mar 19, 2013, 01:22 AM
patolin is offline
Find More Posts by patolin
Registered User
Im posting a little tutorial (in spanish) in my blog

http://patolin.com/blog/2013/03/11/a...rol-diversion/

I will continue and test the connection with the 2.4Ghz module tomorrow... wish me luck
Old Apr 06, 2013, 05:18 AM
flygear is offline
Find More Posts by flygear
Registered User
flygear's Avatar
Hey, good luck on PPM to 2.4GHz module.
You made this far, combining with module should be a walk in the park for you.
Old Apr 07, 2013, 09:11 PM
patolin is offline
Find More Posts by patolin
Registered User
Well..... yeah!! It works.

I connected the arduino to the 2.4Ghz module of the Hobbyking 6ch transmitter, and it works great! The only thing that you need to take care, is that the ppm signal must be 3.3v because thats the operating voltaje of the RF module. Im using a pot to reduce the signal, but you can also use a 3.3v arduino.

Here is a little video of the tests.

Pruebas del transmisor RC (1 min 59 sec)
Old Apr 07, 2013, 09:17 PM
patolin is offline
Find More Posts by patolin
Registered User
By the way, that plane never flew it was a bad extra 300 foami that I made so quickly, and sooo badly lol
Old Apr 07, 2013, 11:46 PM
flygear is offline
Find More Posts by flygear
Registered User
flygear's Avatar
Congratulations!

When first time all the servos acts as TX inputs, oh man.. that's a moment goes for long.
Its always good to level the signal out to in but PPM module doesn't take 5V level in?
So, next should be shiny Tx case, huh?
Old Apr 07, 2013, 11:52 PM
flygear is offline
Find More Posts by flygear
Registered User
flygear's Avatar
btw, what USB oscilloscope you use?
I'm thinking to get one of those for field use.

One I'm using on desk is TDS210, start to realize that it doesn't give enough resolution to check each step of 1024 resolution PPM.
at least 300MHz bandwidth scope is able to show each single step of 1024 resolution PPM.


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Sold Airtronics RD 6000 6CH Computer Radio w/ extras hobbyfun100 Aircraft - General - Radio Equipment (FS/W) 2 Feb 06, 2013 08:17 AM
Discussion need help with HobbyKing 2.4Ghz 6Ch Tx & Rx V2 berts Beginner Training Area (Aircraft-Electric) 2 Jan 26, 2013 11:58 PM
Sold Airtronics RD 6000 6CH Computer Radio w/ extras hobbyfun100 Aircraft - General - Radio Equipment (FS/W) 1 Jan 19, 2013 01:37 PM
Discussion Arduino -> FASST TX module ---> receiver codeforge DIY Electronics 1 Jan 02, 2013 01:42 PM
Help! Can't get Hobbyking 6ch tx to work with computer doh2doh Radios 2 Jun 14, 2012 12:07 PM