Skip to the content
PCBKitNew board
2 layers170 × 75 mmRemote, the printed circuit board in 3D

IR Remote DIY

Size
170 × 75 mm
Copper layers
2
Thickness
1.6 mm
Parts
22
Nets
12
Pads
54
Tracks, vias
31, 0
Pours
2
Routed
Yes
KiCad
KiCad 8 (file 20240108)
Created
14 May 2026
Updated
19 May 2026

Overview

Remote is an open-source printed circuit board by charles-works, from the charles-works/irTool repository on GitHub. It is a 2-layer board of 170 × 75 mm with 22 parts on 12 nets, routed with 31 tracks and 0 vias.

It is built around the STM8L051F3P6, CR2032 and IRLML2502. Its parts include 3 capacitors, 3 switches, 2 resistors, 1 IC and 1 diode. It belongs with the STM8 boards of this library.

Main components

3

README

README.md

STM8L051F3P6 CR2032 NEC Remote

Complete first-pass engineering assets for the STM8L051F3P6 + IRLML2502 + CR2032 + 3-key NEC IR remote project.

Active hardware target

  • MCU: STM8L051F3P6 (TSSOP-20), all 20 pins connected
  • IR driver: IRLML2502 NMOS low-side switch with 100 Ω gate resistor, 1 MΩ gate pull-down
  • IR LED: 940 nm IR LED with R1 (10–22 Ω) current limiter from VDD_MCU
  • Power: CR2032 coin cell holder on back copper layer
  • Keys: 3 tactile switches (KEY1/KEY2/KEY3), active-low to GND
  • Debug: 5 test points (SWIM, NRST, VDD, GND, DBG) along board top edge
  • Unused pins: All tied to GND via 11 × 100 K pull-down resistors (RD1–RD11)
  • PCB: 170 × 75 mm, 2 mm corner radii, 4 × M2 mounting holes, dual-layer GND zones

Repository layout

  • hardware/ — KiCad schematic (hierarchical, 3 pages) + PCB layout + symbol library
  • firmware/ — PlatformIO project for STM8L051F3P6 custom target
  • docs/ — design and bring-up notes
  • .vscode/ — recommended VSCode workspace configuration

Hardware files

FileDescription
hardware/kicad/remote.kicad_proKiCad project with design settings and net classes
hardware/kicad/remote.kicad_schRoot schematic (page 1): hierarchy + PWR_FLAG
hardware/kicad/mcu_keys.kicad_schMCU + keys + debug (page 2): full 20-pin U1, pull-downs, switches, TPs
hardware/kicad/power_ir.kicad_schPower + IR driver (page 3): CR2032, decoupling, IRLML2502, R1
hardware/kicad/remote.kicad_pcbPCB layout: 22 footprints, 31 traces, GND zones, mounting holes
hardware/kicad/lib/irtool_symbols.kicad_symProject-local symbol library
hardware/schematic-structure.mdAuthoritative block/net/BOM mapping

Build firmware

sh
. .venv-pio/bin/activate
cd firmware
pio run

Key references

  • hardware/schematic-structure.md — complete schematic mapping
  • hardware/README.md — hardware design details
  • docs/design/stm8l051f3p6-irlml2502-migration.md
  • .omx/plans/prd-stm8l051f3p6-irlml2502-migration.md

Remaining work

  • R1 final resistance value (bench LED current / range validation)
  • C3 necessity (CR2032 pulse-load testing)
  • Replace irtool: footprint prefixes with KiCad standard library names
  • Manufacturing package / Gerber generation
  • Enclosure / mechanical integration

Parts

22
QtyValueFootprintReferences
4M2MountingHole:MountingHole_2.2mm_M2H1, H2, H3, H4
110-22Rirtool:R1_IR_LED_0603R1
1100Rirtool:R2_GATE_100R_0603R2
1100nFirtool:C1_100nF_0402C1
11Mirtool:R_PD_1M_0603R_PD
14.7uFirtool:C2_4u7F_0603C2
147uF OPTirtool:C3_47uF_OPTC3
1940nmirtool:D1_IR_LED_5mmD1
1CR2032irtool:BT1_CR2032_HolderBT1
1DBGirtool:TP5_DBGTP5
1GNDirtool:TP4_GNDTP4
1IRLML2502irtool:Q1_IRLML2502_SOT23Q1
1KEY1irtool:SW1_KEY1SW1
1KEY2irtool:SW2_KEY2SW2
1KEY3irtool:SW3_KEY3SW3
1NRSTirtool:TP2_NRSTTP2
1STM8L051F3P6irtool:U1_STM8L051F3P6_TSSOP20U1
1SWIMirtool:TP1_SWIMTP1
1VDDirtool:TP3_VDDTP3

Questions

How big is the Remote PCB?

It measures 170 × 75 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Remote use?

22 parts, built around the STM8L051F3P6, CR2032 and IRLML2502. 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 Remote KiCad files?

From the charles-works/irTool repository on GitHub, at the commit this page was made from: the board is hardware/kicad/remote.kicad_pcb and its schematic hardware/kicad/mcu_keys.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Remote design in my own project?

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

Similar boards

  • 2 layers17.8 × 29.2 mmAirLink STM8, the printed circuit board in 3D

    AirLink STM8

    MAHESH-THILAK-K/ADDITIONAL-PROJECT

    12 parts1Apache-2.0
  • 2 layers100 × 40 mmStm8-car ctrl, the printed circuit board in 3D

    Stm8-car ctrl

    akrapivniy/remote-robot

    58 parts6GPL-3.0
  • 2 layers59.8 × 147.1 mmBSidesSLC23, the printed circuit board in 3D

    BSidesSLC23

    Professor-plum/bsides_slc_2023

    BSides SLC 2023 Badge

    40 parts2MIT
  • 2 layers86.5 × 46 mmMalory, the printed circuit board in 3D

    Malory

    tk20dk/malory

    Low power Si4432 sensor module

    27 partsMIT
  • 2 layers42 × 62.4 mmSTM8S, the printed circuit board in 3D

    STM8S

    naufalra/AutomatedTissueProcessor_Final_Thesis_PT.Miconos

    Developing and inverse engineering heater for tissue processor with a target to use local components (TKDN) for over 70%. The research is also used for my bachelor thesis.

    59 parts1
  • 2 layers28.9 × 64.4 mmSensor rev1, the printed circuit board in 3D

    Sensor rev1

    npeixoto64/ExitGuardian

    A full product project that watches windows with wireless sensors and has a gateway for the main door with wireless sensors. When you open the exit door to leave, it checks:

    55 parts1
  • 4 layers60 × 28 mmRailLink, the printed circuit board in 3D

    RailLink

    Misaka0x2730/RailLink

    Compact isolated version of J-Link v9.

    83 parts134
  • 8 layers120 × 60 mmDFTBoard, the printed circuit board in 3D

    DFTBoard

    juliancoy/zynqPCB

    An 8-layer board in Kicad built upon Xilinx Zynq Chip. Includes sound output, HDMI, DDR3, and Arduino Uno style header for screen connection

    299 parts75MIT