HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Jan 25, 2013, 08:56 PM
Registered User
Joined Jul 2010
307 Posts
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

patolin is offline Find More Posts by patolin
Last edited by patolin; May 31, 2014 at 10:09 PM. Reason: Publishing new info
Reply With Quote
Sign up now
to remove ads between posts
Old Jan 27, 2013, 08:03 PM
Registered User
Joined Jul 2010
307 Posts
here are a couple of pics from the actual state of the project
patolin is offline Find More Posts by patolin
Reply With Quote
Old Mar 03, 2013, 10:34 PM
Registered User
bitchin86's Avatar
United States, UT, West Jordan
Joined Jan 2013
141 Posts
This is exactly what I am wanting to do with a spektrum radio. Any updates?
bitchin86 is online now Find More Posts by bitchin86
Reply With Quote
Old Mar 03, 2013, 10:44 PM
Registered User
Quincy IL
Joined Jul 2006
512 Posts
Got a JR PCM 10S with trashed touch screen. Have the same idea.
Hugh P is offline Find More Posts by Hugh P
Reply With Quote
Old Mar 05, 2013, 10:27 PM
Registered User
Joined Jul 2010
307 Posts
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
patolin is offline Find More Posts by patolin
Reply With Quote
Old Mar 09, 2013, 10:14 PM
Registered User
Joined Jul 2010
307 Posts
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
patolin is offline Find More Posts by patolin
Reply With Quote
Old Mar 11, 2013, 11:08 PM
Registered User
Joined Jul 2010
307 Posts
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.
patolin is offline Find More Posts by patolin
Reply With Quote
Old Mar 11, 2013, 11:35 PM
Registered User
RCvertt's Avatar
Joined Aug 2007
4,151 Posts
Looks very interesting.

Can we get some expo for roll and pitch in Acro mode?
RCvertt is offline Find More Posts by RCvertt
RCG Plus Member
Latest blog entry: Chupacabra sighting !!!
Reply With Quote
Old Mar 11, 2013, 11:46 PM
Registered User
Joined Jul 2010
307 Posts
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.
patolin is offline Find More Posts by patolin
Reply With Quote
Old Mar 19, 2013, 12:22 AM
Registered User
Joined Jul 2010
307 Posts
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
patolin is offline Find More Posts by patolin
Reply With Quote
Old Apr 06, 2013, 04:18 AM
Registered User
flygear's Avatar
Joined Jul 2010
83 Posts
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.
flygear is offline Find More Posts by flygear
Reply With Quote
Old Apr 07, 2013, 08:11 PM
Registered User
Joined Jul 2010
307 Posts
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)
patolin is offline Find More Posts by patolin
Reply With Quote
Old Apr 07, 2013, 08:17 PM
Registered User
Joined Jul 2010
307 Posts
By the way, that plane never flew it was a bad extra 300 foami that I made so quickly, and sooo badly lol
patolin is offline Find More Posts by patolin
Reply With Quote
Old Apr 07, 2013, 10:46 PM
Registered User
flygear's Avatar
Joined Jul 2010
83 Posts
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?
flygear is offline Find More Posts by flygear
Reply With Quote
Old Apr 07, 2013, 10:52 PM
Registered User
flygear's Avatar
Joined Jul 2010
83 Posts
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.
flygear is offline Find More Posts by flygear
Reply With Quote
Reply


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