DIY Multiprotocol TX Module
DIY Multiprotocol TX Module
This setup is based on Phracturedblue idea of universal Tx module he made for integration with his many devo TX(deviation firmware).Following this and multiple RC protocols existing in deviation firmware,I was able to make an integration of these most popular RC protocols in arduino on a standalone module based on single atmel 328 chip and driven by any TX able to output PPM signal.
Because I had no time to design my own multiprotocol PCB,I used a hacked universal module pcb wich Phracturedblue made available on deviation forum and also at OSH park.
At the moment the multiprotocol includes 4 protocols,Flysky,Hubsan,Frsky-2way,and Hisky.
As soon as I possible can I will add also Frsky 1-way, V2X2 and DSM protocols.
1.Universal module PCB V1.3, shared at OSH park.
2.Arduino promini 16Mhz(Protocols are using as witness the existing on board LED on B5 pin)
3.A7105 module(PA/LNA module ,V911,X7105-SY).I used a V911 module harvested from a V911 TX
4.CC2500 PA/LNA module(XL2500)
5.Nrf24L01 PA/LNA module
6.AMS1117-3.3 LVO voltage regulator(or any other minimum 500mA LDO)
7.Resistor 20K(between NRF_CE pin to Vcc)
8.Caps 4.7-10uF(2pcs on ldo)
9.DIP switch 8 positions
I designed this arrangement having in mind core9x tx (a DIY TX using ER9X firmware),but this is a stand alone module it can be used with any tx which output PPM signal.At the moment channel order is AETR so will work with any programmable TX..for TX which are not able to change channel order,other than AETR..ask in this thread and I'll make a custom version.
I don't now the range of this multi-module.I did not make any test for range.I also didn't make field test to see how all this modules work together in such close proximity especially with antennas close one to another......but based on positive feedback from deviation forum I think they will work just fine.Anyway only one module will be work at the time not all activated at the same time.
Atm there is no telemetry involved.I removed the SMA connectors from the modules.It will be used instead U.FL/IPX wire antenna.All wires will be routed in a single antenna plastic tubing(common wire antenna shell).
For installing the RF modules it can be used the attached photos as reference also the modules installation in deviation links.
The recommended modules to be used are the ones in below links.
In the pics below I used a V911 module(A7105) harvested from a V911 TX(it can be used also from V939TX).
On the universal PCB..there are not allocated pins for a V911 module so I drilled 6 small holes and soldered on the back wire connections to X7105-SY pins.
This setup can be customized and will be customized in the future based on feedback from users.I will make also another version without DIP switches made specific for ER9X firmware using serial for protocol selection.
DON'TEXCEED 3.3V for the modules
Atm the code used fixed id so it may interfere with your neighbor friend plane rx if your friend using the same multiprotocol code provided here.
When all protocols will be added and and more mature code I'll fix this problem.So if you are using this code use it alone for the moment.
If using rotary dip switch I recommend buying one with 16pos..it uses 4 pins connected to mcu and allows more protocols.
THIS CODE IS STILL IN TESTING.IF YOU FEEL UNEASY WITH THAT, DON'T USE IT!
THE CODE AND SETUP PRESENTED HERE IS AS IS.
USE IT ON YOUR OWN RISK .I DON'T TAKE ANY RESPONSIBILITY OF THE PROBLEMS WHICH MAY ARISE USING IT.
Shopping modules links
NO ATTINY 24A chip REQUIRED
I used attiny pinout (soldered a 0.1" pinheader)from exiting PCB to connect to my promini.
Why? Because I was too lazy to design my own PCB.
ARDUINO PROMINI 16 Mhz
Added new diagram for people who want to design their own pcb or have their own setup.
Forgot to add PPM signal in the diagram,Now uploadeded the correct one.
Fixed bug added updated code ,see "mmulti01.hex",adopted dave1993 files naming
Added diagram with Vreg/caps.
edit:Added also more professional complete schematic in Kicad made by Blackmoon.
See pdf file V1.2."KICAD_MULTI_PROTOCOL_MODULE_rev1.2"
Note: This schematic made by blackmoon reflects the future development of multiprotocol module(attached bind button ,more protocols).
Atm the diagrams(pics) below works with code attached.
For people who had problem with Frsky 2-way binding
I had a CC2500 module working without freq offset.
So I attached a multiprotocol version hex file without freq offset Frsky protocol.
Somebody requested for a multiprotocol setup using rotary dip switch
so I made a diagram for using rotary dip switch BCD 10 pos.
Blackmoon made several diagrams in kicad for mutiprotocol .......at the moment only promini and M328 tqfp versions with normal dip switch.The version with promini and tqfp with rotary dip switch will follow next.
More info and all diagrams and gerber files below link.
Tested code using BCD rotary dip switch (10pos)...for protocol selection.Added bind button functionality for Flysky and Frsky protocols.
See attached "Multiprotocol_rotarySW_M328_16Mhz..hex"
.Added also one more protocol.,,V2X2...on nrf chip.Now total 5 protocol added.
Added code multiprotocol using rotary switch and random id for each protocol at bind.
Added diagram using 4 pos dip switch use binary code for protocol selection(16 protocols) ... this for people binary wise which cannot find rotary dip switch or chose it for smaller foot print.
It can be used with multiprotocol_rotarySW.
Fixed bug in PPM code causing problem in V2x2 protocol.
See updated code Multiprotocol_rotarySW_randomid2.hex
Last and improved version of this year coming just before new year.
Added DSM2 protocol finally (key No.6 on dial)..improved V2x2 code(made it slimmer and faster reaction).Tested all protocols one by one..many tests on DSM2 for improvements.For binding on DSM2 protocol keep pressed bind button(at TX start) till rx led stop flashing .,then release bind button.
See file" Multiprotocol_rotarySW_1.hex"
The user "sccamp" designed new pcb for multiprotocol.Now it is published uploaded and shared at oshpark for people use freely.See below attached link along with his multiprotocol cad files.
New code,Rewrite code make it slimmer.
Added new protocols CX-10 red pcb ,Devo,,KN and SymaX.Rotary switch dial is the same as numbers order.Total numbers of protocols and numbers are at the end of the page.
Confirmed working new protocols are Devo,and KN.The rest of SymaX protocols not tested yet.
See attached Multiprotocol_rotarySW_2.hex
NO ATTINY 24A chip REQUIRED
All protocols found on the market today use only 4 RF modules..with 4 different RF chips.
1.A7105 Rf chip ______ for Flysky,Hubsan,HK6S.
2.CC2500 Rf chip________for Frsky,Skyartec,Hitec
3,CYRF6936 ____________ for DSM2 ,DSMX,DEVO ,Walkera
4.NRF 24L01 Rf chip ______for ,...plenty protocols..,,Hisky ,V2x2,V977,CX-XX and all new SYMAX products.
A more complete list you find here.
Pinout for rotary dip switch/bind pin.
At the moment protocols supported are:
The numbers are also the dial switch key numbers
8.Skwlkr(CX-10 red pcb)
ImagesView all Images in thread
ER9X with multiprotocol selection menu.
I'll "dump" here all the info regarding multiprotocol selection in ER9X.
For using multiprotocol selection from ER9X screen, it is mandatory to be done the so called "Frsky telemetry mod" for Turnigy 9x and 9XR.
The Turnigy 9x frsky mod I recommend is the one in the below link.There are many tutorial showing how to do that but not very well explained the connections.This one I like because it shows explicit where to connect,the wires from 9X MISO MOSI pins to 5pin output connector.See the pictures with pin no 5(goes to MOSI) and no2(goes to MISO)
Video using multiprotocol selection in Er9x.
Added also the hacked ER9X firmware for multiprotocol selection.
When Trainer switch is pressed at start it will show multiprotocol menu.
Yes it can be but must be integrated in other firmware.
I will make another version without switches...for ER9X firmware using serial protocol selection.
I tested many versions but somehow........I returned to switches....very straight forward easy to remember.There is another way using only one switch(tactile push button) and remember how many times you press it for protocol selection.
So maybe in the final will be 3 versions.
The other free pins are reserved for additional protocols.(Frsky 1 way,V2X2.and DSM)
Working with pure software is not so pure,,..need additional transistors to control the power supply of each module using coresponding pins on promini...not very cheap...expensive and complicated...better with switches(in this case DIP switched very small lower footprint and compact).
For example the other solution a NPN transistor its base connected on the arduino pin and in colector the load in series (each module power pins).
Joined Jan 2004
Joined Oct 2008
lol. hard to miss this thread what with midelics "advertising campaign".
imo this seems pretty close to the perfect universal radio solution. most popular protocols and not restricted to any particular radio. i specially like the dip switch approach for exactly the reasons you mention. i have all the modules and would like to build one but not using that special board. its a little confusing. hopefully we dont need to use that t24. any chance you could include a wiring diagram or at least a pin list?
There is already a diagram for universal module PCB...PB made in kicad......he had the idea of controlling the modules using separate pins for each module CS pin,..... all the other corresponding pins being all connected....All module are powered all the time but "broadcasting" only one at the time.
See below his diagram in pdf..Maybe it can help you if not...I'll see what I can do later on.
Forget about Attiny...there is no need of it....I used Attiny pinout to connect to my promini.Anyway you have there all relevant pinout.It is not complicated to understand it.......all pins are connected(MISO to MISO(SO),MOSI to MOSI(SI)....aso) except CS pins.
Joined Jun 2013
because you put name attiny 24 in schematic , so it will have some confusion . I am the first
We have a TX to compete with Devo although still lack protocol Devo
for All in one , should have some test for Range because there very much chip broadcast . I hope it only not to use for heli or something in distance 100m
all anten of modul can connect common to a super Booster ?
In the schematic provided in attachment there was not any attiny,.. only markings on PCB..But I agree, it was confusing so ,,I hope now it is clear.
I don't compete with anybody....this is a stand alone module for any tx using PPM signal ....Later on I will add more protocols .It will not hold all protocols but only the most popular.If people want DEvo should buy Devo TX.This one is for people who already have their own good Tx happy with it, and not want to stock pile many Tx.
Only one chip at the time will broadcast...not booster ,each module have their own PA included, so the range in theory will go to the limit of their own RF amplification(which IMO is more than 1 KM). . ..Attached to each module will be an U.fl wire antenna routed in single plastic sheath(from common antenna).For more info read carefully first post..and check the links provided.
Joined Jun 2013
uhmmm.... I also don't want to buy pile TX .
When you have time, adding the devo proto would be nice to
People could use the walkera S upgrade module giving them access to all CYRF based protocols.
banggood sells it very cheap vs other places : http://www.banggood.com/Walkera-WK-D...-p-922596.html
I bought one from ehirobo for double the price
|Category||Thread||Thread Starter||Forum||Replies||Last Post|
|Discussion||Cheap & Easy - DIY openLRS/openLRSng - RX & TX modules||e_lm_70||DIY Electronics||247||Yesterday 12:09 AM|
|Build Log||RC Poyglot--Multiprotocol DIY TX||iter||DIY Electronics||136||Feb 18, 2015 01:06 PM|
|Discussion||Cheap DIY radio - RX and TX modules||e_lm_70||DIY Electronics||446||Feb 06, 2015 02:28 PM|
|Discussion||DIY: HiSky HT8 External TX module (JR) for V922 and Taranis TX||piotrkundu||FrSky||1||May 04, 2014 09:18 PM|
|Discussion||DIY Orange-tx-module-dsmx for Aurora 9x?||Ashley123||Hitec/Multiplex USA||1||Feb 06, 2014 01:29 AM|