Bike Wheel POV Display

Similar documents
Morning Star POV Double Staffs

NeoPixel Ring Bangle Bracelet

FLORA TV-B-Gone. Created by Becky Stern. Last updated on :32:57 PM UTC

Luminous LED Flowers. Created by Becky Stern. Last updated on :47:44 PM UTC

FLORA and GEMMA ICSP. Created by Becky Stern. Last updated on :42:16 PM UTC

Audio Prank Gift Box. Created by Becky Stern. Last updated on :46:15 PM UTC

Solar Boost Bag. Created by Becky Stern. Last updated on :44:55 PM UTC

Phone-Activated Talking Dog Collar

FLORA and GEMMA ICSP. Created by Becky Stern. Last updated on :30:55 PM EST

Guardian Shield+ Zelda Breath of the Wild

Feather Weather Lamp. Created by Ruiz Brothers. Last updated on :54:26 PM UTC

Bluetooth Controlled NeoPixel Headphones

Sewable NeoPixels. Created by Becky Stern. Last updated on :50:14 PM EDT

Bandolier of Light. Created by Becky Stern. Last updated on :16:17 PM EST

Celebration Spectacles

Neon LED Signs. Created by John Park. Last updated on :11:09 PM UTC

Mystical LED Halloween Hood

FLORA Pixel Brooch. Created by Becky Stern. Last updated on :19:07 PM EST

Interior Purse Light. Created by Becky Stern. Last updated on :41:08 PM UTC

Adafruit Pi Cobbler Kit

Adafruit LED Sequins. Created by Becky Stern. Last updated on :02:00 AM UTC

Flora Brake Light Backpack

Trinket NeoPixel LED Longboard

Monochrome OLED Breakouts

Clockwork Goggles. Created by John Park. Last updated on :03:10 PM UTC

Dauntless Dotstar Gauntlets

Adafruit Capacitive Touch Sensor Breakouts

Adafruit Mini TFT " 160x80

i2c/spi LCD Backpack Created by lady ada Last updated on :11:04 PM UTC

NeoMatrix 8x8 Word Clock

GPS Logging Dog Harness

Adafruit 8x16 LED Matrix FeatherWing

MiniPOV4 - DIY Full-Color Persistence of Vision & Light-Painting Kit

NeoPixel Manicure. Created by Sophy Wong. Last updated on :50:38 PM UTC

Cup o' Sound. Created by Becky Stern. Last updated on :30:06 PM EST

Adafruit MCP9808 Precision I2C Temperature Sensor Guide

Light-Up Angler Fish Embroidery

Con Badge with Circuit Playground Express

Adafruit Si5351 Clock Generator Breakout

7" Portable HDMI Monitor

Adafruit DRV2605 Haptic Controller Breakout

Remote Controlled LED Tea Light Sconce

Jewel Hair Stick. Created by Leslie Birch. Last updated on :47:17 PM UTC

Adafruit LED Sequins. Created by Becky Stern. Last updated on :00:06 PM EST

Adafruit I2C FRAM Breakout

Adafruit Si7021 Temperature + Humidity Sensor

0.96" mini Color OLED

NeoPixie Dust Bag with Circuit Playground Express

Toy Car Speed Timer. Created by Kirby Griese. Last updated on :13:49 PM UTC

3D Printed 20w Amplifier Box

Paper Airplane Launcher

Adafruit 1.27" and 1.5" Color OLED Breakout Board

Adafruit DRV2605 Haptic Controller Breakout

Infinity Mirror Valentine's Candy Box

Adafruit APDS9960 breakout

3D Printed Camera LED Ring

3D Printed 20w Amplifier Box

NeoPixel Basketball Hoop

NeoPixel Punk Collar. Created by Becky Stern. Last updated on :41:18 PM UTC

Adafruit AMG8833 8x8 Thermal Camera Sensor

Crawling Baby Sea Turtle Robot

Adafruit TPL5110 Power Timer Breakout

'Sup Brows. Created by Kate Hartman. Last updated on :52:04 PM UTC

MCP Bit DAC Tutorial

Camera LED Ring Light

Lie Ren's Stormflower Gun Blade

Tent Lantern. Created by Timothy Reese. Last updated on :17:25 AM UTC

Joy Featherwing. Created by Dean Miller. Last updated on :03:07 PM UTC

Portable Apple Watch Charger

Cyberpunk Spikes. Created by Becky Stern. Last updated on :07:06 PM UTC

Crickit Carnival Bumper Bot

Trinket-Powered Conference Room Occupancy Display

Ping Pong Ball Launcher

Prophet 600 GliGli mod

LED Eyes. Created by Ruiz Brothers. Last updated on :50:55 AM UTC

Naughty or Nice Machine

Alohamora Bottle. Created by Erin St Blaine. Last updated on :58:53 PM UTC

1.8" TFT Display Breakout and Shield

Bunny Ears with MakeCode

Flora Wearable GPS. Created by Becky Stern. Last updated on :32:36 PM UTC

LED Campfire. Created by Erin St Blaine. Last updated on :34:11 PM UTC

