rekab / eyemood

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eyemood

Video of a robot costume

A thing to animate NeoPixel ring(s) with 12 LEDs.

Takes 5 input buttons (white, red, green, blue, yellow) that have LED lights.

Together these represent the bits in a 5-bit integer, which is used as an index of 32 different animations ("Steppers").

Each of the buttons have an LED that's lit based on if their bit is a 1 (on) or 0 (off). This bit pattern changes by counting upwards by one every ~8.7 seconds. It wraps back to 0 after 31.

Requirements

Hardware

Arduino Libraries

Wiring and Pins

Color Purpose Pin Number
Black white switch 11
White white LED 10
Gray green switch 9
Purple blue switch 8
Blue blue LED 7
Green green LED 6
Yellow yellow LED 5
Orange yellow switch 4
Red red LED 3
Brown red switch 2

External power must be connected to common ground.

Fritzing wiring diagram

About

License:MIT License


Languages

Language:C++ 100.0%