# Flora+NeoPixel LED Skateboard Upgrade

## Overview

http://youtu.be/qeuOuhKDdnU

Light your deck for awesome night-skating effects (and photos!)

![](https://cdn-learn.adafruit.com/assets/assets/000/011/939/medium800/flora_hero.jpg?1383148949)

Here's an easy weekend project that will light up the night and help you stay safe while you skate. This LED upgrade uses NeoPixels and Flora - Adafruit's microcontroller board. The 3D printed enclosure houses all of the components and has an easy to get to power switch. You can grab the STL files on Thingiverse. For this project, we used the low density weatherproof NeoPixel strips and a small LiPo Battery. The printed cover snaps onto the power switch. We used double sided foam tape to mount the enclosure. The NeoPixel strip slides into place with the 3D-printed clips.

## Prerequisite guides
[NeoPixel Überguide](http://learn.adafruit.com/adafruit-neopixel-uberguide)  
[Getting Started with FLORA](http://learn.adafruit.com/getting-started-with-flora)![](https://cdn-learn.adafruit.com/assets/assets/000/011/945/medium800/flora_side-board.jpeg?1383150879)

# Flora+NeoPixel LED Skateboard Upgrade

## Tools & Supplies

## Supplies

- Skateboard
- [FLORA](http://www.adafruit.com/products/659 "Link: http://www.adafruit.com/products/659")
- LED Neopixel Strip (low density [30 LED/meter in white](http://www.adafruit.com/products/1376 "Link: http://www.adafruit.com/products/1376") o[r black)](http://www.adafruit.com/products/1460 "Link: http://www.adafruit.com/products/1460")
- [Lithium Polymer 1200mAh](http://www.adafruit.com/products/258 "Link: http://www.adafruit.com/products/258")
- [Micro Lipo charger to recharge the battery](http://www.adafruit.com/products/1304 "Link: http://www.adafruit.com/products/1304")  
- [Tactile On/Off Switch](http://www.adafruit.com/products/1092 "Link: http://www.adafruit.com/products/1092")
- 8 Neodymium Magnets (1/4 x 1/16 inch disc)
- Superglue/hotglue
- [Wire](http://www.adafruit.com/products/1311)
- Foam Tape (double-sided)
- Electrical Tape
- [Alligator Clips](http://www.adafruit.com/products/1008)

## Tools

- 3D Printer
- Soldering Iron

  
![](https://cdn-learn.adafruit.com/assets/assets/000/011/925/medium800/flora_hero.jpg?1383095670)

# Flora+NeoPixel LED Skateboard Upgrade

## 3D Printing

The 3D Printed enclosure is designed to fit the Lithium Polymer battery, FLORA, and toggle power switch. The case and cover use neodymium magnets to hold them together. The case has an opening for the wires. The cover features a widget that allows you to snap on the toggle switch.

![](https://cdn-learn.adafruit.com/assets/assets/000/011/928/medium800/flora_toggle-closeup2.jpg?1383096670)

[Download STLs](http://www.thingiverse.com/thing:173910)
# Printing Techniques
**Build Plate Preparations**  
For ABS printing, it's recommenced to use a heated build plate with katon tape. For best quality, apply a fresh strip of katon tape. You can apply a clear-air-bubble sheet by laying the tape down when the build plate is heated (Be careful!). Use a plastic card to flatten the tape. When air-bubble arise, peel back the tape and reapply the tape in small chucks until it's clean and air bubble free.  
  
**Live Level**  
We recommend going raft-less for each piece because it will have the best quality result. Each piece will require a well leveled platform. We tend to "live level" our prints, meaning we adjust the build plates thumb screws while the print is laying down filament. This way we can make adjustments directly and improve the leveling by seeing how the extruders are laying down the first layer onto the build plate. We recommend watching the first layer so that you get a more successful print. If you see the layers aren't sticking or getting knocked off, you can always cancel print, peel it off and try again. ![](https://cdn-learn.adafruit.com/assets/assets/000/011/930/medium800/flora_box-pieces.jpg?1383099697)

# Flora+NeoPixel LED Skateboard Upgrade

## Test Circuits

![](https://cdn-learn.adafruit.com/assets/assets/000/011/931/medium800/flora_box-assembled.jpg?1383099782)

## Configure the FLORA
You can connect the FLORA to your computer via USB. Use Adafruit's Arduino app to load sketches onto the FLORA - [check out the Flora tutorial for all the details](http://learn.adafruit.com/getting-started-with-flora). The NeoPixel example **strandtest** is a great demo sketch to test the LED strip. Now you can attach the LiPo battery to the FLORA. Make sure to switch the onboard power switch to **ON** before trying to power the strips.  
## Test the NeoPixel strip
You can hook up the LED strip to the flora micro-controller with alligator clips. Wire up a red alligator clip to the 5V pin of the strip to the vbat pin of the FLORA. Next, use a black alligator clip to the ground(GND) pin of the strip to a near by ground(GND) pin on the FLORA. Now use any other colored alligator clip to pin D6 of the FLORA to the DIN pin on the NeoPixel strip. Now you can switch on the power to the FLORA to test the NeoPixelStrip. You should see LED glowly goodness, if not, don't worry! Just double check your alligator clip connections, the leads on the strip are tiny, so make sure the alligator clips DO NOT TOUCH or it wont work!  
  
In the image below we show it with a single Neopixel, not a flexy strip, but the wiring is the same, VBAT to +, GND to -, and D6 to DIN  
![](https://cdn-learn.adafruit.com/assets/assets/000/011/938/medium800/flora_neopixeltest.gif?1448054370)

## Test the Toggle On/Off Switch
In order to conveniently power the LED Strip from the enclosure, the tactile switch needs to connected to the LiPo battery. You will need to cut the red positive wire of theLiPo battery and solder the toggle switch between the two ends of the cut positive wire like shown in the circuit diagram. # Flora+NeoPixel LED Skateboard Upgrade

## Circuit Diagram

## Program the FLORA
In our project, we used the sample sketch "goggles" that is included with Adafruit's Arduino app. There are a few demo sketches available that you can load onto the FLORA to display awesome LED animations. Check out the [FLORA getting started guide](http://learn.adafruit.com/getting-started-with-flora) to get familiar with programming the FLORA. Have to programming chops to wire your own animation? [Check out the NeoPixel guide and get familiar with the Arduino Library.](http://learn.adafruit.com/adafruit-neopixel-uberguide "Link: http://learn.adafruit.com/adafruit-neopixel-uberguide")  

## Accelerometer + Other Sensors
Here's an idea! Use an accelerometer to sense when you carve while your skate to trigger effects. The FLORA can power extra sensors to trigger the NeoPixels. You can get a jump start on this idea with help from the [steam punk goggles tutorial](http://learn.adafruit.com/steam-punk-goggles).![](https://cdn-learn.adafruit.com/assets/assets/000/011/916/medium800/flora_FloraBoard-Curcuit-Layout.jpg?1383079576)

## Measure, Cut + Solder!
On our longboard, we cut the NeoPixel strip into two even pieces and placed one on each side on the bottom of the deck. Make sure to position the strip with leads closer to the enclosure so that you don't access wires hanging out. With all of the components in place, measure and cut the wires needed to connect the NeoPixel stripes together and to the FLORA. You can tuck the wires connecting the two strips under the trucks. Now you will need to solder all of the components together as shown in the circuit diagram. # Flora+NeoPixel LED Skateboard Upgrade

## Final Assembly

![](https://cdn-learn.adafruit.com/assets/assets/000/011/918/medium800/flora_parts.jpg?1383080171)

## **Add Magnets!**
Our enclosure design uses neodymium magnets to snap on the covers. The case and cover piece requires 3mm neodymium magnets to easily remove the cover. You can grab a batch of 30 of them on amazon for under $10. You will need to fit them into the pillars and super glue them on. Make sure you test the polarities so the covers are magnetically attracted to the frames. ![](https://cdn-learn.adafruit.com/assets/assets/000/011/933/medium800/flora_box-enclosed.jpg?1383099871)

## Mount NeoPixel Strips
You can evenly cut the 32 LED strip into two pieces. Position the each NeoPixel strip on the edge of the deck. You can use hot glue or your favorite adhesive to mount the ends of the strips, this should keep the open connections from getting wet or dirty. Route a wire that will connect both of the strips together behind your trucks. The connection wire should be positioned to the end of the skate board. Place the 3d printed clips in position so they hold the neopixel strips. ![](https://cdn-learn.adafruit.com/assets/assets/000/011/919/medium800/flora_clips.jpg?1383080199)

## Mount Clips
You can print these small clips that will allow you to slide the strip of neopixels to the bottom of your deck. You will need to use hot glue or your favorite adhesive to attached each clip. ## Mount Enclosure
You can use a piece of double-sided foam tape to mount the Flora into the enclosure box. Use another piece of foam tape to secure the enclosure to the bottom of your deck. Make sure to position the enclosure so that the NeoPixel wiring isn't being pulled or tugged. ![](https://cdn-learn.adafruit.com/assets/assets/000/011/920/medium800/flora_box-opened.jpg?1383080208)

![](https://cdn-learn.adafruit.com/assets/assets/000/027/983/medium800thumb/flora_skate-loop.jpg?1448322388)


## Related Guides

- [LPD8806 Digital RGB LED Strip](https://learn.adafruit.com/digital-led-strip.md)
- [Sewable NeoPixels](https://learn.adafruit.com/flora-rgb-smart-pixels.md)
- [Square NeoPixel Display with Black LED Acrylic](https://learn.adafruit.com/sqaure-neopixel-display-with-black-led-acrylic.md)
- [Bluetooth Remote Control for the Lego Droid Developer Kit](https://learn.adafruit.com/bluetooth-remote-for-lego-droid.md)
- [CircuitPython BLE Heart Rate Zone Trainer Display](https://learn.adafruit.com/circuitpython-ble-heart-rate-monitor-gizmo.md)
- [Archimedes' Boat](https://learn.adafruit.com/archimedes-boat.md)
- [NeoTrellis Sound Board](https://learn.adafruit.com/neotrellis-soundboard.md)
- [Animatronic Glowing Medusa Headdress](https://learn.adafruit.com/animatronic-glowing-medusa-headdress.md)
- [BLE Beacon NeoPixels](https://learn.adafruit.com/ble-beacon-neopixels.md)
- [Rose's Shield - Steven Universe](https://learn.adafruit.com/rose-s-shield-steven-universe.md)
- [Glowing Birthday Number Crown](https://learn.adafruit.com/glowing-birthday-number-crown.md)
- [Crickit Powered Maker Ice Cream Truck!](https://learn.adafruit.com/crickit-maker-ice-cream-truck.md)
- [Circuit Playground Express Perk-up Ears](https://learn.adafruit.com/perk-up-ears.md)
- [Easy Sparkle Pocket T-Shirt](https://learn.adafruit.com/easy-sparkle-pocket-t-shirt.md)
- [Magic Light Bag of Holding](https://learn.adafruit.com/magic-light-bag-of-holding.md)
- [CircuitPython BLE Advertising Beacons](https://learn.adafruit.com/circuitpython-ble-advertising-beacons.md)
- [Adafruit Proto Tripler PiCowbell](https://learn.adafruit.com/adafruit-proto-tripler-picowbell.md)
