

Remote
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
3STM8L051F3P6
TSSOP-20-40℃~+85℃ 1.8V~3.6V 12bit 16MHz 18 1KB 256Byte 8 Bit 8KB Built-in FLASH STM8 TSSOP-20 Microcontrollers (MCU/MPU/SOC) ROHSSTMicroelectronicsMicrocontrollers (MCU/MPU/SOC)CR2032
-- Unclassified goods ROHSMaxellUncategorisedIRLML2502
SOT-23-40℃~+150℃ 1 N-channel 1.25W 20V 4.2A 50mΩ@2.5V 600mV 66pF 740pF 8nC@10V SOT-23 MOSFETs ROHSGuangdong HottechMOSFETs
README
README.mdSTM8L051F3P6 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 libraryfirmware/— PlatformIO project for STM8L051F3P6 custom targetdocs/— design and bring-up notes.vscode/— recommended VSCode workspace configuration
Hardware files
| File | Description |
|---|---|
hardware/kicad/remote.kicad_pro | KiCad project with design settings and net classes |
hardware/kicad/remote.kicad_sch | Root schematic (page 1): hierarchy + PWR_FLAG |
hardware/kicad/mcu_keys.kicad_sch | MCU + keys + debug (page 2): full 20-pin U1, pull-downs, switches, TPs |
hardware/kicad/power_ir.kicad_sch | Power + IR driver (page 3): CR2032, decoupling, IRLML2502, R1 |
hardware/kicad/remote.kicad_pcb | PCB layout: 22 footprints, 31 traces, GND zones, mounting holes |
hardware/kicad/lib/irtool_symbols.kicad_sym | Project-local symbol library |
hardware/schematic-structure.md | Authoritative block/net/BOM mapping |
Build firmware
. .venv-pio/bin/activate
cd firmware
pio runKey references
hardware/schematic-structure.md— complete schematic mappinghardware/README.md— hardware design detailsdocs/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| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | M2 | MountingHole:MountingHole_2.2mm_M2 | H1, H2, H3, H4 |
| 1 | 10-22R | irtool:R1_IR_LED_0603 | R1 |
| 1 | 100R | irtool:R2_GATE_100R_0603 | R2 |
| 1 | 100nF | irtool:C1_100nF_0402 | C1 |
| 1 | 1M | irtool:R_PD_1M_0603 | R_PD |
| 1 | 4.7uF | irtool:C2_4u7F_0603 | C2 |
| 1 | 47uF OPT | irtool:C3_47uF_OPT | C3 |
| 1 | 940nm | irtool:D1_IR_LED_5mm | D1 |
| 1 | CR2032 | irtool:BT1_CR2032_Holder | BT1 |
| 1 | DBG | irtool:TP5_DBG | TP5 |
| 1 | GND | irtool:TP4_GND | TP4 |
| 1 | IRLML2502 | irtool:Q1_IRLML2502_SOT23 | Q1 |
| 1 | KEY1 | irtool:SW1_KEY1 | SW1 |
| 1 | KEY2 | irtool:SW2_KEY2 | SW2 |
| 1 | KEY3 | irtool:SW3_KEY3 | SW3 |
| 1 | NRST | irtool:TP2_NRST | TP2 |
| 1 | STM8L051F3P6 | irtool:U1_STM8L051F3P6_TSSOP20 | U1 |
| 1 | SWIM | irtool:TP1_SWIM | TP1 |
| 1 | VDD | irtool:TP3_VDD | TP3 |
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 mm

- 2 layers100 × 40 mm

- 2 layers59.8 × 147.1 mm

- 2 layers86.5 × 46 mm

- 2 layers42 × 62.4 mm

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 mm

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 mm

- 8 layers120 × 60 mm

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