Troubleshooting
Light Not Turning On
The pushbutton is square, and because of this it is easy to put it in the
wrong way. Give it a 90 degree twist and see if it starts working.
Underwhelmed
No worries; these circuits are all super stripped-down to make playing with
the components easy, but once you throw them together the sky is the limit.
Experiment 6: Reading a Photoresistor
Introduction
In Experiment 2, you got to use a potentiometer, which varies resistance
based on the twisting of a knob and, in turn, changes the voltage being
read by the analog input pin. In this circuit you’ll be using a photoresistor,
which changes resistance based on how much light the sensor receives.
You will read the light value of the room and have an LED turn on if it is
dark and turn off if it is bright. That’s right; you are going to build a night
light!
Parts Needed
You will need the following parts:
•
1x
Breadboard
•
1x
SparkFun RedBoard
•
1x
LED
•
1x
330
Ω
Resistor
•
7x
Jumper Wires
•
1x
Photoresistor
•
1x
10K Resistor
Didn’t Get the Tinker Kit?
If you are conducting this experiment and didn’t get the Tinker Kit, we
suggest using these parts:
SparkFun RedBoard -
Programmed with Arduino
DEV-12757
Breadboard - Self-Adhesive
(White)
PRT-12002
Page 34 of 63