Instructions
IDUINO for maker’s life
www.openplatform.cc 23
in the two wheels of your car, it will walk along your expecting road.
Specification:
Voltage: 3.3V to 5V
Operating current: 20mA @ 5V
Operating temperature range: 0°C ~ + 50°C
Black for LOW output, White for HIGH output
Size:45x10mm
2 Pinout
Pin
Description
S
Digital output pin, black is Low, white is
High
V+
Power(5V DC)
G
Ground
3. Example
The example show that when the sensor detect black area, the “s” pin output Low TTL
signal, then the LED13 turn off meanwhile the light ”L” on this module turns on. On the
contrary, LED13 turns on.
The connection as below:
********Code begin********
int Led=13;
int buttonpin=3;