Skip to Content
KY-032 | IR Obstacle Avoidance Sensor Module

Price:

€ 0.76


Same-day delivery across Malta on orders before 3pm Mon–Sat · 9:00–19:00
Tekk Innovation
Same-day delivery across Malta · order by 3pm
Tekk Innovation
Shop by category
%Deals & Back to SchoolHomeShop
TV
Solar Energy
Audio
Home & Office
Gaming
Mobiles
Electronics & Projects
Network
Cameras
Collectibles
Store locatorDeliveryWarrantyB2BContact● Open now · Bugibba & Qormi until 19:00
Tekk Innovation 0
Back to SchoolTVSolar EnergyAudioHome & OfficeGamingMobilesElectronics & ProjectsNetworkCamerasCollectibles

KY-032 | IR Obstacle Avoidance Sensor Module

https://tekkinnovation.com/web/image/product.template/2847/image_1920?unique=04a9bf1

€ 0.76 0.76 EUR € 0.81

Not Available For Sale

  • BRAND

This combination does not exist.

In stock Out of stock Order now for delivery tomorrow
Pick up in storeQormi and Bugibba · see store stock Same-day deliverySmall items ordered by 3pm, Mon–Sat. Free over € 50.00, else € 5.90.
Warranty & after-sales 14-day returns Secure checkout · PayPal & Viva Wallet
Need help choosing?Call (+356) 2744 3236 · Mon–Sat 9:00–19:00 WhatsApp us
BRAND: ACEBOTT
1

KY-032 Obstacle Avoidance Sensor module

The KY-032 Obstacle Avoidance Sensor module is a distance-adjustable, infrared proximity sensor designed for wheeled robots. Also known as AD-032.

The sensor detection distance ranges from 2cm to 40cm, it can be adjusted by turning the potentiometer knob. Its operating voltage is 3.3V – 5V so it is suitable for a variety of micro-controllers like Arduino, ESP32, Teensy, ESP8266, Raspberry Pi, and others.

It has strong adaptability to ambient light and it is fairly accurate to sense changes in the surrounding environment.

KY-032 Specifications

The module has a pair of infrared LEDs, an emitter, and a receiver. The emitting LED sends infrared light pulses at a certain frequency. When the light hits an obstacle is reflected back to the receiver LED.

The KY-032 has 4 pins: GND, +, S (out), and EN. The jumper makes the module permanently enabled so it’s always detecting for obstacles. To control the state of the sensor remove the jumper and use the EN pin, a HIGH signal will enable the sensor and a LOW signal will disable it.

You can adjust the detection distance by turning the left knob, turn it to the middle for maximum distance. The right knob controls the frequency of the emitting IR pulse, turn it clockwise all the way to set the emitter to the right frequency required to work with the receiver.

Working voltage3.3V – 5V DC
Working current≥ 20mA
Working temperature-10°C – 50°C [14°F – 122°F]
Detection distance 2cm – 40cm [0.79in – 15.75in]
IO interface4-wire interface (-/+/S/EN)
Output signalTTL level (low level if obstacle detected, high if no obstacle)
Adjustment methodmulti-turn resistance adjustment
IR pulse frequency38kHz according to HS0038DB datasheet
Effective angle35°
Board Size1.6cm x 4cm [0.62in x 1.57in]
Weight9g

KY-032 Connection Diagram

Connect the module’s GND line (the leftmost pin) to GND on the Arduino and + (the second pin) to 5V.

Connect signal (out) to pin 3 on the Arduino.

[*]Remove the jumper to use the EN pin.

KY-032Arduino
GNDGND
++5V
outPin 3
EN [*]Pin 2 [*]
KY-032 infrared obstacle avoidance sensor wiring diagram

KY-032 Arduino Code

When the sensor detects an obstacle, it sends a LOW signal on its output pin. A HIGH signal is sent when the obstacle is not detected or out of range. In the following example, we’ll turn on the LED on the Arduino’s pin 13 when the sensor detects an obstacle.

