Arduino KY-032 Obstacle avoidance sensor modules Infrared Obstacle Avoidance Sensor returns a signal when it detects an object in range. The range of the sensor is around 2-40 cm distance. It operates at 3.5 to 5 volts at around 20 milliamps. The Obstacle Avoidance Sensors usually come in two types โ with 3 and 4 pins. This is theย 4 pin version Sensor Module and has an optional Enable pin. An infrared obstacle avoidance sensor is designed to detect obstacles or the difference in reflective services. This sensor is made with black and white lines tracing the car ran without a 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. 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 resistors 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
Features Of IR Object Detector Sensor Module:
- Easy to assemble and use
- Onboard detection indication
- The effective distance range of 2cm to 40cm
- A preset knob to fine-tune distance range
- There is an obstacle, the green indicator light on the circuit board.
- Anti-jamming capability
Specifications Of KY-032 4pin IR Infrared Obstacle Avoidance Sensor Module Diy Smart Car Robot:
- Model No :ย ย IR-08H V02.45.DC
- Working voltage: DC 3.3V-5V
- Working current: 20mA
- Operating temperature: -10 โ 50deg celsius
- detection distance:2-40cm
- IO Interface: 4-wire interfaces (- / / S / EN)
- Output signal: TTL level (low level there is an obstacle, no obstacle high)
- Adjustment: adjust multi-turn resistance
- Effective angle: 35 ยฐ
- Size: 28mmX 23mm
- Weight: 9g
Example code:
Here we use the obstacle avoidance module and a digital interface, built-in 13 LED build a simple circuit, making avoidance warning lamp, the obstacle avoidance Sensor Access Digital 3 interface, when obstacle avoidance sensor senses a signal, LED light, and vice versa off.
Example code
int Led = 13 ;// define LED Interface
int buttonpin = 3; // define the obstacle avoidance sensor interface
int val ;// define numeric variables val
void setup ()
{
pinMode (Led, OUTPUT) ;// define LED as output interface
pinMode (buttonpin, INPUT) ;// define the obstacle avoidance sensor output interface
}
void loop ()
{
val = digitalRead (buttonpin) ;// digital interface will be assigned a value of 3 to read val
if (val == HIGH) // When the obstacle avoidance sensor detects a signal, LED flashes
{
digitalWrite (Led, HIGH);
}
else
{
digitalWrite (Led, LOW);
}
}
Package includes:
- 1x KY-032 Obstacle avoidance sensor module
Best Online shopping website for IR Infrared Obstacle Avoidance Object detector Sensor Module KY032 in cheap price in Lahore Islamabad Karachi Faislabad Multan Quetta Sukkur Rawalpindi Gujranwala Peshawar and all over Pakistan
ย
Reviews
There are no reviews yet.