Blinking snoring skull (Atmega8 + Arduino IDE)

Hi,
this was one of my first things I made using Arduino IDE…

Youtube video

For this I used an Atmega8 with internal oscillator. The light level trigger for snoring is set and stored using a push button (the light sensor is inside the nose). PWM is software generated.

In the attachments the sketch and schematic (the used transformer was a double insulated wall plug transformer, taken from an old multifunction phone set).

Cheers.

SW.zip (12.3 KB)

HW.pdf (242 KB)