DELIVERY CHARGES TCS Advance =275Rs/kg 1 to 3 Working Days, Cash On Delivery TCS 350RS/kg 1 to 7 Working Days
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
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);
}
}
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