Crickit Dancing Marionette Kit Created by Dano Wall. Last updated on :03:11 PM UTC

Learning with LEDs. Created by Rick Winscot. Last updated on :39:11 PM UTC

PyPortal NeoPixel Color Picker Created by Kattni Rembor. Last updated on :42:41 PM UTC

TSL2561 Luminosity Sensor

Chirping Plush Owl Toy

Adafruit VL53L0X Time of Flight Micro-LIDAR Distance Sensor Breakout

Slider Crank Mechanism -- from Cardboard and Craft Sticks

Adafruit ATWINC1500 WiFi Breakout

Interactive Gift Box. Created by codingpro. Last updated on :47:40 AM UTC

Adafruit TPL5111 Reset Enable Timer Breakout

NeoPixel Bike Light. Created by Ruiz Brothers. Last updated on :43:46 PM UTC

Getting Started with FLORA

Circuit Playground Express Laser Tag

Adafruit HUZZAH32 - ESP32 Feather

IS31FL x9 Charlieplexed PWM LED Driver

Hammer Time Mini Golf Hazard with Crickit

Fiddy - the FTDI Clip

Adabot Operation Game

Sword & Wand Prop Effects with Circuit Playground

Transcription:

Bike Wheel POV Display Created by Becky Stern Last updated on 2017-09-12 03:10:38 PM UTC

Guide Contents Guide Contents Overview Parts and Tools Circuit Diagram Prep LEDs & Breadboard Code Solder Circuit Install on Bike 2 3 4 7 8 11 13 18 Adafruit Industries https://learn.adafruit.com/bike-wheel-pov-display Page 2 of 24

