User Manual

62
Experimental Procedures
Step 1: Build the circuit
The wiring between the relay and SunFounder Uno board:
Relay
SunFounder Uno
GND
GND
VCC
5V
SIG
8
The wiring between the photoresistor and SunFounder Uno board:
Photoresistor
SunFounder Uno
SIG
A0
VCC
5V
SIG
A0
Step 2: Open the code file
Step 3: Select correct Board and Port
Step 4: Upload the sketch to the SunFounder Uno board