1
Items Required
Product Name
Quantity
Link
SPDUINO (ARDUINO-COMPATIBLE BOARD)
1
Buy Now
USB A-B CABLE
1
Buy Now
SHARP IR SENSOR GP 2Y0A21 (10 TO 80CM)
1
Buy Now
FEMALE-FEMALE CONNECTOR
As Required
Buy Now
2
Applications
Obstacle detector
Wall Following
Water and steel analysis
Flame detection
Motion Sensing
3
Component Specification
Supply voltage: 4.5 to 5.5 V
Consumption current: Typ. 30 mA
Package size: 29.5×13×13.5 mm
Distance measuring range: 10 to 80 cm
Analog output type
4
Connect shield to SPDuino
Plug the shield on top of the SPDuino Board. Make sure that all the pins are plugged correctly.
5
Interfacing AUTON Shield and SHARP IR Sensor
IR sensor can give either analog/digital output and hence can be connected to any of the analog/digital ports.
Auton Shield has many Sensor ports with 3 pins (5v,GND, D or D/A (output)). Any analog/digital sensor can be connected to ports .
6
Sample Program
Below is the program for SHARP IR sensor.click the button and upload it in SPDuino Board.
Sample Program
VIDEO