Overview We present to you another persistence of vision (POV) project for your blinky enjoyment! As the LEDs move in space, they flash different parts of an image, building up an image in your brain. We have visited this topic many times with kits and tutorials, including the parent to this iteration, the Genesis Poi (http://adafru.it/zbc). Now build it on a bike wheel! Two strips of DotStar LEDs are affixed to the spokes of a bike wheel, one facing each direction, driven by a 5V Pro Trinket and powered by a waterproof 3xAA battery pack affixed near the hub. Prerequisite guides: Introducing Pro Trinket (http://adafru.it/nxf) Adafruit DotStar LEDs (http://adafru.it/zbd) Adafruit Industries https://learn.adafruit.com/bike-wheel-pov-display Page 3 of 24

While this project is not very difficult, it does require strong construction skills in order to be waterproof and safe. A flying battery pack can very easily cause an accident, so keep safety in mind. Parts and Tools Parts from Adafruit: 5V Pro Trinket microcontroller (http://adafru.it/2000) (not regular Trinket, the program won't fit!) Stranded silicone-cover wire (http://adafru.it/ejb) 144 LED/meter DotStar strip, either black (http://adafru.it/2328)or white (http://adafru.it/2329), 1/2 meter is enough for one bike wheel Waterproof 3xAA battery pack (http://adafru.it/e6v) Heat shrink tubing (http://adafru.it/erk) (optional) Tactile switch (http://adafru.it/fhj) (optional) vibration sensor (http://adafru.it/fhk) Parts NOT from Adafruit: Plastic zipties Metal zipties (http://adafru.it/fhl) Adhesives: E6000 (http://adafru.it/vke) and Permatex 66B (http://adafru.it/fgh) Adafruit Industries https://learn.adafruit.com/bike-wheel-pov-display Page 4 of 24

AA batteries Tools & Miscellaneous: Soldering (http://adafru.it/dri) station and accessories Computer running the Arduino IDE software, ideally version 1.6.4 or later. Support for the Pro Trinket microcontroller can be enabled through the Boards Manager (Tools Board Boards Manager ). Computer running Python for graphics conversion; use our sample images to get started. Night photos and video for gifs by Andrew Baker (http://adafru.it/e3e). Adafruit Industries https://learn.adafruit.com/bike-wheel-pov-display Page 5 of 24

Adafruit Industries https://learn.adafruit.com/bike-wheel-pov-display Page 6 of 24

Circuit Diagram Connections are as follows: Pro Trinket - (on back) to battery ground Pro Trinket + (on back) to battery positive DotStar LED strip G to Pro Trinket G DotStar LED strip 5V to Pro Trinket BAT+ DotStar LED strip data to Pro Trinket 11 DotStar LED strip clock to Pro Trinket 13 Optional tactile mode selector button between Pro Trinket 3 (TX) and G Optional vibration sensor between Pro Trinket 2 and G Adafruit Industries https://learn.adafruit.com/bike-wheel-pov-display Page 7 of 24

Prep LEDs & Breadboard Cut your half meter strip of LED strip in half using flush diagonal cutters. Count the LEDs to verify there are 36 pixels on each side of the cut, and try to preserve the solder pads on the input side of one half. Tin the solder pads and solder silicone coated wires to the input end of the piece you just cut, alternating sides for each wire to help prevent a short circuit. Adafruit Industries https://learn.adafruit.com/bike-wheel-pov-display Page 8 of 24

Cut the input connector fro the other strip and solder four sets of wires in parallel and joined to a single piece of silicone coated wire. At the ends of these extension wires, solder four header pin prototyping wires, even though we ll end up removing them later. Don t forget the heat shrink tubing! If you have a spare 5V Pro Trinket to spare, we strongly encourage you to build a prototype Adafruit Industries https://learn.adafruit.com/bike-wheel-pov-display Page 9 of 24

If you have a spare 5V Pro Trinket to spare, we strongly encourage you to build a prototype of your circuit on a solderless breadboard. Not only will you get a chance to test out your solder joints connecting the LED strips, but you can have a duplicate system for programming where you can easily make changes. Adafruit Industries https://learn.adafruit.com/bike-wheel-pov-display Page 10 of 24

Code If this is your first time using Pro Trinket, follow the Adafruit Arduino IDE Setup (http://adafru.it/jdq) for guidance; a couple extra steps are required compared to typical Arduino Uno programming the Introducing Pro Trinket (http://adafru.it/nxf) guide may help. Try out the blink sketch and confirm you can upload code to the board. If you re not already running the Arduino IDE version 1.6.4 or later (http://adafru.it/f1p), this is a really good time to upgrade. It greatly simplifies installing libraries and support for alternate boards such as Pro Trinket. Grab the sample sketch for the bike wheel from GitHub (http://adafru.it/frs): Kinetic POV project for Arduino http://adafru.it/frt The bikewheel folder contains the Arduino sketch for this project. This project also requires the Adafruit DotStar library for Arduino. Use the Library Manager to install this (Sketch Include Library Manage Libraries ), or if you re using an older version of the Arduino IDE, it can be downloaded and installed manually (http://adafru.it/dnr): Adafruit_DotStar library for Arduino http://adafru.it/eio There are two files in the bikewheel folder, which will open as two tabs in the Arduino sketch. The second file/tab graphics.h contains the bitmaps and color palettes for the different modes. Learn how to add different ones on the Genesis Poi "preparing images" page (http://adafru.it/zbe). The bike wheel sameple sketch uses image 32 pixels high. I can compile the code but it won t upload to the Pro Trinket board! You might have a charge only USB cable. Definitely need the normal charge+data type for this. Switch it out for a different cable and try again. Before proceeding, ensure your circuit runs the sample code and switches images when you press the button: Adafruit Industries https://learn.adafruit.com/bike-wheel-pov-display Page 11 of 24

Adafruit Industries https://learn.adafruit.com/bike-wheel-pov-display Page 12 of 24

Solder Circuit Adafruit Industries https://learn.adafruit.com/bike-wheel-pov-display Page 13 of 24

Trim off the header pins and strip and tin the wires attached to your LED strips. Solder these four wires to a new Pro Trinket (without header pins installed) according to the Adafruit Industries https://learn.adafruit.com/bike-wheel-pov-display Page 14 of 24

circuit diagram and trim off the excess wire with flush snips. Likewise attach the optional switch and/or vibration sensor. Adafruit Industries https://learn.adafruit.com/bike-wheel-pov-display Page 15 of 24

Tin the (-) and (+) pads on the back of your Pro Trinket, then solder the wires from the battery holder to them. Use a dab of E6000 to protect these solder joints and also provide some strain relief to the wires. Adafruit Industries https://learn.adafruit.com/bike-wheel-pov-display Page 16 of 24

Turn on the circuit to check it works, and if it does, it s time to waterproof the circuit. Encase the Trinket in heat shrink tubing or glue, or spray conformal coating. Use Permatex 66B silicone adhesive to plug the open ends of LED strip, and watch this video for more tips on ruggedizing your projects: Adafruit Industries https://learn.adafruit.com/bike-wheel-pov-display Page 17 of 24

Install on Bike Set your bike up in a stable position where you can work on it comfortably. Adafruit Industries https://learn.adafruit.com/bike-wheel-pov-display Page 18 of 24

Use metal zip ties to affix the heavy battery holder as close to the wheel s hub as possible. If your hub is wide enough, you could even attach the battery pack directly to it. Use plastic zip ties to attach the LED strip and Pro Trinket (as well as any switch or sensor Adafruit Industries https://learn.adafruit.com/bike-wheel-pov-display Page 19 of 24

Use plastic zip ties to attach the LED strip and Pro Trinket (as well as any switch or sensor you may have optionally added) to the spokes of the wheel. Adafruit Industries https://learn.adafruit.com/bike-wheel-pov-display Page 20 of 24

In this particular wheel, the mode selector switch is attached with sticky foam tape to a neighboring spoke. Adafruit Industries https://learn.adafruit.com/bike-wheel-pov-display Page 21 of 24

Adafruit Industries https://learn.adafruit.com/bike-wheel-pov-display Page 22 of 24

Night photos and video for gifs by Andrew Baker (http://adafru.it/e3e). Adafruit Industries https://learn.adafruit.com/bike-wheel-pov-display Page 23 of 24

Adafruit Industries Last Updated: 2017-09-12 03:10:37 PM UTC Page 24 of 24