# FLORA Pixel Brooch

## Overview

https://www.youtube.com/watch?v=JgF_Cb8p_C0

![](https://cdn-learn.adafruit.com/assets/assets/000/002/746/medium800/flora_PB282306.jpg?1396786624)

Make this color-changing LED brooch with FLORA! It's a quick project with no soldering, just free-hand wiring to make the connections. Use our sample code or change it up to display whatever colors or fading effects you like! If you're new to FLORA, check out [the Getting Started guide](http://learn.adafruit.com/getting-started-with-flora) and the FLORA [FLORA RGB NeoPixels guide](http://learn.adafruit.com/flora-rgb-smart-pixels) prior to beginning this project.

![](https://cdn-learn.adafruit.com/assets/assets/000/002/717/medium800/flora_PB282278.jpg?1396786130)

Gather materials and tools:

- [FLORA main board](https://www.adafruit.com/products/659 "Link: https://www.adafruit.com/products/659")
- [FLORA RGB NeoPixels](http://www.adafruit.com/products/1260) (any number you like)
- [solid-core hookup wire](https://www.adafruit.com/products/290 "Link: https://www.adafruit.com/products/290")
- [3xAAA battery holder](https://www.adafruit.com/products/727 "Link: https://www.adafruit.com/products/727")or[LiPoly battery](https://www.adafruit.com/products/258 "Link: https://www.adafruit.com/products/258") (requires separate [charger](https://www.adafruit.com/products/259))  
- [magnetic pinback](http://www.adafruit.com/products/1170)
- [pliers](https://www.adafruit.com/products/146)
- [wire strippers](https://www.adafruit.com/products/527 "Link: https://www.adafruit.com/products/527")  

![](https://cdn-learn.adafruit.com/assets/assets/000/002/801/medium800/flora_Screen_Shot_2012-11-30_at_3.16.07_PM.png?1396787206)

Here's a Fritzing diagram for the circuit we will build!

# FLORA Pixel Brooch

## Connect first signal wire

![](https://cdn-learn.adafruit.com/assets/assets/000/002/718/medium800/flora_PB282280.jpg?1396786148)

Cut a small piece of hookup wire and use wire strippers to remove about 1/2 inch of the plastic coating at one end.

![](https://cdn-learn.adafruit.com/assets/assets/000/002/719/medium800/flora_PB282284.jpg?1396786169)

feed the bare wire end through the hole marked D6 on your FLORA.

![](https://cdn-learn.adafruit.com/assets/assets/000/002/720/medium800/flora_PB282285.jpg?1396786186)

Wrap the wire around the edge of the board and around itself to secure the wire. Pinch the D6 pad with your pliers to be sure the wire is making good contact to the metal.

![](https://cdn-learn.adafruit.com/assets/assets/000/002/721/medium800/flora_PB282286.jpg?1396786205)

Now it's time to decide where you'd like your first pixel. Hold it up to your FLORA to get an idea of how long the wire should be. This wire will connect to the pad on the pixel next to the inward-pointing arrow. **If you're using the newer v2 pixels, they will look slightly different, but the arrow notation is the same!**

![](https://cdn-learn.adafruit.com/assets/assets/000/002/722/medium800/flora_PB282287.jpg?1396786223)

Strip off the shielding off the wire at the desired length.

![](https://cdn-learn.adafruit.com/assets/assets/000/002/723/medium800/flora_PB282288.jpg?1396786241)

Slide the pixel onto this wire, using the hold next to the inward-pointing arrow.

![](https://cdn-learn.adafruit.com/assets/assets/000/002/724/medium800/flora_PB282289.jpg?1396786261)

Fold the bare wire around the pixel board.

![](https://cdn-learn.adafruit.com/assets/assets/000/002/725/medium800/flora_PB282290.jpg?1396786278)

Like you did earlier, twist the wire around itself and crimp with your pliers to ensure a strong connection. The pixel should not wiggle.

![](https://cdn-learn.adafruit.com/assets/assets/000/002/726/medium800/flora_PB282291.jpg?1396786295)

Done! Time to move on to the rest of the wiring...

# FLORA Pixel Brooch

## Connect power and ground wires

![](https://cdn-learn.adafruit.com/assets/assets/000/002/727/medium800/flora_PB282292.jpg?1396786312)

Cut a longer piece of wire-- about 6 inches. Remember: you can always make it shorter, but you can't make it longer!

![](https://cdn-learn.adafruit.com/assets/assets/000/002/728/medium800/flora_PB282293.jpg?1396786325)

Strip the end of the wire.

![](https://cdn-learn.adafruit.com/assets/assets/000/002/729/medium800/flora_PB282294.jpg?1396786344)

Attach this long wire to the FLORA pad marked VBATT in the same wrap-and-twist manner you used earlier.

![](https://cdn-learn.adafruit.com/assets/assets/000/002/730/medium800/flora_PB282295.jpg?1396786366)

See where your power wire will meet up with the pixel pad marked +, and strip the casing off of the wire past this point.

![](https://cdn-learn.adafruit.com/assets/assets/000/002/731/medium800/flora_PB282296.jpg?1396786382)

Thread the bare power wire through the pad marked +. Wrap it around the pad and crimp it to make a secure connection but DO NOT CUT the excess wire! You'll use it to chain to the next pixel's power pad.

![](https://cdn-learn.adafruit.com/assets/assets/000/002/732/medium800/flora_PB282298.jpg?1396786398)

Repeat the above steps for the ground wire, connected to the FLORA pad marked GND. Remember to keep the excess wire to use for the next pixels! With three points of contact, the angle and direction of your pixel design will start to take shape. I chose to arrange my three pixels in a curve following the contour of the edge of the FLORA board, and so made the first power connection longer than ground. You can arrange your pixels in a straight line or however you like.

# FLORA Pixel Brooch

## Add more pixels

![](https://cdn-learn.adafruit.com/assets/assets/000/002/734/medium800/flora_PB282299.jpg?1396786421)

Chain another pixel to the first! Use another short wire to connect the pad on the first pixel marked with an outward-pointing arrow to the inward-pointing arrow on the second pixel with the same wire wrapping technique used throughout.

![](https://cdn-learn.adafruit.com/assets/assets/000/002/735/medium800/flora_PB282300.jpg?1396786441)

Connect the + and - pads on the second pixel with the power and ground wires trailing off of the first pixel.

![](https://cdn-learn.adafruit.com/assets/assets/000/002/737/medium800/flora_PB282301.jpg?1396786460)

Add a third pixel in the same manner as the second. I connected the third pixel's ground (-) to the FLORA's GND pad to anchor the curved design, but it can also be connected to the second pixel's ground (-) pad.

![](https://cdn-learn.adafruit.com/assets/assets/000/002/738/medium800/flora_PB282302.jpg?1396786468)

You're done wiring! This is just one way to arrange the pixels. Make the design your own! You can use more or fewer pixels and have them arranged in any linear fashion you like.

# FLORA Pixel Brooch

## Program

![](https://cdn-learn.adafruit.com/assets/assets/000/002/739/medium800/flora_PB282303b.jpg?1396786489)

Connect the FLORA to your computer with a USB cable.

# For version 2 pixels:
Install the [NeoPixel library](https://github.com/adafruit/Adafruit_NeoPixel) and go to File--\>Examples--\>Adafruit\_NeoPixel--\>strandtest.![](https://cdn-learn.adafruit.com/assets/assets/000/009/701/medium800/flora_Screen_Shot_2013-05-14_at_2.48.57_PM_%282%29.png?1396895574)

![](https://cdn-learn.adafruit.com/assets/assets/000/009/700/medium800/flora_Screen_Shot_2013-07-16_at_5.01.55_PM.png?1396895543)

The example sketch is set for 60 pixels, so you can change "Adafruit\_NeoPixel(60...);" to "Adafruit\_NeoPixel(3...);" if you like, but it will still work just fine with the defaults. This sketch will animate through all colors and is a good test. Be sure this sketch lights up your pixels before making any modifications to the code.

# For version 1 pixels:
In the Adafruit IDE, open up the Smart Pixels sample code-- go to File--\>Examples--\>Adafruit\_FloraPixel--\>floratest. Check out our "[Getting Started with Flora](http://learn.adafruit.com/getting-started-with-flora/overview)" tutorial for more info on the software.  
![](https://cdn-learn.adafruit.com/assets/assets/000/002/747/medium800/flora_Screen_Shot_2012-11-29_at_4.16.09_PM.png?1396786651)

![](https://cdn-learn.adafruit.com/assets/assets/000/002/748/medium800/flora_Screen_Shot_2012-11-29_at_4.16.35_PM.png?1396786677)

The example sketch is set for eight pixels, so you can change "Adafruit\_FloraPixel(8);" to "Adafruit\_FloraPixel(3);" if you like, but it will still work just fine with the defaults. This sketch will animate through all colors and is a good test. Be sure this sketch lights up your pixels before making any modifications to the code.

# FLORA Pixel Brooch

## Power it up

![](https://cdn-learn.adafruit.com/assets/assets/000/002/740/medium800/flora_PB282304.jpg?1396786506)

The easiest and safest way to power your FLORA brooch is with a 3xAAA battery holder.

![](https://cdn-learn.adafruit.com/assets/assets/000/002/741/medium800/flora_PB282305.jpg?1396786521)

You can also power your FLORA project with a rechargeable lithium polymer battery which is slimmer and can be taped to the back of the FLORA.

![](https://cdn-learn.adafruit.com/assets/assets/000/002/745/medium800/flora_PB282306.jpg?1396786604)

The new bootloader instantly runs your program when battery power is supplies, but earlier versions takes about eight seconds for the FLORA to "boot." You'll see the red onboard LED pulse during this time, then your pixels should light up. Oohh, blinky! If your pixels don't all light up, crimp your wire connections again to ensure&nbsp; they are making good contact.

# FLORA Pixel Brooch

## Wear your Pixel Brooch!

![](https://cdn-learn.adafruit.com/assets/assets/000/002/742/medium800/flora_PB282303.jpg?1396786541)

Affix an adhesive or magnetic pinback to your FLORA so you can wear it as a brooch!

![](https://cdn-learn.adafruit.com/assets/assets/000/002/743/medium800/flora_PB282319.jpg?1396786561)

Pin it on and tuck the battery in your pocket, or use double-stick tape to affix it to the back of FLORA.

![](https://cdn-learn.adafruit.com/assets/assets/000/002/744/medium800/flora_PB282321.jpg?1396786581)

Wear and enjoy!


## Featured Products

### FLORA - Wearable electronic platform: Arduino-compatible

[FLORA - Wearable electronic platform: Arduino-compatible](https://www.adafruit.com/product/659)
FLORA is Adafruit's fully-featured wearable electronics platform. It's a round, sewable, Arduino-compatible microcontroller designed to empower amazing wearables projects.FLORA comes with Adafruit's support, [tutorials and...](http://learn.adafruit.com/category/flora)

In Stock
[Buy Now](https://www.adafruit.com/product/659)
[Related Guides to the Product](https://learn.adafruit.com/products/659/guides)
### Flora RGB Smart NeoPixel version 3 - Pack of 4

[Flora RGB Smart NeoPixel version 3 - Pack of 4](https://www.adafruit.com/product/1260)
What's a wearable project without LEDs? Our favorite part of the Flora platform is these tiny smart pixels. Designed specifically for wearables, these updated Flora NeoPixels have ultra-cool technology: these ultra-bright LEDs have a constant-current driver cooked right into the LED...

Out of Stock
[Buy Now](https://www.adafruit.com/product/1260)
[Related Guides to the Product](https://learn.adafruit.com/products/1260/guides)
### Solid-Core Wire Spool - 25ft - 22AWG - Black

[Solid-Core Wire Spool - 25ft - 22AWG - Black](https://www.adafruit.com/product/290)
Perfect for bread-boarding, free wiring, etc. This spool of solid-core wire is easy to solder to. When bent it keeps its shape pretty well. We like to have a few spools of this stuff around. We suggest picking up wire strippers to match. Wire gauge is 22 AWG which we've found is the best...

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

[Lithium Ion Polymer Battery - 3.7v 150mAh](https://www.adafruit.com/product/1317)
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 150mAh for a total of about 0.6 Wh. If you need a larger battery, <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/1317)
[Related Guides to the Product](https://learn.adafruit.com/products/1317/guides)
### Magnetic Pin Back

[Magnetic Pin Back](https://www.adafruit.com/product/1170)
These magnetic pin backs have two pieces: a metal bar with adhesive strip and a plastic piece with two strong rare-earth magnets. Affix the metal bar to your FLORA projects-- it's just the right size! Then attach your FLORA project to any garment without poking holes in your clothes. The...

In Stock
[Buy Now](https://www.adafruit.com/product/1170)
[Related Guides to the Product](https://learn.adafruit.com/products/1170/guides)
### Hakko Professional Quality 20-30 AWG Wire Strippers

[Hakko Professional Quality 20-30 AWG Wire Strippers](https://www.adafruit.com/product/527)
These are the finest wire strippers we have used, and if you have to do a lot of wiring, you will agree! They have soft rounded grips - very comfortable to use, and precision ground notches that do a perfect job every time. No more yanking or twisting to strip wires cleanly and quickly.<br...></br...>

In Stock
[Buy Now](https://www.adafruit.com/product/527)
[Related Guides to the Product](https://learn.adafruit.com/products/527/guides)
### Simple pliers

[Simple pliers](https://www.adafruit.com/product/146)
Simple needlenose pliers for twisting, pulling and pliering your project.

In Stock
[Buy Now](https://www.adafruit.com/product/146)
[Related Guides to the Product](https://learn.adafruit.com/products/146/guides)
### Getting Started with Adafruit FLORA

[Getting Started with Adafruit FLORA](https://www.adafruit.com/product/1839)
 **Making Wearables with an Arduino-Compatible Electronics Platform**  
  
This book introduces readers to building wearable electronics projects using Adafruit's tiny FLORA board: at 4.4 grams, and only 1.75 inches in diameter, and featuring Arduino compatibility, it's the...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/1839)
[Related Guides to the Product](https://learn.adafruit.com/products/1839/guides)

## Related Guides

- [LED Stego Flex Spike Hoodie](https://learn.adafruit.com/led-stego-flex-spike-hoodie.md)
- [Build your own Borg (BYOB)](https://learn.adafruit.com/build-your-own-borg-byob.md)
- [SMSsenger Bag](https://learn.adafruit.com/smssenger-bag.md)
- [Let’s Put LEDs in Things!](https://learn.adafruit.com/lets-put-leds-in-things.md)
- [Space Face LED Galaxy Makeup](https://learn.adafruit.com/space-face-led-galaxy-makeup.md)
- [How to Find Hidden COM Ports](https://learn.adafruit.com/how-to-find-hidden-com-ports.md)
- [EEG Costume Cap](https://learn.adafruit.com/eeg-costume-cap.md)
- [GPS Logging Dog Harness](https://learn.adafruit.com/gps-logging-dog-harness.md)
- [FLORAbrella](https://learn.adafruit.com/florabrella.md)
- [FLORA and GEMMA ICSP](https://learn.adafruit.com/flora-and-gemma-isp.md)
- [STEAM-Punk Goggles](https://learn.adafruit.com/steam-punk-goggles.md)
- [Ursula's Seashell Necklace](https://learn.adafruit.com/ursulas-seashell-necklace.md)
- [Magic Light Bag of Holding](https://learn.adafruit.com/magic-light-bag-of-holding.md)
- [Sparkle Skirt](https://learn.adafruit.com/sparkle-skirt.md)
- [Adafruit Arduino IDE Setup](https://learn.adafruit.com/adafruit-arduino-ide-setup.md)
