HobbyKing.com New Products Flash Sale
Reply
Thread Tools
This thread is privately moderated by c2po, who may elect to delete unwanted replies.
Old Aug 20, 2011, 02:05 PM
Sudden Freak
c2po's Avatar
Atlanta, GA
Joined Oct 2006
330 Posts
Build Log
I can has FrSky telemetry!

Another project is more or less finished, shaped into it's final form, and it works quite nicely.
FrSky D8R-II receiver, DFT transmitter module, Arduino Pro Mini, Cat's Whisker LCD.
Displays battery voltage/current with the graphs, consumed energy in mAh, power in watts, and RSSI level graph.
Video shows the main screen, screens can be switched using LCD buttons, there's another screen with RSSI levels, and I will probably add something later.
Binary sketch size is 7680 bytes, source code attached.

Update (08/22/2011): added connection diagram. Also I modified DFT module to have TTL levels instead of RS232, so for original unmodified module line 49 in the FrSkyCW.pde should be:
Code:
NewSoftSerial FrSky = NewSoftSerial(FRS_RX_PIN, FRS_TX_PIN, true);
Regarding sensors: for voltage I use simple 1/4 resistor divider (30KOhm/10KOhm), for current I use Allegro ACS715LLCTR-30A sensor breakout board from Pololu.
So as max voltage on D8R receiver inputs is 3.3V - those sensors give me up to 13.2V and 21.0A respectively.

Update (08/27/2011): changes in the code, added proper byte stuffing processing (7D 5D = 7D, 7D 5E = 7E), new version attached.

FrSky Telemetry (0 min 36 sec)
c2po is offline Find More Posts by c2po
Last edited by c2po; Aug 27, 2011 at 09:49 PM.
Reply With Quote
Sign up now
to remove ads between posts
Old Aug 27, 2011, 09:50 PM
Sudden Freak
c2po's Avatar
Atlanta, GA
Joined Oct 2006
330 Posts
Changes in the code, added proper byte stuffing processing (7D 5D = 7D, 7D 5E = 7E), new version attached.
c2po is offline Find More Posts by c2po
Reply With Quote
Old Oct 08, 2011, 06:01 PM
Registered User
Joined May 2010
96 Posts
can i adapt this to a lcd 2x16 HD44780? can anyone help me?
axskin is offline Find More Posts by axskin
Reply With Quote
Old Oct 09, 2011, 01:19 AM
Sudden Freak
c2po's Avatar
Atlanta, GA
Joined Oct 2006
330 Posts
axskin, it is possible, you need to replace CW_LCD.h library that I used for my Cat's Whisker LCD with any Arduino library that supports HD44780, and then you'll need to make some changes in the main code accordingly.

I don't have any HD44780, but I guess initialization and cursor positioning functions need to be rewritten.
Also some functions like built in bar graph display that Cat's Whisker LCD has will not work on HD44780, unless you write your own functions.

It is doable, but you have to know programming if you want to use another LCD, unfortunately I cannot help you with that.
c2po is offline Find More Posts by c2po
Reply With Quote
Old Feb 21, 2013, 08:30 AM
c/ Bondi RC LSC
Australia, NSW, Hornsby
Joined Feb 2013
2 Posts
hey c2po.. thanks for the code.. it was a great help to start me on reading the FrSky telemetry stream output from my DHT TX module.

I found that this code only read the FrSky RX when the FrSky telemetry hub was *not* plugged in.

I'm keen to expand the Arduino code to also decode the telemetry hub. Someone must have already done this before... but after an hour of googling I still can't find suitable *Arduino* code... (some interesting stuff in er9x & APM etc... though in C/C++.)
ScrivAU is offline Find More Posts by ScrivAU
Reply With Quote
Reply

Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Discussion FrSky 2.4Ghz - Telemetry Hub & Sensor discussion PLMS Radios 3508 Nov 20, 2014 05:12 PM
Sold FrSky DF Combo Long Range TX and RX Package With Telemetry for Futaba - NEW djdaveq FPV Equipment (FS/W) 2 Aug 06, 2011 04:43 PM
Help! FrSky DJT Telemetry modul on Futaba FF7 saxon0010 Radios 2 Jul 03, 2011 03:36 PM
Question How can I upgrade the FrSky telemetry set CyberCrash Radios 7 Oct 22, 2010 01:57 AM