Set colors, animation speed, choose your animation and more – all from an onboard menu system.
This guide shows how to make a five-input helper-gadget for designing animations on NeoPixels. A digital readout shows RGB values and other data. It allows you to select from a collection of animations and fine tune them for color, speed, direction or any other variable you program for.
Techniques for repurposing and decorating a scavenged case are also shown. The basics of coding a simple menu-driven selection system is demonstrated. And the advantages of a modular, tabbed approach to coding in the Arduino IDE are discussed.
Who Is This For
This is an advanced beginners project. The provided sample code should be ready to load-and-run. But to modify it you should be familiar with for-loops, functions, the case-statement and controlling NeoPixels with Adafruits library.
If you have several breadboards filled with switches and pots always sitting around, and you swap them between test projects, you might benefit by making this permanent version.
If you are a visual designer and crafter, you might find this useful for determining colors and patterns before embedding the NeoPixels into your final project.
Featured Adafruit Products!
Adafruit Pro Trinket – 5V 16MHz: Trinket’s got a big sister in town – the Pro Trinket 5V! Pro Trinket combines everything you love about Trinket with the familiarity of the common core Arduino chip, the ATmega328. It’s like an Arduino Pro Mini with more pins and USB tossed in, so delicious. (read more)
NeoPixel Ring – 12 x WS2812 5050 RGB LED with Integrated Drivers: Round and round and round they go! 12 ultra bright smart LED NeoPixels are arranged in a circle with 1.5″ (37mm) outer diameter. The rings are ‘chainable’ – connect the output pin of one to the input pin of another. Use only one microcontroller pin to control as many as you can chain together! Each LED is addressable as the driver chip is inside the LED. Each one has ~18mA constant current drive so the color will be very consistent even if the voltage varies, and no external choke resistors are required making the design slim. Power the whole thing with 5VDC and you’re ready to rock. (read more)
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — MakerBot’s technology of the future grapples with its rocky past
Wearables — Glue thoughts
Electronics — Check out this shorthand shortcut
Biohacking — Take a Tour of the Alcor Cryonics Facility
No comments yet.
Sorry, the comment form is closed at this time.