19
Required parts: Solar cell, microcontroller (µC), 2x 4K7 resistor (yellow, purple, red,
gold), 470 ohm resistor (yellow, purple, brown, gold), 2V4 zener diode, piezo sounder,
wire jumpers, wire.
How it works
: The solar cell
provides the supply voltage for the
microcontroller. Once it receives
2VDC it starts running its internal
program. The zener diode and the
470 ohm resistor make sure the
supply voltage of the controller
never goes beyond 2.4V, even in
bright sunlight. A too high voltage
can damage the device. The
voltage generated by the solar cell is
also divided by two by means of two
equal resistors (4K7) and fed to the
analog input of the PIC. Even in
bright sunlight, the input receives no more than 4.5/2 = 2.25VDC.
The internal software
‘
measures
’
the voltage at the input and translates it to a variable audio frequency
(note). The piezo sounder converts the signal into sound. When the amount of light received by the solar
cell changes, the voltage at the input of the controller will also change. The sofware will notice this and
change the tone. With a bit of practice, you could play a tune by waving your hand or a flashlight over the
solar cell.
SOLAR CELL
ZD1
2V4
+
BUZ1
PIEZO
R1
4K7
R2
4K7
R3
47 0
V
D
D
2
V
SS
7
GP3 /M CL R/ VPP
8
GP2 /T 0CLKI/FO SC4
3
GP1 /ICSPCLK
4
GP0 /ICSPDAT
5
IC1
PIC10 F22 0
Содержание WSEDU02
Страница 1: ...EN SOLAR ENERGY EXPERIMENT KIT WSEDU02 AGE 12 ASSEMBLY MANUAL whadda com ...
Страница 2: ...2 ...
Страница 8: ...8 PROJECT 1 SOLAR POWERED LED As long as the sun shines the led will light ...
Страница 10: ...10 PROJECT 2 SOLAR FLASHING LED Solar powered attention grabber µC Jumper wire ...
Страница 12: ...12 PROJECT 3 SOLAR POWERED CRICKET As long as the sun shines the circket will µC Jumper wire Jumper wire ...
Страница 18: ...18 PROJECT 6 SOLAR MUSICAL INSTRUMENT More light higher note PIC µC 470 4K7 4K7 Jumper wire Wire ...
Страница 20: ...20 PROJECT 7 IR REMOTE CONTROL TESTER Listen to your IR remote PI 5cm ...