Assemble Battery Connector

Solder a red and black wire onto your female JST connector.  Secure the individual wires with heat shrink.  Then, add a 1/2 piece of heat shrink over the whole assembly.  Fill it with hot glue and shrink it down to create a sturdy connector.  

This is the bit that takes the most wear and tear so do a good job on this part.

Wire the LEDs

Solder 3 wires onto the "in" end of your neopixel strip.  Attach the wires to Teensy at 3.3v, AGND and pin 23.

It's a great idea to upload the Neopixel Strandtest code to your Teensy and make sure all the LEDs are working before proceeding.

Power Switch

Solder the black G wire from your JST connector to G on your teensy.

I added a white 30 awg wire extention to my + wire, so it's a little easier to hide later on, since these wires will be outside the bottle.  Connect this wire to the lock -- strip a whole bunch of wire and wrap it around the metal 3 or 4 times and solder it securely.  The solder may not want to stick, but keep after it, it'll stick eventually.

Solder another power wire to Teensy's 3.3V pin and connect this to your key, soldering securely.  Get a lot of metal-on-metal connection!

Plug in your battery.  Slide the key into the lock and verify that your LEDs come on.  If they don't, try adding more solder. 

Prepare your Resistors

Twist your resistor legs around to form a loop.  Solder one short wire onto one end, and one short and one long wire onto the other end of each resistor.

Cover the resistors with heat shrink.

Find the end of each resistor that has two wires.  Take the shorter wire and solder one each into pins 1, 2, and 3 on the Teensy.

Now find the end of each resistor that has one wire.  Take all 3 wires and twist them together, then solder into Teensy's pin 4.

For the 3 remaining long wires, solder each onto one of your capacitive touch charms.  This may be tricky -- the solder doesn't always want to stick.  Be sure your charms are clean, and if needed, sand or scrape the back to remove any coatings, and be sure you're getting a solid metal connection.

This guide was first published on Apr 18, 2016. It was last updated on Mar 30, 2016.

This page (Elecronics Assembly) was last updated on Mar 30, 2016.

Text editor powered by tinymce.