# Bunny Ears with MakeCode

## Introduction

https://youtu.be/-e9c_cxSAGQ

Everyone needs a friend who is all ears. Get egg-cited&nbsp;and make a set of motion-reactive light up bunny ears with Circuit Playground Express and MakeCode.&nbsp;&nbsp;

These are the perfect accessory to draw attention away from your bad hare day.&nbsp;Be the fast and the furriest; the most unique bunny in the park.&nbsp; (How do you catch a unique bunny?&nbsp; Unique up on it)

Wear them to IHOP or take them&nbsp;on your Bunnymoon, or just use them to cover your receding hare line.&nbsp; &nbsp;You'll be so sparkly that everyone will want to hop down YOUR bunny trail.

This project is a great one to do with kids.&nbsp; There's a bit of soldering involved, a bit of hand sewing, and you'll have fun dragging and dropping code snippet blocks with MakeCode, to make the ears react to your bunny hops.&nbsp; Egg-spress yourself with Circuit Playground!

### Circuit Playground Express

[Circuit Playground Express](https://www.adafruit.com/product/3333)
 **Circuit Playground Express** is the next step towards a perfect introduction to electronics and programming. We've taken the original Circuit Playground Classic and made it even better! Not only did we pack even more sensors in, we also made it even easier to...

In Stock
[Buy Now](https://www.adafruit.com/product/3333)
[Related Guides to the Product](https://learn.adafruit.com/products/3333/guides)
![A Black woman's manicured hand holds a round microcontroller with lit up LEDs.](https://cdn-shop.adafruit.com/640x480/3333-05.jpg)

### Adafruit NeoPixel Digital RGB LED Strip - White 60 LED

[Adafruit NeoPixel Digital RGB LED Strip - White 60 LED](https://www.adafruit.com/product/1138)
You thought it couldn't get better than [our world-famous 32-LED-per-meter Digital LED strip](http://adafruit.com/products/306) but we will prove you wrong! You wanted **twice the LEDs**? We got it (well, its 1.875 times as many but that's within a margin of...

Out of Stock
[Buy Now](https://www.adafruit.com/product/1138)
[Related Guides to the Product](https://learn.adafruit.com/products/1138/guides)
![Adafruit NeoPixel Digital RGB LED Strip reel wired to a microcontroller, with all the LEDs in a rainbow](https://cdn-shop.adafruit.com/640x480/1138-00.jpg)

### Lithium Ion Polymer Battery - 3.7v 500mAh

[Lithium Ion Polymer Battery - 3.7v 500mAh](https://www.adafruit.com/product/1578)
Lithium-ion polymer (also known as 'lipo' or 'lipoly') batteries are thin, light, and powerful. The output ranges from 4.2V when completely charged to 3.7V. This battery has a capacity of 500mAh for a total of about 1.9 Wh. If you need a larger (or smaller!) battery, <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/1578)
[Related Guides to the Product](https://learn.adafruit.com/products/1578/guides)
![Angled shot of a Lithium Ion Polymer Battery 3.7V 500mAh with JST-PH connector.](https://cdn-shop.adafruit.com/640x480/1578-03.jpg)

### Adafruit Micro Lipo - USB LiIon/LiPoly charger

[Adafruit Micro Lipo - USB LiIon/LiPoly charger](https://www.adafruit.com/product/1304)
Oh so adorable, this is the tiniest little lipo charger, so handy you can keep it any project box! Its also easy to use. Simply plug in the gold plated contacts into any USB port and a 3.7V/4.2V lithium polymer or lithium ion rechargeable battery into the JST plug on the other end. There are...

In Stock
[Buy Now](https://www.adafruit.com/product/1304)
[Related Guides to the Product](https://learn.adafruit.com/products/1304/guides)
![Top view of Adafruit Micro Lipo - USB LiIon/LiPoly charger - v1 above a 2-pin JST cable.](https://cdn-shop.adafruit.com/640x480/1304-06.jpg)

### JST 2-pin Extension Cable with On/Off Switch - JST PH2

[JST 2-pin Extension Cable with On/Off Switch - JST PH2](https://www.adafruit.com/product/3064)
By popular request - we now have a way you can turn on-and-off Lithium Polymer batteries without unplugging them.

This **PH2 Female/Male&nbsp;JST 2-pin Extension Cable&nbsp;** comes with an in-line **Switch** - click once to turn on, click again to turn off....

In Stock
[Buy Now](https://www.adafruit.com/product/3064)
[Related Guides to the Product](https://learn.adafruit.com/products/3064/guides)
![Top view shot of JST 2-pin Extension Cable with On/Off Switch.](https://cdn-shop.adafruit.com/640x480/3064-02.jpg)

### Silicone Cover Stranded-Core Wire - 26AWG in Various Colors

quantity: 3
[Silicone Cover Stranded-Core Wire - 26AWG in Various Colors](https://www.adafruit.com/product/1970)
Silicone-sheathing wire is super-flexible and soft, and it's also strong! Able to handle up to 200°C and up to 600V, it will do when PVC covered wire wimps out. We like this wire for being extremely supple and flexible, so it is great for wearables or projects where the wire-harness...

Out of Stock
[Buy Now](https://www.adafruit.com/product/1970)
[Related Guides to the Product](https://learn.adafruit.com/products/1970/guides)
![Stranded-core wires in white, gray, black, blue, green, red, orange, and yellow.](https://cdn-shop.adafruit.com/640x480/1970-00.jpg)

# Tools & Other Materials

- [Bunny ears](https://www.amazon.com/gp/product/B06XPFSZ7M/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1)
- Hair clips / barettes
- Soldering iron & accessories
- [Clear 1/4" heat shrink](https://www.amazon.com/White-Shrink-Tubing-Sleeve-Storage/dp/B074238NS9/ref=sr_1_5?s=industrial&ie=UTF8&qid=1518562376&sr=1-5&keywords=clear+1%2F4%22+heat+shrink)
- Hot glue gun
- Heat gun
- Needle & thread

![](https://cdn-learn.adafruit.com/assets/assets/000/051/037/medium800/wearables_bunnyears_large.jpg?1518720709)

# Bunny Ears with MakeCode

## Programming with MakeCode

The Circuit Playground Express can be programmed a number of ways: it will run Arduino code, CircuitPython, or you can program it with MakeCode.&nbsp;&nbsp;

 **Microsoft MakeCode for Adafruit&nbsp;** is a web-based code editor&nbsp;for physical computing. It provides a block editor, similar to Scratch or Code.org, and also a JavaScript editor for more advanced users.&nbsp;

This means you can drag and drop light animations and functionality using the Circuit Playground Express' onboard sensors without ever writing a single line of code.&nbsp; &nbsp;Just snap the blocks together and watch your lights dance.

[Check out our MakeCode intro guide here.](https://learn.adafruit.com/makecode/what-is-makecode)
For this project, I'm using the tilt and shake functions on the Circuit Playground Express to trigger animations.&nbsp; Tilt your head left and a "photon" animation runs from left to right.&nbsp; Tilt your head right and the same animation runs from right to left.&nbsp; If you shake your head (or hop up and down like a bunny) then the twinkle animation is triggered.

[Check out this guide](../../../../neopixels-with-makecode/overview) for more info on working with neopixel strands and building your own animations.

Go to&nbsp;[https://makecode.adafruit.com/](https://makecode.adafruit.com/)and select "New Project".

# **Set Up the Light Strand**
We soldered our light strand to pin A1.&nbsp; Tell the code by adding an&nbsp;`on start`&nbsp;loop (Loops \>&nbsp;`on start`).&nbsp; This block will run ONCE when the board powers up, so it's the perfect place to define our setup.

Drag the&nbsp;`on start`&nbsp;block onto the workspace.&nbsp; We don't need the "forever" block so you can delete it.

![wearables_bunnyears_makecode_00.jpg](https://cdn-learn.adafruit.com/assets/assets/000/050/924/medium640/wearables_bunnyears_makecode_00.jpg?1518545883)

Next go to "Variables" add a new variable called `(strip)`.&nbsp; Then, drag&nbsp;`set (item) to 0`&nbsp;into the&nbsp;`on start`&nbsp;block.&nbsp; &nbsp;

Change the default`(item)`variable to the one you just made:&nbsp;`(strip)`.&nbsp;&nbsp;

Go to the "Neopixel" bin (you may need to click the "Light" bin to make it appear).&nbsp; Drag&nbsp;`create strip on (A1) with (24) pixels`&nbsp;into the block you just made, replacing the `(0) `.&nbsp; Change the `(24)` to reflect the number of pixels you have in ONE ear (I have 20).

![wearables_bunnyears_makecode_01.jpg](https://cdn-learn.adafruit.com/assets/assets/000/050/925/medium640/wearables_bunnyears_makecode_01.jpg?1518545906)

# **Add "Shake" Animation**
Go to "input" and grab the `on (shake)` block.&nbsp; &nbsp;

Go back to the "Neopixel" bin and choose `(strip) show animation for (500) ms`

You can choose from six different pre-programmed animations.&nbsp; I chose the Twinkle animation.&nbsp; You can also specify here how long you'd like the animation to run when you shake / hop.&nbsp; I liked 2 seconds -- experiment to find what works for you.

To make the lights turn off at the end of the specified time, place a Neopixel \> `(strip) clear` block after the animation block.

![wearables_bunnyears_makecode_02.jpg](https://cdn-learn.adafruit.com/assets/assets/000/050/926/medium640/wearables_bunnyears_makecode_02.jpg?1518546088)

![wearables_bunnyears_makecode_035.jpg](https://cdn-learn.adafruit.com/assets/assets/000/050/974/medium640/wearables_bunnyears_makecode_035.jpg?1518560567)

# Download Code

Let's test to see if it's working.&nbsp;

1. Plug your Circuit Playground Express into your computer with a USB cable.&nbsp;
2. Click the reset button.&nbsp;
3. Green lights will appear on the Circuit Playground's face&nbsp; and it will appear in your list of devices, called **CPLAYBOOT**.&nbsp;

_If you don't see this, try double-clicking the reset button instead of single-clicking._

Click the pink **Download** button on your MakeCode screen and the code you just made will download to your computer.&nbsp; Drag it onto the **CPLAYBOOT** device.&nbsp;&nbsp;

Shake your Circuit Playground and see the neopixel strands twinkle!

# Add Tilt Animations

Let's make the lights react when you tilt your head to the side.&nbsp; We'll use the "Photon" option for this.&nbsp; It's a little more complicated to use than the pre-canned animations, but you have a lot more control as well.&nbsp;

Photon moves a light or series of lights along the light strand from one end to the other.&nbsp; You can control a lot of factors like color, speed and tail length.&nbsp;&nbsp;

[More about using the Photon animation in this guide](../../../neopixels-with-makecode/photon).

Drag another instance of `on (shake)` from the "Inputs" bin.&nbsp; Change `(shake)` to `(tilt left)`

To start the Photon animation, drag an instance of` (strip) photon pen (down)` from the "Neopixels" bin.&nbsp;&nbsp;``

``

![wearables_bunnyears_makecode_03.jpg](https://cdn-learn.adafruit.com/assets/assets/000/050/979/medium640/wearables_bunnyears_makecode_03.jpg?1518560895)

 **NOTE:** there are also instances of the photon functions in the "Light" bin.&nbsp; These don't have a variable attached, which means these animations will run on the face of the Circuit Playground and not on your Neopixel strip.&nbsp; Be sure you've got the right one!

From the "Loops" bin, drag a&nbsp;`repeat (4) times` block inside the `on (tilt left)` block.&nbsp; Change the `(4)` to the number of neopixels in ONE strip (I have 20).

&nbsp;

This will make the photon animation repeat for each neopixel you have, creating the apparent motion.

![wearables_bunnyears_makecode_05.jpg](https://cdn-learn.adafruit.com/assets/assets/000/050/981/medium640/wearables_bunnyears_makecode_05.jpg?1518560953)

Add Neopixel \> `(strip) photon forward by (1)` block inside the loop block.&nbsp; Drag a `pause (500) ms` block below it.&nbsp;

These blocks will control your animation speed.&nbsp; The first block advances the light by one pixel and the second controls how quickly this happens.&nbsp; I changed mine to `pause (10) ms` because I want the animation to run really fast.

Get another instance of` (strip) photon (pen down)`.&nbsp; The quickest way to do this is to click on the block and copy it to your clipboard, and then paste it into your workspace (ctrl-c, ctrl-v).&nbsp; Change `(pen down)` to `(eraser)`.&nbsp; From here you can drag it below your loop function within the `on (tilt left)` block.&nbsp;&nbsp;

Copy and paste the loop function too, and drag that below the new `(eraser)` function you just made.

![wearables_bunnyears_makecode_06.jpg](https://cdn-learn.adafruit.com/assets/assets/000/050/983/medium640/wearables_bunnyears_makecode_06.jpg?1518561009)

Change `(strip) photon forward by (1)` to `(strip) photon forward by (-1)`.&nbsp; This will make the animation disappear (eraser) in the reverse direction as it was originally drawn.

# Shifting Color Hues

Each hue on the neopixel strip is assigned a value: red is 0, yellow is around 60, and the colors cycle back around to red at 255.&nbsp;

We can use a variable to make the colors change periodically.&nbsp; If we start with red (hue 0) and add 5, we get an orangey-red.&nbsp; Add 5 more, and then 5 more, and the color will cycle through to orange and yellow and so on, all the way around the rainbow.&nbsp; &nbsp; MakeCode is smart enough to automatically wrap back to 0 when it reaches 255.

Let's use the `(item)` variable, which is already set up for us.

&nbsp;

Drag Neopixel \> `(strip) photon set pen hue (0)` into your loop as shown in the photo.&nbsp; Drag Variables \> `(item)` to replace the `(0)`.

Drag Variables \> `change (item) by (1)` below that.&nbsp; Set the `(1)` to` (5)`.&nbsp; This will change each LED's hue by 5 steps each time a pixel is colored.&nbsp; A value of 5 makes a nice gradient, but play with it to get a value you like.

![wearables_bunnyears_makecode_07.jpg](https://cdn-learn.adafruit.com/assets/assets/000/050/985/medium640/wearables_bunnyears_makecode_07.jpg?1518561046)

Download the code and drag it to **CPLAYBOOT** to test your animations.&nbsp; You can download and test as many times as you want until you get it just right.

Once `(tilt left)` is working the way you want, we can copy/paste most of the blocks to add a `(tilt right)` animation.&nbsp;

Click the on `(tilt left)` block and copy/paste another instance of it onto your worktop.&nbsp; Change on `(tilt left)` to `(tilt right)`.

&nbsp;

Change the FIRST instance of` (strip) photon forward by (1)` to` (-1)` and the SECOND instance to `(1)`.&nbsp; This will make the animation run from right to left, instead of left to right.

![wearables_bunnyears_makecode_08.jpg](https://cdn-learn.adafruit.com/assets/assets/000/050/986/medium640/wearables_bunnyears_makecode_08.jpg?1518561072)

Here's the completed project that you can play with directly.

https://makecode.com/_cW0TsvXDw1yj

# Bunny Ears with MakeCode

## Wiring Diagram

![](https://cdn-learn.adafruit.com/assets/assets/000/050/987/medium800/wearables_bunnyears_wiring.jpg?1518563737)

- Circuit Playground VOUT --\> Neopixel 5v (to one strip)
- Circuit Playground G --\> Neopixel G (to the same strip)
- Circuit Playground A1 --\> Neopixel IN ( **2 wires** : one to each strip)

### Power

Your battery will plug in to one end of the JST extension cable / switch.&nbsp; The leads from the other end of the switch will be soldered to the IN end of your second strip of neopixels (the one **NOT** used by the Circuit Playground).

The two neopixel strips will also have a power and ground wire running from the OUT of one to the OUT of the other.&nbsp; &nbsp;&nbsp;

Power will flow from the battery through the switch, and into the second Neopixel strand.&nbsp; It will continue out of that strip and into the first strip, then from there into the Circuit Playground.&nbsp; This will both protect your Circuit Playground from LEDs drawing too much voltage accidentally, and also balance the weight and bulk of the battery and the Circuit Playground between the two bunny ears.

Remember: Pixel data can only flow **one way,** from the IN end of the strip to the OUT end.&nbsp; Power can flow **either direction,** so it's fine to hook up your power supply to the opposite end of the strip from your microcontroller.

![](https://cdn-learn.adafruit.com/assets/assets/000/050/991/medium800/wearables_bunny_wired.jpg?1518564615)

# Bunny Ears with MakeCode

## Assembly

## Wire the Neopixels
Measure the distance around the edges your bunny ears and cut two neopixel strips to fit snugly inside.&nbsp; My strips ended up with 20 neopixels each.

&nbsp;

Cut carefully through the center of the copper pads, being sure to leave enough pad on each side for soldering.

![wearables_00_materials.jpg](https://cdn-learn.adafruit.com/assets/assets/000/050/994/medium640/wearables_00_materials.jpg?1518630454)

Find the "in" end of each cut strip (the arrows should be facing AWAY from that end).&nbsp; Solder 3 color coded wires to each strip: red to 5v, black to G, and white to IN.

![wearables_01_wirestrips.jpg](https://cdn-learn.adafruit.com/assets/assets/000/050/995/medium640/wearables_01_wirestrips.jpg?1518630588)

The wires should be about 5" long for one strip, and about 10" long for the other.&nbsp; We can trim them down later, so when guesstimating lengths, always err on the side of "too long".

We'll call the one with shorter wires strip #1, and the one with longer wires strip #2.

Look closely at your on/off switch.&nbsp; Figure out which end the battery wants to plug into: this is the male end and we'll leave that one alone.&nbsp; Find the other end (the female end) and snip the connector off with wire cutters.

&nbsp;

Splice the long red and black wire attached to strip #2 to the red and black wire coming from the switch.

![wearables_02_cutswitch.jpg](https://cdn-learn.adafruit.com/assets/assets/000/050/996/medium640/wearables_02_cutswitch.jpg?1518630693)

Solder a 4" red and black wire from the OUT end of strip #1 to the OUT end of strip #2.&nbsp;&nbsp;

&nbsp;

Test to be sure your connections are good by hooking up some alligator clips to the remaining free wires.&nbsp; Attach&nbsp; **BOTH** white wires to A1.&nbsp; Then attach the free red wire coming from strip #1 to VOUT and the free black wire to G on the Circuit Playground.

![wearables_04_temporarywires.jpg](https://cdn-learn.adafruit.com/assets/assets/000/050/997/medium640/wearables_04_temporarywires.jpg?1518630910)

![wearables_03_alligatorclips.jpg](https://cdn-learn.adafruit.com/assets/assets/000/050/998/medium640/wearables_03_alligatorclips.jpg?1518631051)

If all your connections are good, the strips will light up when you plug in your battery and tilt the Circuit Playground.&nbsp; Let's secure the ends of the strips so they don't ever pull out or break while you're wearing the ears.

## Secure Strip Ends
Cut four pieces of 1/4" clear heat shrink and place them over the end of each strip.&nbsp; Before you shrink them down, squirt some hot glue onto the strand to cover the solder connections.&nbsp; Then while the glue is still wet, use a heat gun to shrink the heat shrink down.&nbsp; This will create an indestructible and waterproof seal for your LED strips.

![wearables_05_heatshrink.jpg](https://cdn-learn.adafruit.com/assets/assets/000/050/999/medium640/wearables_05_heatshrink.jpg?1518631133)

![wearables_06_heatshrink2.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/000/medium640/wearables_06_heatshrink2.jpg?1518631140)

Take off your alligator clips and solder those four wires to the Circuit Playground's pads.

![wearables_08_wired.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/002/medium640/wearables_08_wired.jpg?1518631372)

## Install in the Ears
Use a thread ripper to carefully remove both ears from the headband.

&nbsp;

Fold the neopixel strip gently in half with the lights facing **outwards**.&nbsp; Slip the strips up inside the ears to be sure they fit.

![wearables_09_removeears.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/003/medium640/wearables_09_removeears.jpg?1518631466)

![wearables_10_ledsinears.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/004/medium640/wearables_10_ledsinears.jpg?1518631478)

Orient the ears so the animation runs from left to right when you tilt the board to the right, and vice versa.&nbsp; Think about how it's going to sit on your head and be sure it makes sense to you.&nbsp; It's easy to get the ears on backwards, so take a minute and be sure you've got things laid out right.

![wearables_11_test.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/005/medium640/wearables_11_test.jpg?1518631575)

Once you're SURE you've got the layout right, remove the neopixel strand from one ear and turn the ear inside out.&nbsp; &nbsp;

&nbsp;

The Circuit Playground needs to be oriented carefully for the tilt sensors to work right.&nbsp; Mark the top and bottom with respect to the ground and sky while the ears are on.&nbsp; Don't just align it with the ear's top and bottom since the ear will be on your head at an angle.

![wearables_12_placecpx.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/006/medium640/wearables_12_placecpx.jpg?1518631826)

Sew the Circuit Playground onto the **back** &nbsp;panel of the ear through the unused pads.&nbsp; You can also use your thread ripper to cut a small slit in the back of the ear to make the USB port accessible, in case you want to change or adjust the code later on.

![wearables_13_sewcpx.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/007/medium640/wearables_13_sewcpx.jpg?1518631956)

Turn the ear right-side out again and replace the neopixel strip.&nbsp; Stuff the battery inside the opposite ear.&nbsp; Test your orientation again!&nbsp; The Circuit Playground should be on the **BACK** of one ear and the USB port should be perpendicular to the ground.&nbsp; Be sure the animation on both ears is running in the correct direction.&nbsp;

![wearables_14_stuffwires.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/008/medium640/wearables_14_stuffwires.jpg?1518632038)

We'll need to be able to get to the battery for charging.&nbsp; Cut a small hole near the bottom of the battery-containing ear and slip the JST connector through before plugging it into the switch.&nbsp; This way it will be on the outside, so you can easily hook it up to the charger.

![wearables_16_powerhole.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/010/medium640/wearables_16_powerhole.jpg?1518632195)

Place the switch on the back of the headband between the ears.&nbsp; Stuff the wires inside the ears and sew them to the headband, being sure you can still get to the JST connector.

![wearables_17_placeswitch.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/012/medium640/wearables_17_placeswitch.jpg?1518632332)

![wearables_18_mischiefmanaged.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/013/medium640/wearables_18_mischiefmanaged.jpg?1518632384)

Decorate your ears with flowers, ribbons, glitter, jewels, or the crushed skulls of your enemies.

&nbsp;

The ears are a little heavier now than when you bought them.&nbsp; Use some hair clips or barrettes to help secure them to your head, so they don't tip off when you tilt to activate the animations.

![wearables_19_decorate.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/014/medium640/wearables_19_decorate.jpg?1518632413)


## Guide Products

### Circuit Playground Express

[Circuit Playground Express](https://www.adafruit.com/product/3333)
 **Circuit Playground Express** is the next step towards a perfect introduction to electronics and programming. We've taken the original Circuit Playground Classic and made it even better! Not only did we pack even more sensors in, we also made it even easier to...

In Stock
[Buy Now](https://www.adafruit.com/product/3333)
[Related Guides to the Product](https://learn.adafruit.com/products/3333/guides)
### Adafruit NeoPixel Digital RGB LED Strip - White 60 LED

[Adafruit NeoPixel Digital RGB LED Strip - White 60 LED](https://www.adafruit.com/product/1138)
You thought it couldn't get better than [our world-famous 32-LED-per-meter Digital LED strip](http://adafruit.com/products/306) but we will prove you wrong! You wanted **twice the LEDs**? We got it (well, its 1.875 times as many but that's within a margin of...

Out of Stock
[Buy Now](https://www.adafruit.com/product/1138)
[Related Guides to the Product](https://learn.adafruit.com/products/1138/guides)
### Lithium Ion Polymer Battery - 3.7v 500mAh

[Lithium Ion Polymer Battery - 3.7v 500mAh](https://www.adafruit.com/product/1578)
Lithium-ion polymer (also known as 'lipo' or 'lipoly') batteries are thin, light, and powerful. The output ranges from 4.2V when completely charged to 3.7V. This battery has a capacity of 500mAh for a total of about 1.9 Wh. If you need a larger (or smaller!) battery, <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/1578)
[Related Guides to the Product](https://learn.adafruit.com/products/1578/guides)
### Adafruit Micro Lipo - USB LiIon/LiPoly charger

[Adafruit Micro Lipo - USB LiIon/LiPoly charger](https://www.adafruit.com/product/1304)
Oh so adorable, this is the tiniest little lipo charger, so handy you can keep it any project box! Its also easy to use. Simply plug in the gold plated contacts into any USB port and a 3.7V/4.2V lithium polymer or lithium ion rechargeable battery into the JST plug on the other end. There are...

In Stock
[Buy Now](https://www.adafruit.com/product/1304)
[Related Guides to the Product](https://learn.adafruit.com/products/1304/guides)
### JST 2-pin Extension Cable with On/Off Switch - JST PH2

[JST 2-pin Extension Cable with On/Off Switch - JST PH2](https://www.adafruit.com/product/3064)
By popular request - we now have a way you can turn on-and-off Lithium Polymer batteries without unplugging them.

This **PH2 Female/Male&nbsp;JST 2-pin Extension Cable&nbsp;** comes with an in-line **Switch** - click once to turn on, click again to turn off....

In Stock
[Buy Now](https://www.adafruit.com/product/3064)
[Related Guides to the Product](https://learn.adafruit.com/products/3064/guides)
### Silicone Cover Stranded-Core Wire - 26AWG in Various Colors

[Silicone Cover Stranded-Core Wire - 26AWG in Various Colors](https://www.adafruit.com/product/1970)
Silicone-sheathing wire is super-flexible and soft, and it's also strong! Able to handle up to 200°C and up to 600V, it will do when PVC covered wire wimps out. We like this wire for being extremely supple and flexible, so it is great for wearables or projects where the wire-harness...

Out of Stock
[Buy Now](https://www.adafruit.com/product/1970)
[Related Guides to the Product](https://learn.adafruit.com/products/1970/guides)

## Related Guides

- [Adafruit Circuit Playground Express](https://learn.adafruit.com/adafruit-circuit-playground-express.md)
- [Snake Charmer Box](https://learn.adafruit.com/snakecharmer.md)
- [Sensors in MakeCode](https://learn.adafruit.com/sensors-in-makecode.md)
- [HalloWing Lightsabers](https://learn.adafruit.com/hallowing-lightsaber.md)
- [Glowing Interactive Crystal Staff ](https://learn.adafruit.com/glowing-interactive-crystal-staff.md)
- [Wonder Woman Cosplay Bracers](https://learn.adafruit.com/wonder-woman-cosplay-bracers.md)
- [Cardboard Circuit Playground Express Inchworm Robot](https://learn.adafruit.com/cardboard-robot-inchworm.md)
- [NeoTrellis Feather Case Assembly](https://learn.adafruit.com/neotrellis-feather-case-assembly.md)
- [Cam Follower Automaton](https://learn.adafruit.com/cam-follower-automaton.md)
- [Make It Bubble](https://learn.adafruit.com/make-it-bubble.md)
- [NeoPixel Fairy Crown](https://learn.adafruit.com/neopixel-fairy-crown.md)
- [CircuitPython BLE Advertising Beacons](https://learn.adafruit.com/circuitpython-ble-advertising-beacons.md)
- [Crickit Powered Maker Ice Cream Truck!](https://learn.adafruit.com/crickit-maker-ice-cream-truck.md)
- [Lucio Blaster 2020 - CircuitPython for Advanced Prop Making](https://learn.adafruit.com/lucio-blaster-2020-circuitpython-advanced-prop-making.md)
- [Bubble Table with LED Animations and IR Remote Control](https://learn.adafruit.com/bubble-table-with-led-animations-and-ir-remote-control.md)
- [Tightrope Unicycle Bot](https://learn.adafruit.com/tightrope-unicycle-bot.md)
