Introduction: Interfacing Pro IR Array With Arduino
ProIR is an IR sensors array with 5 IR sensors and 3 Indicators LEDs specially designed to take perfect & clear readings for black and white surface at different heights and Light, The value difference between colors is very good as compared to the other available options, so your line following robot can follow the track more fast.
Addition: If you want to build a line following robot from scratch this gotechies tutorial will guide you from scratch, here :
Step 1: Connecting Array With Arduino
You can connect your controller with array using 12 Male headers available at the left bottom side of the array.
Step 2: Pins Configuration
Step 3: Connect Pins of Array With Arduino As:
Step 4: Interfacing With Arduino
After connecting all pins as per described in pin Diagram with Arduino, you can get analog input from S1-S5 pins via AnalogRead Function, that analog reading will be changing clearly with change in surface color, it`ll be greater than 300 on black surface and less than 100 on white surface ( depending upon light conditions ). Pro IR array can give clear voltage difference at different height and light.
You can use 3 Available LEDs to check calibration of sensors without using Serial monitor.
Step 5: Arduino Sketch and Tutorial Video
Arduino Sketch is available here on this page with a video is attached to help you interfacing Array with Arduino,
for any queries regarding pro IR array you can contact me at :
shahfahad96v@gmail.com
or www.learnprocode.com
Shah Fahad Ahmed,
Pro Code,
Karachi, Pakistan.
4 Comments
4 years ago
good work and very clean code.
Reply 1 year ago
Thanks
4 years ago on Introduction
Great amazing work done coding and hardware both
4 years ago
Great tutorial on Arduino sensors. Thanks for sharing.