Sprite
The sprite is a small interactive sound object. Tiny, very low-cost, easy to make, it can be produced in large quantities and hidden in public places. It reacts to the movements of people by emitting a strange sound, both electronic and melodic.
A 3V watch battery gives it an autonomy of a few days. It needs a bit of light to work (ie. it doesn't work in total darkness).
It can be hung with the use of a magnet, tape, etc.
Ingredients
- 1 x ATtiny
- 1 x piezzo
- 1 x photoresistor (50 kOhm)
- 1 x resistor (50 kOhm)
- 1 x black "shrink" (approx 2cm)
- 1 x watch battery 3V
- wire
Instructions
ATtiny programming:
- Copy attached files farfadet.c and Makefile.txt to your repository
- Modify the BASE_PERIOD and SEELIE parameters in farfadet.c to give its own "personality" to the sprite
- Compile: make
- Configure ATtiny's fuses (lfuse: 0x72 and hfuse: 0xFD) with: make writefuse
- Upload the program on the ATtiny: make install
See the electronic schematics in attachment.
| Attachment | Size |
|---|---|
| farfadet.c | 6.62 KB |
| Makefile.txt | 8.42 KB |
| farfadetschema.jpg | 28.95 KB |



