Getting Started
Starter Kit
Controller Board
Electronic Module

1.Product Introduction

../../_images/Trace-1.jpg

Trace sensor is a sensor system specially designed for intelligent vehicles, which can help intelligent vehicles to accurately trace and navigate routes. The system consists of three infrared sensors, which can detect the black line on the ground by transmitting and receiving infrared signals, and make corresponding control actions according to the detection results.

Specifically, each infrared sensor has a pair of infrared transmitter and receiver tubes, and the transmitter tube will emit infrared rays at a specific frequency. Objects with different colors have different absorption capabilities for infrared light, so the intensity of the reflected infrared signal received by the receiver tube will also be different. We can judge what color line the intelligent vehicle is on according to the strength of the received reflected infrared signal. In this way, the system can determine whether the intelligent vehicle is following the line, so as to achieve accurate line tracking and navigation functions.

Application references: robotics competitions, intelligent vehicle projects, industrial automation, and other fields.

2.Parameter Specification

Parameter Value/Representation
Operating voltage 3.3~5V
Operating temperature -10°C~+50°C
Output signal Analog signal
Size 3.31cm*3.11cm
../../_images/Trace-2.jpg

3.Wiring Diagram

../../_images/Trace-3.png
Trace Sensor UNO
VCC 5V
GND GND
L Analog Pin A0
M Analog Pin A1
R Analog Pin A2

4.Sample Code

 1#define Left_sensor   A0
 2#define Center_sensor  A1
 3#define Right_sensor   A2
 4void setup() {
 5  Serial.begin(9600);
 6  pinMode(Left_sensor, INPUT);
 7  pinMode(Center_sensor, INPUT);
 8  pinMode(Right_sensor, INPUT);
 9}
10void loop() {
11  Serial.print("Left_sensor: ");
12  Serial.println(analogRead(Left_sensor));
13  Serial.print("Center_sensor: ");
14  Serial.println(analogRead(Center_sensor));
15  Serial.print("Right_sensor: ");
16  Serial.println(analogRead(Right_sensor));
17  Serial.println("————————————————————————————————");
18  delay(1000);
19}

5.Test Result

After uploading the code to the controller board, open the serial port monitor of the Arduino IDE, set the baud rate to 9600, and switch to the scroll mode. The following data can be seen when placing the three infrared sensor ports of the trace sensor on the black line or on the white background.

../../_images/Trace-4.png
../../_images/Trace-5.png

6.Related Resources

7.Get One Now

B2B Business: info@acebott.com

© Copyright ACEBOTT All Rights Reserved.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.