Intro
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 it's finest .. somehow.Setup
Quite easy. We just need a pin for the Neopixels. Although the WeMos and the Neopixels are working with 5Volts, 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).
Video
Modes
Off (0)
All LEDs are turned offOn (1)
All LEDs are onRandom (2) *
Colors changes randomlyKight Rider (3)
K.I.T.T mode. Like in the TV series.Blue Light (4)
Like a blue light of a fire truckDriver (5) *
White on the front, red on the backBlinky (6)
Makes the LEDs blink* Mode doesn't use the selected color
Links
Sourcecode
Code @ BitbucketPart list
WeMos - https://amzn.to/2HD7sQENeopixels 60/m - https://amzn.to/2Tk516T
Fedora - https://amzn.to/2Ur18gV
LiPo 1200mAh - https://amzn.to/2UoLToK