HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Mar 04, 2014, 10:30 AM
Registered User
midelic's Avatar
Joined Apr 2012
2,905 Posts
Discussion
DIY "FlySkyRX-USB" wireless RC dongle for model simulators

DIY "FlySkyRX-USB" wireless RC dongle for model simulators

It was brought to my attention an old project PPM to USB adapter.
by Thomas Pfeifer on http://thomaspfeifer.net/ppm2usb_adapter_en.htm
This PPM to USB adapter was used as USB joystick for free RC simulators.Basically any TX with PPM out was hooked to this USB decoder..connected tor PC..and doing RC training on flight simulator.
Furthermore on DIY Flysky thread "plane spotter" was using a DIY Flysksy rx(in PPM mode) and togheter with a PPM to USB decoder(with pic chip)...trained his kids using a free model simulator.

Starting from that,I had an idea. What if we eliminate the PPM(decoder) to USB interface and make one single unit integrated RX to USB.... RC wireless USB joystick for free RC simulators.At the moment only FlysyRx_USB but it can be used any DIY RX in the future.It cannot be used with commercial RX.,,this setup is an integrated unit.There is aready a RCG thread which deal with DIY Flysky Rx ....This setup can be used with any Flsyky transmitter Turnigy9x/Er9x or any Tx with a Flysky module attached to it.

This module is USB powered so no need battery.
During winter and not only ..honing RC flying skills without crashing real tings..but using your original TX

Now:

Hardware:
XL7105-SY module from dealextreme
or XL7105-CL from suntek store.
2.Any setup with Atmega 8/168/328-16Mhz clock
3.USB powered ..and dropped voltage to 3.3-3.4V.
4.Diodes(1N4148) optional if not used voltage regulator
(or voltage regulator any LDO 3,3V...i used LM1117-3,3V)
5.Resistor 68-100ohms -2 pcs
6.Resistor 1.5K
7.Resistor 330ohms-1K
8.LED

Pinout:
XL7105; M8/168/328-16Mhz
SDIO ; B3(11)
SCK ; B4(12)
CS ; B5(13)
GIO;B2(10)
Bind;C0(A0)
LED ; C4(A4 promini)
Vcc ; VCC 3.3v from USB.
Gnd ; Gnd


Clarifications:
1.This setup can be used also with arduino promini or any arduino board with
Atmega328.In this case fuses are already set...
2.If used custom setup with Atmega8 or 328....fuses must be set as following:
For Atmega 8
FuseH=0xC9 FuseL=0xEF(only for M8)
For Atmega328
Low Fuse 0xFF
High Fuse 0xDA
Extended Fuse 005

3.It will work on windows XP/7 including windows7-64 without installing additional drivers.
Schematic is attached.
Later on I'll post one with arduino promini wiring.

Note:
If there is interest in the future Ill extend the support for other RX ....like Frsky RX. for example.
To do:
One version with Frsky rx and openlrs or a multi protocol with all major rx on the market.

Shopping:
XL7105-CL
http://www.suntekstore.com/search.ph...M3MjQ0MTE3Nzt9
XL7105-SY
http://dx.com/s/XL7105

Resources:
http://thomaspfeifer.net/ppm2usb_adapter_en.htm
http://www.rcgroups.com/forums/showthread.php?t=1921870
https://code.google.com/p/vusb-for-arduino/
http://d-parc.be/index.php/99/2

a list of sims here.
http://www.rcgroups.com/forums/showthread.php?t=1622981
Not all sims will work with this wireless RC-USB dongle.It will work with any RC
simulator wich accept generic microsoft joystick.
Update:
07.03.2014
I managed to finish the RC USB dongle ,I used an existing PLC77/dave board(Flysky Rx),I had .with ATmega 8 ,and installed one 16 Mhz SMD X-tal...Tested ok.Uploaded pics with the final setup.This version used voltage regulator 1117-3.3V
Aileron and elevator was swapped so I fixed.Uploaded new versions.
08.03.2014
Uploaded a diagram with promini .
19.03.2014
For some reason....this code is not working on windows XP.........only Windows7 32/64.
So I hack.... thomaspfeifer ..c code ...and now it is working on all windows versions XP in particular.For some reaso I couldn;t made work the avd-c eeprom routines...so i made version with autobinding. When I have some spare time I'll check again those eeprom routine.
See attached....."FlySkyRX_USB_M8_16Mhz_2.hex."



