---
title: "Simple Obstacle Sensor with Arduino"
url: "https://maker.wiznet.io/abdul/projects/Simple-Obstacle-Sensor-with-Arduino/"
markdown_url: "https://maker.wiznet.io/abdul/projects/Simple-Obstacle-Sensor-with-Arduino/md"
type: "UCC: User Created Content"
author: "abdul"
author_url: "https://maker.wiznet.io/abdul/"
original_author: "abdul"
original_url: "https://create.arduino.cc/projecthub/muhammed-shameel-k-v/simple-obstacle-sensor-with-arduino-988ae3?ref=tag&ref_id=beginner&offset=7"
published: "2022-02-28"
language: "en"
hardware: ["IR transmitter (generic)", "Photo Diode", "Arduino UNO", "3k resistor", "150 ohm resistor", "Breadboard (generic)", "Jumper wires (generic)", "LED (generic)"]
likes: 0
views: 135
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Simple Obstacle Sensor with Arduino

> Simple Obstacle Sensor with Arduino

Original author: abdul (source: https://create.arduino.cc/projecthub/muhammed-shameel-k-v/simple-obstacle-sensor-with-arduino-988ae3?ref=tag&ref_id=beginner&offset=7)

## Components

- **IR transmitter (generic)** x 1
- **Photo Diode** x 1
- **Arduino UNO** x 1 ([docs](https://www.farnell.com/datasheets/1682209.pdf))
- **3k resistor** x 1
- **150 ohm resistor** x 1
- **Breadboard (generic)** x 1
- **Jumper wires (generic)** x 1
- **LED (generic)** x 2
- Software: **Arduino IDE** ([docs](https://www.arduino.cc/en/software))

## Documents and links

- [Obstacle sensor](http://maker.wiznet.io/uploads/2022/02/code.ino) (code)

## Article

## ABOUT DETAILS**

### Components Needed:

- Arduino

- 150 ohms resistor

- 3k ohms resistor

- IR LED

- Photodiode

- jumpers

- breadboard

- LEDs

### Assembling

- IR LED Anode => 150 ohms resistor => 5v

- IR Cathode => GND

- PhotoDiode Anode => GND

- PhotoDiode Cathode => 3k ohms resistor => D2

- PhotoDiode Cathode => A0

- Green LED => D13

- Red LED => D12

- [embed]https://youtu.be/XDGetDGGw1o[/embed]![](https://maker.wiznet.io/uploads/2022/02/ucc2-300x150.jpg)

THANK YOU

---

Source: https://maker.wiznet.io/abdul/projects/Simple-Obstacle-Sensor-with-Arduino/
