61
Experimental Procedures
Step 1:
Build the circuit
Obstacle Avoidance Sensor module SunFounder Uno
out -------------------------------------- D8
- ---------------------------------------- GND
+ ---------------------------------------- 5V
Step 2:
Program (Please refer to the example code in
LEARN -> Get Tutorial
on our
website
)
Step 3:
Compile
Step 4:
Upload the sketch to SunFounder Uno
Now, put an obstacle in front of the Obstacle Avoidance Sensor and the LED attached to
pin 13 on the SunFounder Uno board will light up.
SunFounder