Norway


Systems administrator Shawn Parr and his family were recently invited to a party. While for most people this would mean buying a new or perhaps rifling through a closet, Par had a different idea, and embedded a strip of WS2812B LEDs under a straw hat’s hatband. This creates a great diffuse effect that shines nicely on the brim as the LEDs loop around.

- 1 CJp9MNrdXGvHHAcauwg3Tw - Teensy-Powered “Fancy Hat”

is handled via a Teensy LC dev board inside the hat, along with a Bosch BNO05 inertial measurement unit. This allows it to sense the wearer’s head position — when you tilt your head down it speeds up, while tilting up changes direction, and tilting to either side changes colors. Finally, if it detects an impact it reacts by flashing all the LEDs in quick succession.

for the project can be found on GitHub, and be sure to check it out in action in the video below. While it looks like a lot of fun, the DIY hat option likely won’t save you any money. Parr freely admits that he went a “little overboard,” spending around $80 on the build. On the other hand, if you’re going to attend a fancy hat party, you might as well go all out!

https://medium.com/media/10c8371686d3808fb4da18441c1d34b8/href

- 1 8 YOyZPmY2Lhloa6m aPpQ - Teensy-Powered “Fancy Hat”

- stat event post - Teensy-Powered “Fancy Hat”


Teensy-Powered “Fancy Hat” was originally published in Hackster's Blog on Medium, where people are continuing the conversation by highlighting and responding to this story.



Source link

LEAVE A REPLY

Please enter your comment!
Please enter your name here