beautypg.com

Project b16, Project b15, Project b14 sunrise alarm – Elenco XP&trade User Manual

Page 48: Photon kazoo, Photon counter

background image

Optional:

Use the same circuit as projects B14 & B15, but load
the program Photon Kazoo into the microcontroller
(U21). Place your finger just above the photoresistor
(RP) and move it around to change the sound. You
can control the pitch of the sound with your finger. It
is like an electronic kazoo.

Project B16

Photon Kazoo

-47-

Optional:

Project B15

Photon Counter

Use the same circuit as project B14. Load the
program Photon Counter into the microcontroller
(U21) using the programming instructions in project
B1. The circuit makes a high pitch sound depending
on how much light shines on the photoresistor (RP).
The sound is like a Geiger Counter.

By changing the program in the
microcontroller, we can make the
same circuit work a lot differently.

Project B14

Sunrise Alarm

Build the circuit as shown. Turn on the slide switch (S1). Load program Sunrise Alarm
into the microcontroller (U21) using the programming instructions in project B1.

The microcontroller measures the amount of light on the photoresistor (RP). If there is
light in the room, a song is played every 30 seconds.

You can turn on this circuit when you go to bed at night. When sunrise lights up the
room in the morning, the alarm sounds to wake you up. The programming cable may
be removed once the program is downloaded.

Optional:

The

if

command decides

whether there is enough
light to play the alarm.