Close

Does this project spark your interest?

Become a member to follow this project and don't miss any updates

Self Ordering Hat Network

Hats that identify their physical layout and perform accordingly

4 7 17
Enjoy this project?
Share on twitter   Share on Facebook

This project was created on 07/08/2014 and last updated a month ago.

Description
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.
Details

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:

Project logs
  • Power considerations

    a month ago • 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

    a month ago • 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

    a month ago • 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.

View all 4 project logs

Discussions

davedarko wrote 2 months ago null point

How can this be an official entry, when you are part of the hackaday gang?

Are you sure? [yes] / [no]

Mike Szczys wrote 2 months ago null 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 2 months ago null point

ah ok, thanks :)

Are you sure? [yes] / [no]

Neil Jansen wrote 2 months ago null 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]