Avnet invited me to the "electronica 2018" in Munich to hold a speech about IoT and NeoPixels. So I thought, wouldn't it be great if I could finish my speech with presenting a functional project on stage by controlling NeoPixels with a smartphone. Something with a practical, everyday use in home automation?.... Yeah, I got it! A hat! Home automation at its finest... somehow.
SetupQuite easy. We just need a pin for the NeoPixels. Although the WeMos and the NeoPixels are working with 5V, they can be both be powered by a 3.7V LiPo battery for a short period. To wrap the stipe around the hat once, I needed a total of 19 NeoPixels (with a specification of 60 LEDs / meter).
VideoModesOff (0)All LEDs are turned off.
On (1)All LEDs are on.
Random (2) *Colors changes randomly.
Kight Rider (3)K.I.T.T mode. Like in the TV series.
Blue Light (4)Like a blue light of a fire truck.
Driver (5) *White on the front, red on the back.
Blinky (6)Makes the LEDs blink.
* Mode doesn't use the selected color.
LinksSource CfneopodePart ListWeMos - https://amzn.to/2HD7sQE
NeoPixels 60/m - https://amzn.to/2Tk516T
Fedora - https://amzn.to/2Ur18gV
LiPo 1200mAh - https://amzn.to/2UoLToK
Original Project Pagehttps://rohling-de.blogspot.com/2019/02/the-magic-hat.html
Pictures
Comments