"God carved learn programming" DIY Arduino (41) --- laser receiver tube module

Paragraph 37 and reference sensor module, widely circulated on the Internet, in fact, compatible with Arduino sensor module must be more than 37 species. Since I am on hand accumulated a number of sensors and modules, in accordance with the practice makes perfect (be sure to DIY) concept, learning and communication for the purpose of preparing here one by one to try to do hands-on experiments, whether successful or not, will be recorded --- little progress or can not handle the problem, hoping to initiate. 

 

[Arduino] 168 kinds of sensor module series of experiments (data + Code + + graphics programming simulation programming)

Experiment forty-one: IS0203 laser receiver tube sensor module

 

IS0203 laser receiver tube

400-1100nm laser receiver tube, Schmitt circuit built

Product Name: laser receiving tube (the output voltage of laser irradiation)
Model: IS0203-GY
Operating voltage: 4.5-17V
Package Size: 4.6 * 4.6mm (length * width)
rear pin length: 14.8mm
spectral range: 400- -1100nm
center wavelength: 900nm
receiving distance: 0-200 m (laser power larger farther away from the reception)


Applications below

IS0203 laser receiver tube sensor module (non-modulated tube)

Module Parameters

Baby Size: 1.52CM * 2.22CM;

Supply voltage: 5V;

Output:

Outputs a high level when the laser irradiation:

Outputs a low level when no laser irradiation;

This sensor uses a non-modulated laser receiver, please use dull place indoors, the sun or other light fixtures can interfere, it is recommended to use in a dark environment.

Experimental wiring
Arduino Uno laser tube emitting module
Pin 2 S (signal pins)
5V +
the GND -

Arduino Uno laser receiving module
Pin. 3 OUT
5V the VCC
the GND the GND

/ * 

[] Arduino series of experiments, the sensor module 168 kinds (information + + graphics + Simulation Code) 

Experiment forty-one: IS0203 laser receiver tube sensor module (non-modulated tube) 

* / 

 

int = 13 is LED; // LED pin is defined as 13 (i.e., the LED on the board) 

int LaserSensor = 2; // laser receiving module is defined as the signal pin 2 

int SensorReading = hIGH; // definition of the laser signal pin receiving module is high 

int laser = 12; // the laser transmitter module is defined as a signal pin 12 is 

 

void Setup () { 

  // Setup your code here Wallpaper PUT, to RUN Once: 

  the pinMode (LED, the oUTPUT); // LED is defined as the output mode 

  pinMode (laser, oUTPUT); // define Laser output mode 

  pinMode (LaserSensor, iNPUT); // set the input mode to LaserSensor 

} 

 

void Loop () { 

  // main PUT your code here Wallpaper, Repeatedly to RUN:

  digitalWrite (Laser, HIGH); // Laser to high lasing mode laser emission 

  delay (200); // Delay 200 ms 

  

  SensorReading = digitalRead (LaserSensor); // read LaserSensor (laser signal pin receiving module ) the current state 

  if (SensorReading == LOW) // if the level is equal to 

  { 

    digitalWrite (the LED, HIGH); // the lights (something between the transmitter and receiver block) 

    

  } 

  the else 

  { 

    digitalWrite (the LED, the LOW); / / otherwise (no obstructions between the transmitting and receiving) off 

  } 

}

  

Experiment, accidentally burned receiver tube, to re-dig a tube like this experiment was continued ........

 

Guess you like

Origin www.cnblogs.com/eagler8/p/11889438.html