Adding Control Glove Connections

One of the options available for TK-Talkie is the ability to add up to 2 Control Gloves. We call them "control" gloves instead of the typical "sound" glove because you can do much more with them besides trigger pre-recorded sounds! For example:

In addition, you can program each button to do 2 things! For example, you could program a short press to trigger one sound and a long press to trigger a different sound. You can even setup buttons to trigger random sounds!

This section deals with creating the Control Glove connections and adding them to your TK-Talkie build.

Please also see:

If you decide you don't want to make one, you can always buy one from the TK-Talkie Store.

If you have any feedback regarding this tutorial, please contact us or join us on Facebook.


***** NOTICE !!! *****

This tutorial does not cover building the actual Control Glove. See the TK-Talkie Control Glove Tutorial for instructions on building the glove.

Table of Contents

Parts List

TK-Talkie (in-progress), connection wire and 4-pole female jack 3.5mm

Here are the parts needed to make a Control Glove connection for your TK-Talkie:

Not Shown:

Hey Look! Here's a real cheap multi-meter that works great! Go get it!!!

And of course you'll need a soldering supplies (iron, solder, etc.) as well as wire strippers, cutters AND PATIENCE :)

Where to Buy

Here are some convenient links to the parts you'll need (some of these links may be my affiliate links):

Check Your Connections

Common signal paths for 4-pole jacks
Use a multi-meter to verify signal paths with your connections

Before you begin, it's a good idea (...no...GREAT IDEA) to verify your signal paths using a multi-meter.

The pic shows a common configuration for 4-pole male and female jacks, but this is not guaranteed!

Save yourself some headache and verify your connections first!

TK-Talkie (in-progress)

Attaching the Connection Wires to the Teensy

Take your in-progress TK-Talkie and cut 4 lengths of connection wire...3 wires at 42mm (1 11/16") and one at 53mm (2 1/16")

The 3 shorter wires will be for connecting pins 1, 2, and 3 to the TK-Talkie and the longer wire is for ground.

Strip about 1/8" off of one end of each wire (this is for the side connected to the Teensy) and about 1/16" off the the other end (this is for the side connected to the jack.)

If you strip off a little too much you can trim the exposed wire later.

Tin the shorter end (the end for the jack) to make them easier to attach.

For the longer end, make sure it's twisted well so that it goes easier into the holes on the Teensy.

Solder the wires into the Teensy.

I use the following layout:

NOTE: Pin 2 on the Teensy is one of the digital pins. The digital pins can be used to put the Teensy to sleep and wake it up which means you can program it (through the TK-Talkie App) to be a PTT/Sleep/Wake button or just a Sleep/Wake button in addition to all of the other functions available for Control Glove buttons!

If you are building two gloves, you can repeat this process using pins 5, 8, and 16.

Put heat shrink tubing on the wires and tin the tabs on the jack
Solder the wires to the jack

Attaching the Connection Wires to the Jack

In this step we'll connect the wires that are soldered to the Teensy to the tab on the female jack.

If you have not already done so, tin the ends of the wire. MAKE SURE to do this before you put the heat shrink tube over the wires or the heat from the soldering iron may shrink them.

Cut 4 pieces of 3/32" heat shrink tubing about 1/8" in length. Slip them over the 3 lead wires and set the 4th one aside for the ground wire.

Tin the tabs on the female jack. This will make it MUCH easier to attach the wires.

Solder the wires to the jack, rememembering which wire on the Teensy goes to which tab on the jack (see connection refrerence phone above.)

Slip the heat shrink tubing over each connection and apply heat.

DO NOT SOLDER THE GROUND WIRE TO THE TEENSY BOARD YET!

Attaching the ground wire will depend on if you are building 1 or 2 gloves. Keep reading to see how to use a common ground for 2 gloves.

Put heat shrink tubing on the wires and tin the tabs on the jack

Attaching the Ground Wire for 1 Glove

If you are building only one glove, you can go ahead and attach the ground wire to the TK-Talkie.

I like to use the grounding pins of the Line-In connections on the Audio Adapter after I've attached the Teensy to it.

If you are building 2 gloves, read on to see how to use a common ground.

Attaching the Ground Wire for 2 Gloves

If you are building 2 gloves, it's easy to use a common ground between them. This also saves you a grounding pin on the Teensy/Audio Adapter.

Cut another piece of wire about 32mm (1 1/4") long and strip and tin both ends.

Solder it to the grounding tab of one of the jacks, then use a piece of heat shrink tubing and apply heat to secure it.

Next, cut another piece of 3/32" heat shrink tubing and place it over the shorter wire.

Solder the wire to the ground tab of the other jack, then cover with heat shrink tubing.

You can now attach the longer ground wire to the Teensy/Audio shield.

Enabling the Control Glove(s)

Enabling the Control Glove(s) on your TK-Talkie is simple!

Edit the CONFIG.TXT file on your SD card and add the following to the end of the file (be sure to add a comma after the last entry and before the "buttons" section!):

            "buttons": [
                2,
                3,
                4,
                0,
                0,
                0
            ]
        

And if you are using 2 Control Gloves:

            "buttons": [
                2,
                3,
                4,
                5,
                8,
                16
            ]
        

So a sample CONFIG.TXT may look like:

            {
                "profile": "DEFAULT.TXT",
                "access_code": "12345",
                "debug": false,
                "echo": false,
                "input": "mic",
                "baud": 9600,
                "profiles" : "/profiles/",
                "buttons": [
                    2,
                    3,
                    4,
                    0,
                    0,
                    0
                ]
            }
        

This tells TK-Talkie what pins on the Teensy your Control Gloves are using so that it can initialize them properly.

That's it!

If you have any feedback regarding this tutorial, please contact us or join us on Facebook.