1 x Arduino
1 x LED (preferably a bright amber one for realism)
1 x LDR (Light dependent resistor)
1 x 1000 ohm resistor
1 x 220 ohm resistor
Step 1: Carve a Pumpkin
Step 2: Write Code
I've never really had any formal programming instruction, and as a result my code is probably almost as inefficient as using an arduino to light a pumpkin.
So if anyone has suggestions on how to make the code more efficient, or all-around better I would appreciate any help.
Step 3: Solder and Plug
solder the 220 ohm resistor to the short leg of the LED and insert it in the ground pin.
Insert the long leg into digital pin 9.
Insert one wire from the LDR and one leg of the 1000 ohm resistor into analog pin 3
insert the other end of the LDR in 5v, and the other end of the 1000 ohm resistor into the second ground.