Skip to content

Latest commit

 

History

History
90 lines (72 loc) · 5.07 KB

README.md

File metadata and controls

90 lines (72 loc) · 5.07 KB

GraduationCap2017

Graduation Cap Lights for my identical twin girls "I" and "T" - 2017-12-09

Table Of Contents

Photos and Videos

Top
alt text alt text

A few videos of the graduation cap:
tour - https://youtu.be/3sHkcpifI_0 - Walkthrough of Graduation Cap
Start plus the Down-the-Drain and Haunt patterns - https://youtu.be/SVAW7-W8W8M - my made-up patterns
Radar - https://youtu.be/vZpsce-uMeo - my made-up pattern
Circles - https://youtu.be/3rO7r-2uvlA - my made-up pattern
Kriegsman Fire - https://youtu.be/K7lBy67Jgzw - Mark Kriegsman's Fire2012 with Palette
Kriegsman Juggle - https://youtu.be/Ot5dQEGN8O8 - Mark Kriegsman's Juggle
Kriegsman BPM - https://youtu.be/0liTM4aSAok - Mark Kriegsman's BPM
Pictures and pointers to videos of Graduation cap are in the /FirstCap and imagesFinal directories

General Description

Top
The graduation cap electronics uses four Arduino Nanos with USB mini-B connector

Uses 93 Leds WS2812B 5050 RGB LED Ring Lamp Light with Integrated Drivers

Kudos to Daniel Garcia and Mark Kriegsman for the FANTASTIC Arduino FastLED library and examples!!!
https://github.com/FastLED/FastLED
https://github.com/FastLED/FastLED/blob/master/examples

The Arduino pattern code here is pretty much done from scratch by me using the FastLED library.
I also tried a few items from Mark Kriegsman's classic DemoReel100.ino https://github.com/FastLED/FastLED/tree/master/examples/DemoReel100
Okay, I succumbed and added in Mark's beautiful Fire2012withPalette https://github.com/FastLED/FastLED/tree/master/examples/Fire2012WithPalette
At this point the patterns are about 50-50 mine and Mark Kriegsman

Details of Design - Arduino Code

Top
The Arduino code can be found here:
https://github.com/Mark-MDO47/GraduationCap2017/tree/master/ArduinoCode/GradCap

Details of Design - Schematics and etc.

Top
Schematic and other build information can be found here

Details of Design - WS2812B LEDs

Top
Here is a (somewhat) spec on the WS2812b LEDs
https://cdn-shop.adafruit.com/datasheets/WS2812B.pdf
Here is a Worldsemi WS2812B document for download:
http://www.world-semi.com/solution/list-4-1.html#108

Details of Design - Keep the Wires Cool!

Top
Calculating wire size (Google for instance wire gauge ampacity 5v dc):
https://electronics.stackexchange.com/questions/148648/minimum-wire-gauge-for-5-volt-5-amp-system

These LEDs use power that adds up. Can use this to estimate the power

http://fastled.io/docs/3.1/group___power.html

 calculate_max_brightness_for_power_vmA(lots of parameters)

https://github.com/FastLED/FastLED/blob/master/power_mgt.cpp

 static const uint8_t gRed_mW   = 16 * 5; // 16mA @ 5v = 80mW
 static const uint8_t gGreen_mW = 11 * 5; // 11mA @ 5v = 55mW
 static const uint8_t gBlue_mW  = 15 * 5; // 15mA @ 5v = 75mW
 static const uint8_t gDark_mW  =  1 * 5; //  1mA @ 5v =  5mW

about 42 milliamps per LED at max brightness WHITE

Details of Design - My Favorite Pullup Resistor Package

Top
Using DigiKey (https://digikey.com) 4610X-AP1-103LFCT-ND RES ARRAY 9 RES 10K OHM 10SIP
This way I have one component for all the 10K pull-up resistors I need