Sensor-Line Finder

From Microduino Wiki
Revision as of 08:39, 10 November 2016 by Fengfeng (talk) (Purchase)
Jump to: navigation, search
Language: English  • 中文
Sensor-Line Finder

The product number of Sensor-Line Finder is: MSDI41

Sensor-Line Finder is an IR reflection sensor module, which can serve as line finder.

The principle of black line detection is: the infrared emitting tube emits light ray to the surface of the road, the IR light will be reflected when touching the white road, and the receiving tube will receive the reflecting light.




Instruction of the Sensor Pin

Sensor backpin.png
  • Pins of the sensor:
    • PIN1: GND
    • PIN2: VCC
    • General signal pins:
      • PIN3(IO1): digital/analog signal
      • PIN4(IO2): NC(null)
    • Special signal pins:
      • If it is IIC: IO1/IO2 are respectively SDA/SCL.
      • If it is soft serial port: IO1/IO2 are respectively tx/rx.
  • Special to Sensor-Line Finder sensor pins
    • PIN1: GND
    • PIN2: VCC
    • PIN3(IO1): Analog signal input
    • PIN4(IO2): NC


Microduino sensor can communicate with core module through the connection with Microduino-Module Sensor Hub.

Features

  • With high detection sensitivity and good stability
  • With small size

Specification

  • Voltage
    • 3.3V~5V working voltage
  • Size
    • Size of the board: 23.5mm*13mm
    • 1.27mm-spacing 4Pin interface connected with sensorhub
    • The CAD drawing of the sensor: File:Sensor CAD.zip
  • Technical parameters
    • Can detect the distance form the obstacle, and the measuring range is about 3cm
    • Can detect white and black, which make it can serve as line finder.
  • Connection
    • This sensor can be connected to the following interfaces of core: A0~A7

Document

Development

Program Download

Programming

  • Follow the Software Getting Started Guide.
  • Select the Board, Processor and Port.
  • Click [File]->[Open], browse to the project program address, and click "Sensor-Line Finder Test.ino" to open the program.
  • After confirming all these items are correct, click "→" to download the program to the development board.

Hardware Setup

  • Referring to the following diagram, connect the Sensor-Line Finder to the analog pin A0/A1 of Microduino-Sensorhub.


Microduino-sLight A1.JPG


Result

  • After download, open the serial monitor.
  • The closer the obstacle, the smaller the returned analog value. So it can be used as obstacle avoidance sensor.
  • When the sensor detects white and black with the same distance, the return value of white is smaller (around 100), and the one of black is larger (around 800). So it can be used as line finder.

Application

It can be used to detect obstacles and infrared emission, as a line finding sensor.


History

Gallery

  • Front
Microduino-Line-track Front
  • Back
Microduino-Line-track Back