QB060/QB080 Trace Sensor

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

PDF and Code

7.Get One Now

B2B Business: info@acebott.com

Related posts

Leave the first comment

Apply for a Free Trial

This product trial is prioritized for educators and academic institutions.

By filling out and submitting this form, you agree to the
Acebott Product Trial Terms and Conditions.

Unlock Your Exclusive Education Discount Today

Fill out this form to apply for special discounts tailored for educators and institutions. Enjoy at least 5% off on our STEM kits—because education deserves a reward!

Please fill out the form above, and our team will get in touch with you promptly!
😊🚀

Get A Free Quote! 🎉

Can’t find the perfect STEM kit ? Want the best wholesale prices ?
Interested in becoming a distributor ?

Just fill out the form above, and we’ll get back to you ASAP with all the info you need! 😊🚀

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