Sprite

user warning: Unknown column 'i18n.language' in 'where clause' query: SELECT DISTINCT b.* FROM blocks b LEFT JOIN blocks_roles r ON b.module = r.module AND b.delta = r.delta LEFT JOIN i18n_blocks i18n ON (b.module = i18n.module AND b.delta = i18n.delta) WHERE (i18n.language ='fr' OR i18n.language ='' OR i18n.language IS NULL) AND ( b.theme = 'garland' AND b.status = 1 AND (r.rid IN (1) OR r.rid IS NULL) )ORDER BY b.region, b.weight, b.module in /var/alternc/html/o/orangeseeds/usr/drupal-6/modules/block/block.module on line 456.

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:
  1. Copy attached files farfadet.c and Makefile.txt to your repository
  2. Modify the BASE_PERIOD and SEELIE parameters in farfadet.c to give its own "personality" to the sprite
  3. Compile: make
  4. Configure ATtiny's fuses (lfuse: 0x72 and hfuse: 0xFD) with: make writefuse
  5. Upload the program on the ATtiny: make install

See the electronic schematics in attachment.

Fichier attachéTaille
farfadet.c6.62 Ko
Makefile.txt8.42 Ko
farfadetschema.jpg28.95 Ko