Hi friends, this one is actually a recovery story of a CT6B(With Fried Motherboard :'( ).
Micro controller in TX fully burned so no way to recover that(But the transmitter is fully functioning) so I just replaced with arduino uno(change to nano and succeeded in generating ppm and the transmitter is alive again. 8)
Now Spend 3Days (day &night) and added i2c amoled and menu for changing functions to configure radio without PC while @ field. ;) ;)
The result is:
Fully functioning CT6B
Now trim works through software(actual ct6b can only trimmed mechanically before) in other radios .
End points can be adjust through menu.
Can assign any channel to any stick via menu.
Can reverse channels via menu.
Mix works via menu( still need testing)
Can change up to 6 flight modes for APM (2x3position switches)
Up to 8 channel works corresponding rx (before it was a 6 channel radio).
Added calibration mode (all sticks end points and center point will calibrate to min 1000 , mid 1500 and max 2000)
Works fine with 2S - 3S LiPo (6V- 13V)
To do:
Voltage monitoring functions.
Basic telemetry add-on.
Suggest me if any.
All arguments, suggestions, caution factors and all type of comments welcomed. :)
Pictures and videos coming soon.
Akhil sir can you post some details as to how made your arduino work with the tx module(code,generate ppm signals,etc)...waiting impatiently for further information :)
Sir this is just awesome, can you post more details and pics
these are some random pics taken while working, detailed pics and videos will post later.
screen used now is too small(lessthan one inch) but still sooper sharp(is amoled)
anyway looking for bigger one.
http://www.youtube.com/watch?v=VwVmUU0jTig#ws (http://www.youtube.com/watch?v=VwVmUU0jTig#ws)
Suggestions Please...........
great job {:)}
Very nice work Akhil. Would like to know more on this.
Quote from: Himadri Roy on March 28, 2015, 01:39:44 PM
Akhil sir can you post some details as to how made your arduino work with the tx module(code,generate ppm signals,etc)...waiting impatiently for further information :)
Anyways Superb Sir! :)
Superb job man :thumbsup:
Please do share details so others can try same :thumbsup:
Thanks avadhut, Dharmik, Himadri and RCNeil
@Himadri & RCNeil
I m too happy to hear that others also interested in trying this,
But I fear about safety with this because currently in development stage.
Anyway just PM me i ll send codes and everything else we can discuss here.
Quote from: Himadri Roy on March 28, 2015, 01:39:44 PM
can you post some details as to how made your arduino work with the tx module(code,generate ppm signals,etc)...waiting impatiently for further information :)
First of all I don't know your experience level so I'm just explaining simply (I know my skill in explaining is worst, don't blame, please suggest that too to improve my skills)
Generating PPM
Almost all tx modules are just transmitters with PPM input (Channels doesn't matter if we serve PPM for 6 channel they work as 6 channel tx and serving 8 channels PPM make the same tx as 8 channel tx), that ppm can be served by arduino using PWM Pin(just one pin is enough), And the PPM generation function works indipendantly working using timer(so that will not effect work load or other delay in loop) and reads values from array PPM[],
Reading Stick values
Is simples business if you used arduino, we all know that the sticks are working using potentiometers,so this readings are taking using analogread method using analog pins gives resolution of 1024 stages, and this values stores in Sickval[] array( some calibration procedures are doing while storing using map() function here to get the exact end points 1000 to 2000).
The connections are left pin from potentiometer to Ground, Center to analog pin of arduino, right pin to 5v rail of arduino.
Switches
Are functioning using arduino digital pins with enabled internal pullup, will give "HIGH" if the pin not connected(switch off) and "LOW" if the pin connected to ground(Switch is on)
Trims
Broke analog trims and added tactile switches inside and Working just like other switches,
Assinning Stick to channels using menu
Is actually linking arrays Stickval[] to corresponding PPM[] Depends on the settings/mix.
OLED Display
Driving with u8glib
Thanks,
ingenious sir! :salute: :bow: :bow: {:)} {:)}
Quote from: akhilzid on April 07, 2015, 11:34:23 PM
(I know my skill in explaining is worst, don't blame, please suggest that too to improve my skills)
I don't know why are you saying so but i understood each and every word of what you said without any difficulty...
Looks i have and interesting project to do! ;) ;D DIY transmitter
@akhilzid great job done man :thumbsup: :thumbsup:
Thanks gunnu for the compliment.
@Himadri, received your PM and replied with link to code ;)
Now its upgraded to HK AIO PRO V2 Same as arduino mega For more pins to have more switches with more processing power for 9 Channel output.
Great Job Akhil {:)} {:)}
Thanks Nithinraj,
@Avadhut, , received your PM and replied via Mail with link to code.
Great work there Akhil.
congrats
Great work Akhil. {:)} {:)} {:)} {:)} :thumbsup: :thumbsup:
Do share detailed log of schematics, component connections and codes
Good work there akhil !! :thumbsup:
Thanks manojswizera Sir, sundaram sir and Gusti Sir,
Don't know how to present schematics simply, will try to add with next post.
additional components used are:
Arduino Mega x 1 - as main controller.
3 Position Switch x 2 - Replaced in place of 2 pos switches.
4.7 K resisters x 6 - two each for 2 switch(3 position) & two for OLED Display PULLUP.
Push Switch x 2 - For additional menu operations.
Powerbank Circuit x 1 - To shift 1S(3.2 - 4.2 Volt) to 5V Stable output. is giving me more than 3.5 hours battery backup using 2500mAh Single Cell
Battery Compartment:
(http://www.rcindia.org/self-designed-diy-and-college-projects/super-t6-mod-(custom-motherboard-and-firmware-using-arduino)/?action=dlattach;attach=707562;image)
Showing Off Stick centering Stability(Remember its a CT6B):
http://www.youtube.com/watch?v=Moy4ntkoUZg#ws (http://www.youtube.com/watch?v=Moy4ntkoUZg#ws)
Superb man, superb!!
Thanks lastRites,
Here is the Trim Switch Modification(Wires are tangled now, need to arrange later), Also Please ignore Background Noice.
http://www.youtube.com/watch?v=nNjsKIcQMyg#ws (http://www.youtube.com/watch?v=nNjsKIcQMyg#ws)
Trim switch mod looks nice :thumbsup:
Thanks RCNeil21,
Now Display Fixed inside but still need some more finishing, My crafting experience is not good so just leaving as is for now(friends in RC Club Cochin may help to finish this, going to ask this Sunday).
(http://www.rcindia.org/self-designed-diy-and-college-projects/super-t6-mod-(custom-motherboard-and-firmware-using-arduino)/?action=dlattach;attach=707594;image)
(http://www.rcindia.org/self-designed-diy-and-college-projects/super-t6-mod-(custom-motherboard-and-firmware-using-arduino)/?action=dlattach;attach=707596;image)
(http://www.rcindia.org/self-designed-diy-and-college-projects/super-t6-mod-(custom-motherboard-and-firmware-using-arduino)/?action=dlattach;attach=707598;image)
Nice work! I would actually suggest you to make a cool custom outer shell for the Tx and
If you have replaced the MB with arduino,does it support multi protocol? which receivers are compatible?
And if you have come this far making a schematic shouldn't be an issue. There is this app which http://fritzing.org/home/ (http://fritzing.org/home/) which helps to document your circuits and can be further shared easily with the rest of us.
Quote from: SideWinder on April 10, 2015, 02:36:55 PM
Nice work! I would actually suggest you to make a cool custom outer shell for the Tx
Thanks Sir,
No Plans To make custom outer shell Now due to lack of my crafting skill, But sure if someone helps me to do that.
Quote from: SideWinder on April 10, 2015, 02:36:55 PM
If you have replaced the MB with arduino,does it support multi protocol? which receivers are compatible?
Yes Replaced MB with Arduino Mega (Currently HK AIO Pro V2), but the TX Module is same as in CT6B (FlySky 2.4GHz AFHDS TX module) only now compatible with 6/8/9 channel receivers that compatible with this TX. Need to replace this module to support additional protocols, So now i'm looking for TX shell with replaceable module(this topic Posted in wanted section).
Quote from: SideWinder on April 10, 2015, 02:36:55 PM
And if you have come this far making a schematic shouldn't be an issue. There is this app which http://fritzing.org/home/ (http://fritzing.org/home/) which helps to document your circuits and can be further shared easily with the rest of us.
Thanks again, should look in to this and update here soon.
Which protocols do you have in mind? If you haven't glanced through these threads http://www.rcgroups.com/forums/showthread.php?t=2165676 (http://www.rcgroups.com/forums/showthread.php?t=2165676) then this DIY MultiProtocol Tx module should be able to help you to add 2 more protocols namely DSM2, and Frsky. I wonder if everything can be run from Mega!
Currently looking into Frsky protocol(already tried some experiments with this), and the link already referred/bookmarked. but in my view the limitation in timers with single mega is not powerful to do entire job(and make too complicated). so need to integrate promini in to it for TX Module Mods and keep this separate.
anyway, first jobs are perfect motherboard that serve PPM(for TX modules), all kind of mixing stuffs, with telemetry(using mavlink protocol) and bluetooth based additional display(using mobile).
@Himadri and Avadhut,
Now updated with improved performance, less delay(faster response) and more parameters like battery monitoring calibration, screen update cycle time are added to menu.
Uploaded to the shared link.
Thanks fxshoppe for aknoledging your interest in this topic, Received your PM and replied with link to code.
Thanks for sharing the code really appreciate. Have you tried arduinorc, i waiting for both arduino nano and time for the project.
However in case if you are looking for a case which gives you most of the stuff then i will suggest v922 case it has tactile switch for trims and good gimball. also all the connections are in jst connector so if you can make a custom pcb it will be good
in case if you donot want to play with pcb then remove the rf module at top and you an get most raw analog circuit on 2 rows of berg strip.
if you are okay to share ur number i can whatsapp the interiors.
A mega2560 would not fit in case but a nano can definitely fit in the case.
Regards
Amit
9810209995
Quote from: fxshoppe on April 13, 2015, 10:36:59 PM
Have you tried arduinorc,
yes, but still need PC to configure everything.
Quote from: fxshoppe on April 13, 2015, 10:36:59 PM
i waiting for both arduino nano and time for the project.
i think arduino mega is better, because nano is limited in pin numbers if need more switches.
Quote from: fxshoppe on April 13, 2015, 10:36:59 PM
However in case if you are looking for a case which gives you most of the stuff then i will suggest v922 case it has tactile switch for trims and good gimball. also all the connections are in jst connector so if you can make a custom pcb it will be good
in case if you donot want to play with pcb then remove the rf module at top and you an get most raw analog circuit on 2 rows of berg strip.
Thanks for the suggestion.
Quote from: fxshoppe on April 13, 2015, 10:36:59 PM
if you are okay to share ur number i can whatsapp the interiors.
PM'd My whatsapp number
Quote from: fxshoppe on April 13, 2015, 10:36:59 PM
A mega2560 would not fit in case but a nano can definitely fit in the case.
Original arduino mega is bigger but APM and Multiwi AIO (both compatiable with arduino) are small also with header pins can be plugged using bread board jumper/ servo lead connectors.
Received PM from 'SK1701' and replied with link to code.
Released initial version in github, Can be downloaded here.
https://github.com/akhilzid/SuperTX
If the mega's size is an issue you can use a atmega 2560 breakout and perfboard it..
yes, but Multiwii aio pro fits fine(Width: 5cm and Height: 5cm).
also this one looks nice: http://forum.arduino.cc/index.php?topic=146457.0 (http://forum.arduino.cc/index.php?topic=146457.0)
Superb Mod Akhil!! Keep up the good work!! Thanks for sharing the info.
Thanks sudhakar ji,
Here is the Maiden Flight Using SuperTX
http://www.youtube.com/watch?v=_R48L9gh93A#ws (http://www.youtube.com/watch?v=_R48L9gh93A#ws)
Could we use stm based mcu ?
What bout stm8s
my plans is to use it without lcd and use 1 watt FrSky module. And one more question , which radio reciever supports 10 channels in frsky ?
hello sir,
this modified tx with sent radio signal?
Hey, thanks for implementing this great idea. I have a slight problem though
How do i upload this code to the arduino?
I open the SuperTX.ino file after placing all files in the SuperTX folder but it gives an error when compiling.
Thanks.
@hiteshkher, this modification is only adding a motherboard and display, you should use a TX module(can input PPM) along with this to transmit RF signal.
@TheScarecrow, can you please post a verbose output of the uploading error.
Hi akhil ,
Nice project {:)}
Downloaded ur code from github . But 'U8glib.h' file missing at github.
Could u pls upload the file
Vinayak
How did i missed this thread,
amazing, i was looking for one such thing, but a question,
can we make a DIY radio with 2 gimbals, switches, Pots, and a DIY module from frsky stuffed inside a box?
Yup i am workin on it.
@ vinayak_2020, Please grab the lib from here https://bintray.com/olikraus/u8glib/Arduino/view
@ v2 eagle, Thanks dear, yup you can build diy radio with this using any module(flysky, frsky) that support PPM Input.
Great Akhilzid,
can you please post the complete schematics and arduino codes and procedure of the order of flashing them,
im a beginner in arduino and softbricked my arduino while trying to load a hex using xloader and my arduino mega no more responds to flashing although it is getting detected!
Ashok sir, you don't have to use any firmware flasher with arduino , Arduino IDE is the single tool that you need. Arduino sketches can be easily uploaded with arduino IDE via USB . This is made possible with the arduino bootloader preloaded in every arduino board. the bootloader in your arduino mega may be over written when you tried flashing hex file with Xloader . You can revive it by flashing the arduino bootloader again , and it can be used with arduino IDE .
Sent from my Redmi Note 3 using Tapatalk
any link for reflashing the bootloader, i have the turnigy usbasp.
@Akhilzid,
any updated on the schematics and firmware
Link for flashing the bootloader
http://learn.cytron.com.my/2011/12/19/burning-arduino-bootloader-with-avr-usbasp/
for the connection between arduino and usbasp, please note that you need 6 pins - MISO, MOSI, VCC, GND, CLK, RESET
Both the pins on the usbasp and arduino ISP HEader has these pins, and they connect to their namesake :D.
Any link for arduino drivers.
I am having error for .net framework
.NET framework you can install from Microsoft website.
Sent from my Redmi Note 3 using Tapatalk
Today I was searching for something for diy mega open tx radio...
But suddenly saw that people are reffereing super ct6b despite of open tx... Very happy to see that...
https://m.reddit.com/r/Multicopter/comments/4493do/ok_before_anyone_else_starts_decasing_200_radios/?utm_source=mweb_redirect&compact=true
Very cool
Hey akhil, i am having too many compilation issues, Please help me out :banghead: :help:
Was getting error
Arduino: 1.6.0 (Windows 7), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Sticks.ino: In function 'void StickCalc()':
Sticks.ino:3:3: error: 'StickCycle' was not declared in this scope
Error compiling.
Not an arduino guy but assume the varible is not declared so added line
int StickCycle;
I have only wired the LCD only and am getting
Initializing....
Is this the default behavior
Regards,
Amit
Simply Awesome Nikhil. Thats lots of hardwork behind CT6B
Thank you
Can you please send me the codes too. Am planning to build a transmitter and receiver for my small 27mhz cars. Would love if i receive the codes, your tx is just what I wanted my tx should have or look like.
Thanks in advance :hatsoff: :hatsoff:
:help: :help: :help:
Any body have the codes and schematics for this project please pm me.
Hello, thanks for this awesome project. I found it very useful.
I am working on a similar project that consists of a Arduino pro mini, a 6ch transmitter body with all the pots, switches and gimbals.
I was wondering if i can use your code of Super T6 WITHOUT a LCD module?
Will it work without the use of LCD like a CT6B?
Thanks
Quote from: akhilzid on April 07, 2015, 02:14:28 PM
http://www.youtube.com/watch?v=VwVmUU0jTig#ws (http://www.youtube.com/watch?v=VwVmUU0jTig#ws)
Suggestions Please...........
sir can i get source code and wiring diagram
even my transmitter mother got burnt
Hello,
Discovered this great thread now, so I dont know if anyone will reply or not, but could you use the transmitter's default tx module, like my tx, the fsth9x has a rm003 module. So is it possible to use that ?
what do you want to do exactly? it should be possible to use the default module as long as it accepts ppm input (most of them do). You'll need to figure out which wires are the signs wires.