Skip to the content
2 layersIR sensor, the printed circuit board in 3D

This project implements a simple Infrared (IR) proximity sensor using an IR LED, photodiode, and an LM358 operational amplifier configured as a voltage comparator.

Copper layers
2
Thickness
1.6 mm
Parts
9
Nets
7
Pads
22
Tracks, vias
40, 3
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
9 Jul 2025
Updated
9 Jul 2025

Overview

IR sensor is an open-source printed circuit board by Heman-hk, from the Heman-hk/IR-Sensor-PCB-Design repository on GitHub. It is a 2-layer board with 9 parts on 7 nets, routed with 40 tracks and 3 vias.

It is built around the LM358 and IR204-A-L. Its parts include 3 resistors, 3 diodes, 1 IC and 1 connector. It belongs with the sensors and measurement boards of this library.

Main components

2

README

README.md

IR Sensor Module – LM358 Based

This project implements a simple Infrared (IR) proximity sensor using an IR LED, photodiode, and an LM358 operational amplifier configured as a voltage comparator. Designed for object detection tasks, the circuit generates a digital output when IR light is reflected from a nearby surface.


Circuit Description

  • IR LED emits infrared light continuously.
  • Photodiode receives reflected IR light and generates a corresponding voltage signal.
  • LM358 Op-Amp compares the photodiode signal with an adjustable reference voltage (set by RV1).
  • Output Pin (0/P) goes HIGH when an object is detected (voltage crosses the threshold).

Components

ComponentDescription
IR LEDInfrared emitter for sensing
PhotodiodeReflective light detector
LM358Dual Op-Amp IC used in comparator mode
ResistorsR1, R2, R3 to set gain and bias
Potentiometer (RV1)Sensitivity threshold adjust
Output PinDigital signal when object is detected

Applications

  • Obstacle detection for robotics
  • Line-following robot modules
  • Hand gesture triggers
  • Proximity detection for automation

Notes

  • Adjust RV1 for optimal sensitivity under ambient lighting
  • Ensure IR LED and photodiode are mounted parallel to detect reflected light
  • Output can be interfaced directly with microcontrollers (e.g., ESP32, Arduino)

Designed By

Himanshu Kumar
Embedded Systems & Circuit Design Enthusiast

Parts

9
QtyValueFootprintReferences
10.1KResistor_SMD:R_0603_1608MetricR1
10.33KResistor_SMD:R_0603_1608MetricR3
110KResistor_SMD:R_0603_1608MetricR2
110KPotentiometer_SMD:Potentiometer_Bourns_TC33X_VerticalRV1
1Conn_01x03_PinConnector_PinSocket_1.27mm:PinSocket_1x03_P1.27mm_VerticalJ1
1D_PhotoDiode_SMD:D_SOD-123D1
1IR204ALED_SMD:LED_1206_3216MetricD2
1LEDLED_SMD:LED_0603_1608MetricD3
1LM358Package_SO:SOIC-4_4.55x2.6mm_P1.27mmU1

Similar boards

  • 2 layers30.5 × 22.9 mmIr project, the printed circuit board in 3D

    Ir project

    hitendravalhe/IR_sensor_pcb_design

    This repository contains the design files and documentation for an Infrared (IR) sensor PCB with an integrated LM35 temperature sensor.

    9 parts1
  • 2 layers18.9 × 10.9 mmIR SENSOR, the printed circuit board in 3D

    IR SENSOR

    arpandebnath56/IR-Module-PCB-Design

    KiCad-based IR Module PCB design featuring circuit schematic, PCB layout, 3D visualization, and footprint integration.

    9 parts
  • 2 layersIR Sensor, the printed circuit board in 3D

    IR Sensor

    optimusprime1221/IR-Sensor

    PCB Design

    9 parts
  • 2 layers20 × 15.5 mmIR SENSOR, the printed circuit board in 3D

    IR SENSOR

    Sahilhamids/IR-sensor-module

    Designed a two layer PCB of IR sensor module andVoltage regulator using the open source EDA KiCADsoftware.

    9 parts
  • 2 layers37 × 18.2 mmIR Sensor, the printed circuit board in 3D

    IR Sensor

    Shubhmalhotra39/PCB_Designs

    9 parts
  • 2 layers29.5 × 17 mmIR SENSOR, the printed circuit board in 3D

    IR SENSOR

    yatharthpats23/IR-Sensor-PCB-Design

    IR Sensor circuit and PCB designed using KiCad.

    9 parts
  • 2 layers30.1 × 28.7 mmTask 7, the printed circuit board in 3D

    Task 7

    karthikkrishnaa/Internship1_PCB_files

    Internship1_PCB_files(Kakunje software private limited) the repo consists of the pcb design files.

    9 parts
  • 2 layers27 × 16 mm5 IR sensor, the printed circuit board in 3D

    5 IR sensor

    Raunak5/electronics-designs

    A collection of analog, digital and PCB design projects created using KiCad.

    9 parts

Questions

What parts does the IR sensor use?

9 parts, built around the LM358 and IR204-A-L. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the IR sensor KiCad files?

From the Heman-hk/IR-Sensor-PCB-Design repository on GitHub, at the commit this page was made from: the board is IR_sensor.kicad_pcb and its schematic IR_sensor.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the IR sensor design in my own project?

Its repository states no licence, so its author keeps all rights: ask Heman-hk before reusing the design.