G+_Mark Olson Posted June 22, 2016 Share Posted June 22, 2016 I did a build of the SteamPunk Goggles from Know-How episode 187 – with a few mods. I beefed up the power and ground connections between the goggle sides using 18 guage stranded wire. I replaced the original power source with a Lithium-Ion rechargeable 9-volt battery and a UBEC and added a Frankenstein-style knife switch for on-off control. I also modified the code. I made one of the potentiometer-selectable patterns cycle or rove through all the patterns one by one. Then I noticed the code was originally based on some brilliant FastLED patterns that were designed for linear light strips but of course the goggles use two circular rings. In particular the “sinelon” pattern seemed like it would benefit from remapping the LEDs in a non-linear order. I made the moving light go in a figure-8 pattern between the goggles. I added a new “racetrack” pattern which does two sinelon “cars” moving at slightly different rates. I also added a “spinner” pattern with four dots per side that spin, and made one side spin back and forth and the other side spin constantly in one direction. Finally I looked back at other fantastic code samples from FastLED and adapted the “Fire2012” pattern to two circular rings. The code I used is available at https://github.com/Mark-MDO47/Know-How-Arduino-SteamPunk-Goggles You can see a short video of cycling through the patterns including the new patterns at Link to comment Share on other sites More sharing options...
G+_Fr. Robert Ballecer, SJ Posted June 22, 2016 Share Posted June 22, 2016 Thing of beauty. :) Well done! Link to comment Share on other sites More sharing options...
Recommended Posts