Setting up wires
You will need to cut and strip 6 strands of 30 guage wrapping wire for connecting the button and 8x8 LED matrix to GEMMA. Measure the length of the strips to about 90mm. You can optionally add labels to each wire with a piece of masking tape. If your new to working with GEMMA, check out the intro guide.Mini 8x8 LED Matrix
The 0.8' led matrix comes with an I2c Backpack that will need to be soldered to the matrix. Carefully slide the matrix into the backpack and flip it over. Triple check that the text is on the same side as the From Adafruit text. Be sure to check out the 8x8 LED matrix intro guideSolder all 16 pins. Apply the soldering iron to the pin and hold it there for a few seconds. Add small amount of solder to heated pin, not the tip of the iron! Clip and trim the pins when you're finished soldering.
Wiring 8x8 LED Matrix
Apply a small amount of solder to tin the 4 pins on the top of the 8x8 LED matrix backpack. Try to heat the back of the pin, and then applying the solder to the front of the pin.Solder 4 strips of 30 gauge wrapping wire to the 4 pins on the backpack. Try heating the back and pushing the wire through once it's liquidy.
Connecting 8x8 LED Matrix to GEMMA
Use a third helping hand to hold your components in place while you solder. Tin the 6 pins on the GEMMA. Solder the 4 wires from the LED Matrix to the pins of the GEMMA. Below is a mini reference list for each pin.- SLC to D2/A1
- SDA to D0
- GND to GND
- VCC to VBat
And here's the GEMMA + 8x8 LED matrix circuit! At this point, you can plug in a lipo battery to the JST to power it on and test if it works. The mini 8x8 LED Matrix should have enough slack to move freely from the GEMMA.
Switch/JST adapter
For conveniently powering our circuit, we recommend creating a switch/JST adapter. Using a JST extension cable, we can splice it onto a slide switch. The male end of the JST connects to the GEMMA, while the female port connects to your rechargeable battery.Tin the middle and any outside pin of the slide switch with a small amount of solder. Be sure to apply rosin to each pin in order for the solder to stick properly. Use heat shrink tubing to secure our soldered connections.
Snip off the extra pin in the switch. It could cause a short in our circuit once it's mounted in the box enclosure.
Use a third helping hand to assist you. Use each arm to hold onto the JST ports. Use diagonal tweezers to hold the stripped wire with one hand while using your other hand to hold the soldering iron. |
Snip off any two diagonal pins and tin them.
Before soldering, be sure to add a piece of heat shrink tubing for securing the connection after you solder.
Solder one piece of wrapping wire to each pin.
With the wires securely soldered, put the heat shrink tubing over the connects and heat it up to seal the connections.
Once the button is wired up, solder the two wires to the GEMMA. Order of pins doesn't matter as long as one goes to 3V and the other to D1.
Before soldering, be sure to add a piece of heat shrink tubing for securing the connection after you solder.
Solder one piece of wrapping wire to each pin.
With the wires securely soldered, put the heat shrink tubing over the connects and heat it up to seal the connections.
Once the button is wired up, solder the two wires to the GEMMA. Order of pins doesn't matter as long as one goes to 3V and the other to D1.
- Pin A to 3V
- Pin B to D1
Here's what the complete circuit looks like. The push button should also have enough slack for it to move around in the enclosure. Gemma acts as BMO's brains, while the LED matrix+backpack is his face. We can assume the battery is his heart ;-)
The next page shows you how to put these electro guts into BMO's boxy box.
The next page shows you how to put these electro guts into BMO's boxy box.
Text editor powered by tinymce.