Close
0%
0%

Self Ordering Hat Network

Hats that identify their physical layout and perform accordingly

Similar projects worth following
This is a set of LED Marquee Hats which are able to automatically determine their order. They do so by pinging their surroundings with Infrared LED and IR receiver pairs.

This network allows for collection of data and assignment of tasks based on relative location.

Each node of the Self Ordering Hat Network will consist of a hat with a microcontroller which drives the LED display, and monitors four IR trancievers (one on each side of the hat). There will also be an auxiliary connection for a Bluetooth, WiFi, or other module.

I recorded a video overview of how the Self Ordering Hat Network will function:

  • Power considerations

    Mike Szczys08/16/2014 at 17:45 0 comments

    Powering the hat network is actually a bit of a challenge. Not because of the communication method; IR transceivers use very little power. But the display itself is quite power hungry.

    Each pixel is capable of pulling 60 mA if driven white at full brightness. This is about 13.44 A if all 224 pixels are driven. This is unacceptable since the hats will need to use a portable power source. Preferably one that is hidden inside the hat itself.

    But you can simply this. I figure the character with the most "on" pixels is the numeral "8". With the font that I'm using the number has 14 pixels illuminated. There is room for 5.3 characters on the display, or just over 74 "on" pixels. If I want to stay below 2.1 A, I can still drive the pixels at up to 28 mA. To give myself some headroom I'm going to drive them at a limited aggregate brightness of 66%. If done correctly a pixel should never draw more than about 13.3 mA (this is just a rough estimate based on the PWM value of an "on" pixel).

  • Mapping the LED display

    Mike Szczys08/16/2014 at 17:39 0 comments

    I've finished a basic proof-of-concept for mapping the display.

    There are 7 rows of WS2812 strips, each with 32 pixels in them. I built an array of 32 bytes which will use binary values as a frame buffer. This is limited to recording each pixel as on or off. That means I will be limited to a single color for message, which is a fine place to start.

    A font file will be used. The procedure is to check the next letter in a message, pull the font file for that character, and shift those columns into the display.

  • Working out the protocols

    Mike Szczys08/16/2014 at 17:36 0 comments

    In general, communicating with an IR transceiver is not difficult. The issues with the self-ordering hat network will surely be establishing a system so that many hats talking at the same time will not interfere with each other.

    In addition to that "collision" problem, self ordering will not always be as easy as finding out which nodes are on either side of a given node. What if two nodes detect the same node to the left of them? The communication protocol will need to have a system for solving that based on all detected nodes.

  • LED Strip Problems

    Mike Szczys07/23/2014 at 20:28 0 comments

    I ran into a problem with applying the LED strips to the hat. In my mind I assumed it would be easy to align the rows of LEDs because the strips should be uniformed. That assumption is wrong on two accounts. First, the hat itself is not a perfect cylinder, so the top row and bottom row have quite a difference in circumference. The 5 meter strip is also not precicesly uniformed. That's because the flexible PCB material actually comes in 1/2 meter lengths. Each time two lengths meet up there is a variance in the distance between the first and last LED on the mating strips.

View all 4 project logs

Enjoy this project?

Share

Discussions

jchoi2012 wrote 05/29/2015 at 08:20 point

I love it! Its simple, funny as hell, and definitely the engineer thing to do

  Are you sure? yes | no

Mike Szczys wrote 05/29/2015 at 14:25 point

Thanks, I still haven't actually built it but it's on my to do list!

  Are you sure? yes | no

davedarko wrote 07/23/2014 at 18:43 point
How can this be an official entry, when you are part of the hackaday gang?

  Are you sure? yes | no

Mike Szczys wrote 07/23/2014 at 19:00 point
This is the entry I'm using to film the demonstration videos which I hope to post this week (click here to enter officially, fill in this info to meet the requirements, etc.). I'm not actually eligible to win anything though.

  Are you sure? yes | no

davedarko wrote 07/23/2014 at 19:11 point
ah ok, thanks :)

  Are you sure? yes | no

Neil Jansen wrote 07/10/2014 at 20:15 point
Epic idea for a project! I've always had a problem with my LED marquee hats getting out of order. I would have jumped right to GPS, Mag, IRS, and Kalman filter, but this is much simpler! I was going to make a pun at this point about my hats being off to you but...

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates