Turnigy TGY-i6 button modification

Discussion in 'Electrical & Radio' started by ZARUBA1987, Sep 11, 2018.

  1. ZARUBA1987

    ZARUBA1987 Well-Known Member

    Joined:
    Jul 2, 2018
    Posts:
    292
    Location:
    Tarkington Tx
    6A6FAC4C-FF11-49FE-86A2-69377622DBF9.jpeg See the attached schematic . Just FYI if you accidentally push the fire control buttons Simultaneously it’s like shorting the black and yellow wire together the radio will shut down. The radio powers back up when released.I’m not sure if this would be a good thing in combat situations. But to help keep this from happing. I put distance between my buttons.

    John Z.
     
  2. Commodore

    Commodore Well-Known Member

    Joined:
    Aug 8, 2013
    Posts:
    557
    Location:
    Sunny TX
    Dude, you're shorting your radio out, don't do that.

    Use resistors with your switches so that if you accidentally push both, it won't be a direct short. I don't remember the exact values offhand, but someone around here probably does.
     
  3. SnipeHunter

    SnipeHunter Well-Known Member

    Joined:
    Aug 22, 2007
    Posts:
    1,359
    Agreed, shorting out your radio should be avoided.

    The exact resistor values are somewhat flexible as you're just using them to build a voltage divider. They should be symmetric around the signal wire and the ratio of the resistor across the switch and the resistor in series with the switch determines how much "throw" you get out of the button.

    This is the setup I typically use/recommend but there are other versions that work just as well.
    [​IMG]
     
    Mark41, Nate G and Beaver like this.
  4. ZARUBA1987

    ZARUBA1987 Well-Known Member

    Joined:
    Jul 2, 2018
    Posts:
    292
    Location:
    Tarkington Tx
    I tried using resistors in line basically the same thing you have drawn snipehunter but the controller did not like it. still shorting it self out. I could try to gate with diodes. but as of now its working fine
     
  5. jadfer

    jadfer Well-Known Member

    Joined:
    Mar 29, 2008
    Posts:
    1,576
    Location:
    Houston, TX
    This radio uses 4 wires instead of 6 like the Spektrum. I am not sure what yellow does (+ from batt?) but it is shared. I had trouble with it.. I had it working on a breadboard but was unable to make it work in the radio.
     
  6. SnipeHunter

    SnipeHunter Well-Known Member

    Joined:
    Aug 22, 2007
    Posts:
    1,359
    That sure sounds like shared V+ and a shared GND lines, removing a set of wires was probably a cost savings. The circuit would still work in that case but getting the resistors and switches wired in the correct places might be a little trickier. If the gimbals on based on potentiometers (an adjustable voltage divider) replacing it with a fixed voltage divider isnt going to stop it from working. It might be sensitive to the current and need resistors matched closer to the same range the potentiometers have.
     
  7. jadfer

    jadfer Well-Known Member

    Joined:
    Mar 29, 2008
    Posts:
    1,576
    Location:
    Houston, TX
    I had it working on breadboard. Had trouble making the proto board. I don't remember what I did anymore though...
     
  8. ZARUBA1987

    ZARUBA1987 Well-Known Member

    Joined:
    Jul 2, 2018
    Posts:
    292
    Location:
    Tarkington Tx
    Well I wanted to come back and revisit this. Well after some reverse engineering and help from Brian K and his son Chris. I final wrapped my head around it. Push buttons install and working I used 3k ohm resistors. Between each button. I have modified three controllers so far I will say that the fly sky knock off uses black and white wires 1B5E3AD3-2153-416F-8426-DC9900848A1D.jpeg 339512EB-BD43-4F94-9591-1F2A2014C31A.jpeg 1AF1E776-82A2-4E2F-B368-9899030517C3.jpeg 6A8A6529-287B-445D-B34A-736D3870C262.jpeg 00EA4E44-4114-475B-A3C1-99B682C1076C.jpeg 1B5E3AD3-2153-416F-8426-DC9900848A1D.jpeg 339512EB-BD43-4F94-9591-1F2A2014C31A.jpeg 1AF1E776-82A2-4E2F-B368-9899030517C3.jpeg 6A8A6529-287B-445D-B34A-736D3870C262.jpeg 00EA4E44-4114-475B-A3C1-99B682C1076C.jpeg
     
    Litch42f likes this.
  9. jch72

    jch72 Active Member

    Joined:
    Nov 1, 2009
    Posts:
    448
    Location:
    Greensboro, North Carolina, United States
    Add a small resistor in series on yellow and black (The +3.3v and ground I think, maybe not in that order), right now if you push up and down (or left and right) at the same time you will short out the radio. On a Spectrum DX6i this just makes it reboot. I don't know what it does to this radio. I measure the resistance across both potentiometers on the stick as 2.4k, so 200 ohm in series on both yellow and black matches that if you use 2k ohm across the buttons like your diagram. The blue resistors in your radio are 110 ohm. You want red/black/black/brown/gold in a 5 band 2k ohm resistor across the buttons, and red/black/black/black/gold in series with the power wires to approximately match the gimbal potentiometers.
     
    Last edited: Sep 26, 2020
    ZARUBA1987 likes this.
  10. SnipeHunter

    SnipeHunter Well-Known Member

    Joined:
    Aug 22, 2007
    Posts:
    1,359
    Matching the gimbal potentiometers doesn't really matter as long as you don't use too low of values and make the circuit draw more current then the microcontroller can handle.
     
  11. ZARUBA1987

    ZARUBA1987 Well-Known Member

    Joined:
    Jul 2, 2018
    Posts:
    292
    Location:
    Tarkington Tx
    I tried adding several resistors combinations. It doesn’t like resistance on the power wires. But I understand where your coming from