During winter and not only ..honing RC flying skills or initiating and training your kids, without crashing real tings,but using your original TX.
I think is cool.
Enjoy!
midelic is online now Find More Posts by midelic
RCG Plus Member
Last edited by midelic; Mar 19, 2014 at 02:57 PM. Reason: uploaded more pics
Reply With Quote
Sign up now
to remove ads between posts
Old Mar 04, 2014, 10:30 AM
Registered User
midelic's Avatar
Joined Apr 2012
2,905 Posts
reserved
midelic is online now Find More Posts by midelic
RCG Plus Member
Latest blog entry: DIY FrSky TX/RX Modules
Reply With Quote
Old Mar 04, 2014, 10:31 AM
Registered User
midelic's Avatar
Joined Apr 2012
2,905 Posts
reserved__
midelic is online now Find More Posts by midelic
RCG Plus Member
Latest blog entry: DIY FrSky TX/RX Modules
Reply With Quote
Old Mar 04, 2014, 10:39 AM
Registered User
Austria
Joined Jan 2004
6,035 Posts
OUTSTANDING JOB !!!

....

Looking forward for the source code ... I hate HEX files
e_lm_70 is offline Find More Posts by e_lm_70
Last edited by e_lm_70; Mar 04, 2014 at 11:14 PM.
Reply With Quote
Old Mar 04, 2014, 10:42 AM
Registered User
midelic's Avatar
Joined Apr 2012
2,905 Posts
when you finish the setup I'll give you the source privately.It works on any arduino board with m328 and 16 Mhz.
midelic is online now Find More Posts by midelic
RCG Plus Member
Latest blog entry: DIY FrSky TX/RX Modules
Reply With Quote
Old Mar 04, 2014, 02:28 PM
We can rebuild it!
djdavies83's Avatar
United Kingdom, Wales, Swansea
Joined Apr 2010
3,497 Posts
Sweet, when I'm in college next I'll grab the resistors for this, I've got a promini bouncing around doing nothing for the moment, I could hook it up and do the diagram if you like.

What's the purpose of the D4 to D5 1.5k resistor?
djdavies83 is online now Find More Posts by djdavies83
Reply With Quote
Old Mar 04, 2014, 02:54 PM
Registered User
midelic's Avatar
Joined Apr 2012
2,905 Posts
It is pullup resistor for D- ..USB data line.Without that resistor, is not working.
midelic is online now Find More Posts by midelic
RCG Plus Member
Latest blog entry: DIY FrSky TX/RX Modules
Reply With Quote
Old Mar 04, 2014, 04:37 PM
We can rebuild it!
djdavies83's Avatar
United Kingdom, Wales, Swansea
Joined Apr 2010
3,497 Posts
Ok I understand now, not done any USB projects before this came along. Erg, this "mobile view" looks like my 5 year old designed it.

Edit: I didn't see a upload image link in this "mobile view", really not going to enjoy this if Tapatalk goes.
djdavies83 is online now Find More Posts by djdavies83
Last edited by djdavies83; Mar 04, 2014 at 04:39 PM. Reason: Upload image, how is this easier than Tapatalk?
Reply With Quote
Old Mar 06, 2014, 08:28 PM
Registered User
midelic's Avatar
Joined Apr 2012
2,905 Posts
I managed to finish the RC USB dongle ,I used an existing PLC77/dave board(Flysky Rx),I had ,with ATmega8 ,and installed one 16 Mhz SMD X-tal...Tested ok.Uploaded pics with the final setup on first post.This version used voltage regulator 1117-3,3V.
midelic is online now Find More Posts by midelic
RCG Plus Member
Latest blog entry: DIY FrSky TX/RX Modules
Reply With Quote
Old Mar 07, 2014, 10:57 AM
Registered User
plane_spotter's Avatar
United Kingdom, Wrexham
Joined Jun 2004
598 Posts
Not strictly a dongle, more of a hub!!

