Detail about Infrared IR Obstacle Avoidance Sensor
This Infrared IR sensor obstacle avoidance sensor board is an inexpensive solution to avoidance detection for robotics and other electronics uses.
It comes as an assembled module as shown above there is only four pins: +5-volts, GND, output, and EN. Output is an active LOW and has an onboard status LED. It's very easy to interface directly with Arduino or other micro-controllers.
It also works with the Raspberry Pi with a voltage range of 3-6 volts. Connect Vcc to 3-volts!
The enable pin "EN" will disable the device when HI (Vcc) and enable when LO (GND). The onboard jumper can be left open to allow external control of enable/disable of the module. I see no use for this function and would leave the jumper on and the pin disconnected.
There are two potentiometers on the module one controlling operating frequency (centered at 38 kHz) the other controlling intensity. The detector was designed for 38 kHz and the onboard oscillator circuit is based on a 555 timer. Tweaking gives a little better range but I'd suggest leaving it alone because the useful range is narrow.
It worked well as is. The maximum reliable range in my test was around 30-40 cm and depended on the type of material. A smooth white surface worked far better than a black or rough surface.
Features
Object is sensed output 0, output 1 is not sensitive to the time, directly with 3V and 5V microcontroller IO port connected.
Sensing distance 2-40 cm, distance, good anti-jamming capability. (Note: The infrared sensor can not detect all objects get the same distance, objects of different colors of light reflectance of different objects closer darker black shorter distance detected, the sensor 2-40 cm is measured against the white wall of)
Speed, suitable for smart car obstacle avoidance, black and white line tracking, anti-drop, product counters, cutting lines, liquid level detection.
This sensor is made with black and white lines tracing the car ran without black line on white paper, available in concrete The yellow complex environment such as the black line patrol track. As long as the black line around the slightly lighter color than black can, eliminating the traditional moves, so that environmental layout easier.
The sensor 3 to 6V supply, wide range, suitable for 3V and 5V MCU system.
With Enable, EN terminal is equal to "1" when the sensor does not work, equal to "0" when working. Jump on the sensor end cap long after the EN grounding plug (EN long as "0"). To use the EN pin when the jumper cap is removed.
Frequency adjustment potentiometer is used to adjust the carrier frequency of the infrared emission tube, because the integration receiver 38KHZ in particular when the carrier frequency is the most sensitive. The 502 resistor clockwise transferred do (that is, the launch tube at maximum brightness), and then at a white wall tone 103 resistance, has been transferred to the sensing distance is the farthest so far so that the sensor will work in the best state
Specifications
Working voltage: DC 3.3V-5V
Working current: ≥ 20mA
Operating temperature: -10 ℃ - +50 ℃
Detection distance: 2-40cm
IO Interface: 4-wire interfaces (- / + / S / EN)
Output signal: TTL level (low level there is an obstacle, no obstacle high)