The code is designed to run with the jumper in place so the sensor is always on. To programmatically enable/disable the sensor remove the jumper, connect the sensor’s EN pin to pin 2 on the Arduino, and uncomment lines 4, 12, and 13.

int ledPin = 13;      // LED pin on arduino
int detectorPin = 3;  // obstacle avoidance sensor interface
int val;              // variable to store result
//int enablePin = 2;  // sensor enable interface (EN)

void setup()
{
  pinMode(ledPin, OUTPUT);  // Define LED as output interface
  pinMode(detectorPin, INPUT);  // Define obstacle avoidance sensor as input interface
  
  // [uncomment and remove jumper on module to use enable pin (EN)]
  //pinMode(enablePin, OUTPUT);
  //digitalWrite(enablePin, HIGH);  // Enable sensor
}

void loop()
{
  val = digitalRead(detectorPin); // Read value from sensor
  if(val == LOW) // When the sensor detects an obstacle, the LED on the Arduino lights up
  {
    digitalWrite(ledPin, HIGH);
  }
  else
  {
    digitalWrite(ledPin, LOW);
  }
}

Downloads

What our customers say

4.9 ★★★★★★★★★★ 288 Google reviews · Qormi & Bugibba
O oscar allvin September 2026 · Qormi
★★★★★★★★★★

Perfect costumer support

K Karen Freeman September 2026 · Bugibba
★★★★★★★★★★

David and Aman were amazing. We had trouble with our Auxiliary cord. They were patient knowledgeable and friendly

C Corinthia HR September 2026 · Bugibba
★★★★★★★★★★

Excellent service i really appreciate Highly recommend

G Gabriel Spiteri September 2026 · Bugibba
★★★★★★★★★★

Excellent customer service!

S stefani balos September 2026 · Bugibba
★★★★★★★★★★

Very nice place! They helped me with my gadget for my scooter! 💛recommended

C charlo mamo September 2026 · Qormi
★★★★★★★★★★

Very helpful staff. Found what I was looking for😎

O Ophelia Ramos September 2026 · Bugibba
★★★★★★★★★★

Very helpful and did solve the issues about my husband’s phone. Thank you

H Harold G September 2026 · Bugibba
★★★★★★★★★★

David was super friendly and knowledgeable and also patient with my parents

J Jéssica Farias September 2026 · Bugibba
★★★★★★★★★★

went to buy a mobile microphone, they have different options and gave me very helpful advices to decide which one i should get :)

R Roseanne Mifsud September 2026 · Bugibba
★★★★★★★★★★

Excellent Service Im very happy with the service I recieved . They were incrediblly helpful and always went out of their way to explain everything clearly and patiently. All of the electronics were excellent quality and I really apreciated the time and effort they put into helpong me! Highly Recommended!!

A Andy Angel September 2026 · Bugibba
★★★★★★★★★★

Increible atención

B Barbara Par August 2026 · Qormi
★★★★★★★★★★

Everything you need you can find, kindness and professionality

J Josy Salles August 2026 · Bugibba
★★★★★★★★★★

They are advertising the new Z Fold 8 ultra. We have the Z Fold 7, so we went there to check it out ans to buy a new mobile. I asked to see the phone because, in stores, they usually let you see and touch the phone before buying it. The guy replied in a really sarcastic way: “As I am the professional here, I can confirm that it is a good phone.” I was like: “What?” Then I showed him that I already had a Z Fold 7 in my hands. He replied: “So, you already know that it is a good phone.” Again, I was like: “What?” So I explained that I simply like to see and touch the phone before buying it. He just told me: “OK, go to a big store. We don’t have the phone here.” Well… not recommended. Even though I’m a big Samsung fan, I still want to check the phone for myself before buying it. It’s up to me. Expertise on something? ChatGPT also has expertise and will probably tell me much more than a sales guy.

G Gizzy W August 2026 · Bugibba
★★★★★★★★★★

Very helpful and friendly service. Thanks so much.

R Rachel Brincat August 2026 · Bugibba
★★★★★★★★★★