Just using up some surplus non smt parts. Did not want to hack my PLC77 pcb and run out of m8 smt.

Well it's not pretty but it's up and running. Will glue it into a surplus potting box with a trailing lead.

Will make a small dongle type next time around, perhaps a proper pcb.


Name: 20140307_155544.jpg
Views: 36
Size: 481.0 KB
Description:

Good work midelic.

m, one thing I did notice when testing in control panel that left stick axis were swapped.

Not got any time now till next week. Busy it's my birthday Monday so away celebrating.
plane_spotter is offline Find More Posts by plane_spotter
Reply With Quote
Old Mar 07, 2014, 12:00 PM
Registered User
midelic's Avatar
Joined Apr 2012
2,905 Posts
Ash,
I tried on 2-3 sims and it appears to be ok,
Try on a real ...sim and ....select the channels.
Ash,
Happy Birthday!
midelic is online now Find More Posts by midelic
RCG Plus Member
Latest blog entry: DIY FrSky TX/RX Modules
Reply With Quote
Old Mar 07, 2014, 03:07 PM
Registered User
midelic's Avatar
Joined Apr 2012
2,905 Posts
Ok fixed the swap...Uploaded new version on first post.
midelic is online now Find More Posts by midelic
RCG Plus Member
Latest blog entry: DIY FrSky TX/RX Modules
Reply With Quote
Old Mar 07, 2014, 05:40 PM
Registered User
plane_spotter's Avatar
United Kingdom, Wrexham
Joined Jun 2004
598 Posts
Thanks m, another year wiser.

Will try next week, thanks.

Ash
plane_spotter is offline Find More Posts by plane_spotter
Reply With Quote
Old Mar 08, 2014, 09:18 AM
Registered User
Austria
Joined Jan 2004
6,035 Posts
Quote:
Originally Posted by plane_spotter View Post
Not strictly a dongle, more of a hub!!

Just using up some surplus non smt parts. Did not want to hack my PLC77 pcb and run out of m8 smt.

Well it's not pretty but it's up and running. Will glue it into a surplus potting box with a trailing lead.

Will make a small dongle type next time around, perhaps a proper pcb.


Attachment 6570690

Good work midelic.

m, one thing I did notice when testing in control panel that left stick axis were swapped.

Not got any time now till next week. Busy it's my birthday Monday so away celebrating.

Good job.

Would it be more simple to use just arduino pro mini board compared to use a naked ATmega chip ?
I think it will be cheaper too

e_lm_70 is offline Find More Posts by e_lm_70
Reply With Quote
Old Mar 08, 2014, 10:46 AM
Registered User
midelic's Avatar
Joined Apr 2012
2,905 Posts
When I test first time I tested on promini board .Yes of course,...anybody can use promini but16Mhz ..on 8 Mhz not working.
midelic is online now Find More Posts by midelic
RCG Plus Member
Latest blog entry: DIY FrSky TX/RX Modules
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Help! 20 in 1 Flight Simulator Cable/USB Dongle for RC Helicopter Realflight AeroFly snakecrew Simulators 4 Dec 25, 2013 12:29 AM
Discussion jmt 12 in 1 wireless RC USB thosmosis Simulators 3 Oct 29, 2013 04:48 PM
Discussion USB 2.0 Almighty Flight Simulator Dongle Imom Electric Heli Talk 3 Jun 06, 2011 04:02 PM
Discussion Phoenix USB dongle with FMS and Flight Simulator X Lon33 Simulators 8 Dec 29, 2008 09:00 AM
Wanted Reflex Xtr simulator with USB dongle tran3633 Aircraft - General - Miscellaneous (FS/W) 0 Jun 23, 2006 07:02 PM