Insert 3 AA alkaline batteries (or 4 NiMH if you’re using that type). Make sure it’s switched OFF for the time being.
Now take two of the 5-wire block connectors and flip open one lever on each…
These levers require a LOT of force to open! Young makers might need a parent’s assistance with this part.
They also snap shut quite forcefully, so be careful.
Insert the + and – leads from the battery box into separate block connectors and snap the lever shut. Look down the hole to make sure it’s clamped down on bare wire, not the insulation.
Strip about 1 cm of insulation from the end of each long wire (2 each from the Arduino, Bluetooth board and both ends of the NeoPixel strip — 8 wires total).
If stranded wire, give the ends a slight twist and then “tin” the wires with a little solder.
Connect the JST plug to join the Arduino and NeoPixels.
Then flick the power switch…
- Did you install fresh batteries in the case? Are they each oriented the correct way?
- Look for electrical shorts; + and – may have inadvertently been crossed somewhere.
- Examine the block connectors closely. Are they biting down on wire, or on insulation?
Are you using an Arduino Micro or Leonardo board? Other boards like the Uno don’t have quite enough RAM, and the code will just hang.
The status LED on the Arduino board will flash quickly while it awaits a Bluetooth connection. Running one of the above apps on your phone or tablet, select “Connect” or “UART Monitor.” You may need to select the Bluetooth device from a list. Once a connection has been established, the LED on the Arduino will flash slowly to indicate that it’s working.
If you’re having trouble establishing a connection, try working though the Getting Started with the nRF8001 guide first. Once that’s working, re-upload the Guggenhat code to the Arduino.
Type “HELLO” and press “Send.” This should scroll the word around the hat, illuminated in red LEDs. Try other messages…anything up to 20 characters max. Later we’ll explain how to change colors.
Edit the Guggenhat sketch and change the WIDTH value to this number. Re-upload to the board.