[vc_row][vc_column width=”1/1″][vc_tour][vc_tab title=”Introduction” tab_id=”1393916444-1-39″][vc_column_text]LinkSprite path tracking sensor uses a reflective infrared sensor (tcrt500). The infrared light is emitted and reflected back to the receiver, it’s then inverted by 74LS14 and output to the output pin and the LED. The output signal is a digital signal.
There is 3 output pins: output signal, power supply and ground.
On a white surface, the output signal will be HIGH. On a black/non-reflective surface, the output signal will be low and the LED is off. The working distance from the sensor to the surface is around 1.5cm.
[/vc_column_text][/vc_tab][vc_tab title=”Hardware list and Wiring Diagram ” tab_id=”1393916444-2-91″][vc_column_text]Hardware List:
1 x LinkSprite path tracking sensor
1 x Arduino UNO
3 x Male to female DuPont line
Wiring Diagram
Path Tracking Sensor Arduino
‘-‘ GND
‘+’ 5V
‘S’ A0[/vc_column_text][/vc_tab][vc_tab title=”Test Code” tab_id=”1393925971373-2-0″][vc_column_text]
int sensorPin = A0; int ledPin = 13; int sensorValue = 0; void setup() { pinMode(ledPin, OUTPUT); Serial.begin(115200); } void loop() { sensorValue = analogRead(sensorPin); Serial.println(sensorValue); digitalWrite(ledPin, HIGH); delay(100); digitalWrite(ledPin, LOW); delay(100); }
[/vc_column_text][/vc_tab][vc_tab title=”Test Result” tab_id=”1393926268333-3-9″][vc_column_text]There is a LED on the module, it can be very intuitive to see the recognition state of the path tracking sensor .
At the above images we were moving the sensor to discern the black subject, that can used on line patrol car
The test result as below,
‘0’ means Detects the black line, ‘1000 +’ represents a non-black[/vc_column_text][/vc_tab][/vc_tour][/vc_column][/vc_row]
Leave a Reply
You must be logged in to post a comment.