Amazing service and staff always ready to help and a vast selection of items to choose from.

R rosalyn wencislao August 2026 · Bugibba
★★★★★★★★★★

Good service, David very knowledgeable and helpful

A Aleksandra Davidović August 2026 · Bugibba
★★★★★★★★★★

Very pleasant experience, staff is happy to help and provide information

E Esslin Terrighena July 2026 · Bugibba
★★★★★★★★★★

Friendly, helpful team who are attentive and take their time to advise you with what product best meets your needs. Really appreciate the service!

N Nina July 2026 · Bugibba
★★★★★★★★★★

Хороший ассортимент, профессиональные и приветливые сотрудники, помогли и подсказали с выбором

F Franco Lopez July 2026 · Bugibba
★★★★★★★★★★

David es un genio. Atencion 10 puntos. Gran variedad! 🤝👏

J Joseph El Sadig July 2026 · Bugibba
★★★★★★★★★★

Great service. Fast reliable and very professional people. Keep it guys u re great all of you.

A Amin Ahmed June 2026 · Bugibba
★★★★★★★★★★

Good sarvic

G Gary Quenano June 2026 · Bugibba
★★★★★★★★★★

Impressing staff!!!thank you

A Ashok Lohar June 2026 · Bugibba
★★★★★★★★★★

Good staff, perfect service, will recommend this shop over other

L Leonardo Primogeri June 2026 · Bugibba
★★★★★★★★★★

Fantastic store!

F Flake Gamer June 2026 · Bugibba
★★★★★★★★★★

Top service, my experience was very nice, they helped me with all the questions i asked very knowledgeable 100% recommend

E Ewelina Paton June 2026 · Bugibba
★★★★★★★★★★

The best staff in QAWRA very helpful and friendly 👏🏻👏🏻👏🏻👏🏻 definitely highly recommend place 😊

R River Frey Wood June 2026 · Bugibba
★★★★★★★★★★

Zero stars if I could. I purchased a fitness tracker from this store that failed to perform its most basic advertised functions. It would not reliably track steps, sleep, or heart-rate data, and the battery life was nowhere near what was claimed. When I returned to the store for assistance, I was told the device had been checked and was supposedly working correctly. However, the problems continued exactly as before. Despite the tracker clearly not functioning as expected, the store refused to offer a replacement or further assistance and instead told me to deal directly with the manufacturer. This is extremely disappointing customer service. When a product sold by a retailer appears to be defective, customers reasonably expect the retailer to help resolve the issue rather than simply pass responsibility elsewhere. The most frustrating part was not the faulty device itself, but the complete lack of support once the sale had been made. Based on my experience, I would strongly recommend that others think carefully before purchasing electronics from this business, especially if after-sales support and customer service are important to them.

M Marija Trpeska June 2026 · Bugibba
★★★★★★★★★★

The staff were really helpful and they knew a lot about their products. 10/10 I'd definitely recommend this store. Also, it is the only place in St. Paul's Bay selling Kodak, Polaroid cameras and digital cameras.

A Avishek Dahal June 2026 · Bugibba
★★★★★★★★★★

Fastest repair

Tekk Innovation

Malta's one-stop electronics store. From gadgets to gaming, we deliver same-day across the island.

(+356) 2744 3236
VAT MT16528323 · 3D Secure payments by Viva Wallet
Copyright ©2026 Tekk Innovation.VISAMastercardMaestroAmexApple PayViva WalletPrivacyTermsCookiesTekk Innovation. All rights reserved.
Tekk Innovation

Malta's one-stop electronics store. From gadgets to gaming, we deliver same-day across the island.

Stores · Mon–Sat 9:00–19:00Qormi · 93 Ellul Mercer Street, QRM 2680Bugibba · Wignacourt Street, San Pawl il-Baħar
VISAMastercardMaestroAmexApple PayViva Wallet
PrivacyTermsCookiesWarrantyCopyright ©2026 Tekk Innovation. VAT MT16528323Tekk Innovation. All rights reserved.