Skip to the content
PCBKitNew board
2 layers25.2 × 15.2 mmIR SENSOR, the printed circuit board in 3D

A compact and efficient IR Sensor Module designed using KiCad EDA for schematic design and PCB layout. This project uses an IR LED transmitter, photodiode receiver, and LM393 comparator to detect nearby objects through…

Size
25.2 × 15.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
14
Nets
11
Pads
36
Tracks, vias
105, 4
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
24 May 2026
Updated
12 Jun 2026

Overview

IR SENSOR is an open-source printed circuit board by sugantharjunan, from the sugantharjunan/IR-SENSOR repository on GitHub. It is a 2-layer board of 25.2 × 15.2 mm with 14 parts on 11 nets, routed with 105 tracks and 4 vias.

It is built around the LM393. Its parts include 5 resistors, 4 diodes, 2 capacitors, 1 IC and 1 connector. It belongs with the sensors and measurement boards of this library.

Main components

1

README

README.md

IR Sensor Module – KiCad PCB Design

A compact and efficient IR Sensor Module designed using KiCad EDA for schematic design and PCB layout. This project uses an IR LED transmitter, photodiode receiver, and LM393 comparator to detect nearby objects through infrared reflection.

The module is suitable for robotics, obstacle detection, automation systems, and embedded electronics applications.


Project Overview

This project demonstrates:

  • IR object detection circuit
  • PCB layout design in KiCad
  • Compact sensor module design
  • Comparator-based signal processing
  • Adjustable detection sensitivity
  • 3D PCB visualization

Features

  • Infrared object detection
  • Adjustable sensing range
  • Compact PCB design
  • LM393 comparator output
  • LED indication for detection status
  • 3-pin output connector
  • Designed using KiCad

Software Used

  • KiCad

Official Website: KiCad Official Website


Hardware Components

ComponentDescription
LM393Voltage Comparator IC
IR LEDInfrared transmitter
PhotodiodeIR receiver
PotentiometerSensitivity adjustment
LEDsStatus indication
ResistorsCurrent limiting and biasing
CapacitorsNoise filtering
3-Pin HeaderOutput connection

Project Structure

bash
IR-SENSOR/
│
├── Schematic/
│   └── ir_sensor.kicad_sch
│
├── PCB/
│   └── ir_sensor.kicad_pcb
│
├── Gerber/
│   └── Manufacturing_Files
│
├── Images/
│   ├── IR_3D1.png
│   ├── IR_3D2.png
│   ├── IR_PCB.png
│   └── IR_SCHEMATIC.png
│
└── README.md

Circuit Description

The IR sensor module works using infrared reflection.

Working Principle

  1. The IR LED emits infrared light continuously.

  2. When an object comes near the sensor:

    • Infrared light reflects back.
  3. The photodiode detects the reflected IR signal.

  4. The LM393 comparator processes the signal.

  5. Output pin changes state when detection occurs.

  6. Indicator LED turns ON during object detection.


PCB Design

The PCB was designed with:

  • Compact component placement
  • Proper grounding
  • Short signal routing
  • Easy connector access
  • Single-layer routing structure
  • Optimized IR sensor positioning

Pin Configuration

PinDescription
VCC+5V Supply
GNDGround
OUTDigital Output

Electrical Specifications

ParameterValue
Operating Voltage5V DC
Comparator ICLM393
Sensor TypeIR Reflective Sensor
Output TypeDigital
PCB ToolKiCad

Applications

  • Obstacle Avoiding Robots
  • Line Following Robots
  • Proximity Detection
  • Industrial Automation
  • Smart Vehicles
  • Embedded Systems Projects
  • IoT Applications

Sensitivity Adjustment

The onboard potentiometer allows adjustment of detection sensitivity:

  • Rotate clockwise → Increase sensitivity
  • Rotate counterclockwise → Reduce sensitivity

Future Improvements

  • Add analog output support
  • Add distance calibration
  • Add onboard microcontroller
  • Improve ambient light filtering
  • Add SMT compact version

Parts

14
QtyValueFootprintReferences
2104Capacitor_SMD:C_0805_2012MetricC1, C2
210kResistor_SMD:R_0603_1608MetricR3, R4
21kResistor_SMD:R_0603_1608MetricR1, R5
2LEDLED_SMD:LED_0603_1608MetricD2, D4
1100RResistor_SMD:R_0805_2012MetricR2
110kPotentiometer_THT:Potentiometer_Bourns_3266Y_VerticalRV1
1Conn_01x03_PinConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ1
1D_PhotoLED_THT:LED_D5.0mm_Horizontal_O1.27mm_Z3.0mm_IRBlackD3
1LEDLED_THT:LED_D5.0mm_ClearD1
1LM393Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU2

Questions

How big is the IR SENSOR PCB?

It measures 25.2 × 15.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the IR SENSOR use?

14 parts, built around the LM393. 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 sugantharjunan/IR-SENSOR 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 sugantharjunan before reusing the design.

Similar boards

  • 2 layers231.1 × 106.7 mmSnark barker, the printed circuit board in 3D

    Snark barker

    schlae/snark-barker

    A 100% compatible replica of the famed SB 1.0 sound card

    199 parts687
  • 2 layers130 × 80 mmSmu main 1, the printed circuit board in 3D

    Smu main 1

    jaromir-sukuba/J-SMU

    DIY source-measure unit

    210 parts244
  • 2 layers100 × 85 mmVNA, the printed circuit board in 3D

    VNA

    profdc9/VNA

    Vector Network Analyzer based on the STM32F103C8T6 bluepill

    178 parts93
  • 4 layers292.1 × 88.3 mmSnark barker mca, the printed circuit board in 3D

    Snark barker mca

    schlae/snark-barker-mca

    A Sound Blaster compatible sound card for Micro Channel bus computers

    177 parts69
  • 2 layers133 × 98 mmPrecharge, the printed circuit board in 3D

    Precharge

    michaelruppe/FSAE

    Projects for Formula SAE Electric Vehicle competition (Australia 2019/2020)

    121 parts59MIT
  • 4 layers285.1 × 48.1 mmAyab esp32, the printed circuit board in 3D

    Ayab esp32

    AllYarnsAreBeautiful/ayab-hardware

    Contains the schematics and layouts for the AYAB Arduino shield

    246 parts50CC-BY-SA-4.0
  • 4 layers72.4 × 44.4 mmBtmdpcb v04 eval, the printed circuit board in 3D

    Btmdpcb v04 eval

    17o2/bluetooth-minidisc

    Adding built-in bluetooth connectivity to a 20-year-old Mindisc player

    115 parts45
  • 2 layers29 × 27 mmUSB C-3-way splitter V5, the printed circuit board in 3D

    USB C-3-way splitter V5

    bluepylons/USB-C-3-way-splitter

    A splitter board (for making a cable splitter) for turning a 5V 3A USB power source to 3 5V 1A USB sources

    39 parts40MIT