

IR SENSOR
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
1README
README.mdIR 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
| Component | Description |
|---|---|
| LM393 | Voltage Comparator IC |
| IR LED | Infrared transmitter |
| Photodiode | IR receiver |
| Potentiometer | Sensitivity adjustment |
| LEDs | Status indication |
| Resistors | Current limiting and biasing |
| Capacitors | Noise filtering |
| 3-Pin Header | Output connection |
Project Structure
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.mdCircuit Description
The IR sensor module works using infrared reflection.
Working Principle
-
The IR LED emits infrared light continuously.
-
When an object comes near the sensor:
- Infrared light reflects back.
-
The photodiode detects the reflected IR signal.
-
The LM393 comparator processes the signal.
-
Output pin changes state when detection occurs.
-
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
| Pin | Description |
|---|---|
| VCC | +5V Supply |
| GND | Ground |
| OUT | Digital Output |
Electrical Specifications
| Parameter | Value |
|---|---|
| Operating Voltage | 5V DC |
| Comparator IC | LM393 |
| Sensor Type | IR Reflective Sensor |
| Output Type | Digital |
| PCB Tool | KiCad |
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| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | 104 | Capacitor_SMD:C_0805_2012Metric | C1, C2 |
| 2 | 10k | Resistor_SMD:R_0603_1608Metric | R3, R4 |
| 2 | 1k | Resistor_SMD:R_0603_1608Metric | R1, R5 |
| 2 | LED | LED_SMD:LED_0603_1608Metric | D2, D4 |
| 1 | 100R | Resistor_SMD:R_0805_2012Metric | R2 |
| 1 | 10k | Potentiometer_THT:Potentiometer_Bourns_3266Y_Vertical | RV1 |
| 1 | Conn_01x03_Pin | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J1 |
| 1 | D_Photo | LED_THT:LED_D5.0mm_Horizontal_O1.27mm_Z3.0mm_IRBlack | D3 |
| 1 | LED | LED_THT:LED_D5.0mm_Clear | D1 |
| 1 | LM393 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U2 |
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 mm

- 2 layers130 × 80 mm

- 2 layers100 × 85 mm

- 4 layers292.1 × 88.3 mm

Snark barker mca
schlae/snark-barker-mca
A Sound Blaster compatible sound card for Micro Channel bus computers
177 parts69 - 2 layers133 × 98 mm

Precharge
michaelruppe/FSAE
Projects for Formula SAE Electric Vehicle competition (Australia 2019/2020)
121 parts59MIT - 4 layers285.1 × 48.1 mm

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 mm

Btmdpcb v04 eval
17o2/bluetooth-minidisc
Adding built-in bluetooth connectivity to a 20-year-old Mindisc player
115 parts45 - 2 layers29 × 27 mm

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