Krieger Dreamer Peeper

From Bloominglabs
Revision as of 15:14, 1 February 2017 by Avh.on1 (Talk | contribs)

Jump to: navigation, search

An ATTiny85 to drive twenty 10W LEDs and a 120W speaker. Creates ~14 seconds of science-fiction sound effects, then flashes the lights in a brilliant, dazzling flash. Also includes a squirt gun to startle the person it is pointed at. The LEDs and speaker are driven from 2 pins of the ATTiny. I wrote a couple of loops that drive some cool-sounding square waves to the speaker. At the end of the sound effect, the LEDs light for 1/20 of a second, producing a brilliant flash of light.

The LEDs and speaker are driven from the ATTiny by logic-level MOSFETs. The whole thing is powered by a small LiPo battery.

I programmed the ATTiny using my Arduino Duemilanove and these two excellent guides.

Personal tools