Sunday, December 22, 2013

A led matrix Mask built on AVR ATmega8

avr_mask1 wish you a Merry Christmas and a Happy New Year!



AVR Mask1 is a led mask built around 74hc595 shift register and 8x8 led matrix.

The "Dylan Dog" comics decoupage, in conjunction with his stands, make it good looking.


It has 4 8x8 led matrix, 2 for the mouth, and 2 for eyes.

When the user get closer to the mask, the IR sensor placed on the back activate the mask.

If activated, it randomly runs eye and mouth patterns.
Patterns can be programmed in code, the patterns are just array of bytes, 1 stands for led on, 0 for led off.
We need 8 bytes to make 1 pattern for 1 led matrix (8x8).

If the user speak a small mic detects his voice, and execute the mouth speaking pattern.


Voice and proximity trigging could be setup using even an external variable resistor.

I've built this mask some years ago, but i've submitted it this year, at the "InverArt 2013" art fair, and kids goes crazy for it :)



This project is developed on Eclipse, built with avr-gcc on Atmega8 @ 8MHz.



Code

Notes
  • read risk disclaimer
  • excuse my bad english

No comments:

Post a Comment