Flysky-i6 or Turnigy-i6 to Pc RC Sim
by jaibert in Circuits > Electronics
46 Views, 0 Favorites, 0 Comments
Flysky-i6 or Turnigy-i6 to Pc RC Sim

Normally you cant connect the i6 (NOT i6x) to your pc only with some weird audio cable but since this didnt work for whatever reason I decided to connect it to my mac (or pc) with an arduino leonardo or pro micro or anything that uses the mega32u4 chip. IMPORTANT! There is a change you might destroy the controller since i wasnt going to use it anymore anyway it didnt matter.
Supplies
Controller (anything with potentiometers but for most you can connect via usb with destroying it.
microcontroller with the 32u4 chip
usb cable
Open Up the Controller

I am to lazy (and scared) to open it up again and take some pictures so I will do my best to describe it. Both of the joysticks should have 2 potentiometer and 4 wires connecting the main board. They will be color coded but remember that this color coding doesnt mean anything so just ignore it. In order to find the vcc and gnd of the potentiometers you will have to check every combination of two wires and check that when you hook it up to your multimeter( put it in resistance mode for mine i put it in 20k as the resistance is about 2k) the resistance doesnt change when you move the joystick when you have found these two wires you need to solder them to the vcc and gnd of the microcontroller. It doesnt matter which wire you connect to gnd and which to vcc. Then you can connect the other two to A0 and A1. Repeat this for the other joystick but this time connect the other two wires (So NOT the gnd and vcc ) to A2 and A3.
IMPORTANT! if you still want to use it normally I suppose you can connect the wires via the arduino to the board but to be honest this was kind off a shitty purchase and I recommend buying another radio anyway like the radiomaster pocket edgeTX.
At this point you can close up the controller but its best to keep it open until you know for sure it works.
Upload the Code
Oke now connect the microcontroller to your arduino ide and install this library HOW TO https://github.com/MHeironimus/ArduinoJoystickLibrary?tab=readme-ov-file
Upload the code and hope for the best. You can test it (in chrome) with this website. It should at least show some movement if anythings inverted or doesnt go the full range you can often fix this inside the rc simulator if not use the debugging code(same but supplies the values in the serial monitor).
Enjoy!
I know this tutorial kinda shitty but if there are any question or if somethings not working you can always reach out to me (hopefully i dont know if thats even possible )