Difference between revisions of "Line Follower Module(5 channel)"

From Wiki
Jump to: navigation, search
(How to Use on Raspberry Pi)
Line 15: Line 15:
 
|align="center"|GND
 
|align="center"|GND
 
|-
 
|-
|align="center"|VCC
 
 
|align="center"|5V
 
|align="center"|5V
 +
|align="center"|VCC
 
|-
 
|-
 
|align="center"|SDA(GPIO2)  
 
|align="center"|SDA(GPIO2)  
Line 24: Line 24:
 
|align="center"|SCL
 
|align="center"|SCL
 
|}
 
|}
 
  
 
==How to Use on Arduino==
 
==How to Use on Arduino==

Revision as of 09:45, 12 September 2017

Introduction

5 channel line follower.png
5 channel line follower back.png
The TCRT5000 infrared photoelectric switch adopts a high transmit power infrared photodiode and a highly sensitive phototransistor. It works by applying the principle of objects' reflecting IR light – the light is emitted, then reflected, and sensed by the synchronous circuit. Then it determines whether there exists an object or not by the light intensity. It can easily identify black and white lines. In other words, the different conduction levels of the phototransistor when it passes over black and white lines can generate different output voltages. Therefore, all we need to do is to collect data by the AD converter on the Atmega328 and then send the data to the master control board via I2C communication.
This module is an infrared tracking sensor one that uses 5 TRT5000 sensors. The blue LED of TRT5000 is the emission tube and after electrified it emits infrared light invisible to human eye. The black part of the sensor is for receiving; the resistance of the resistor inside changes with the infrared light received.

How to Use on Raspberry Pi

Raspberry Pi line-following module
GND GND
5V VCC
SDA(GPIO2) SDA
SCL(GPIO3) SCL

How to Use on Arduino

line-following module SunFounder uno Board
GND GND
VCC 5V
SDA A4
SCL A5

Configuration