Lamp control
Indemnity83·lamp-control·hardware/lamp-control.kicad_pcb
About the Lamp control PCB
Lamp control is an open source ESP8266 PCB design by Indemnity83, published on GitHub. It is a 2-layer board measuring 45 × 42.5 mm, with 22 components from 16 distinct parts.
Its main chip is the ESP-12E, from the ESP8266 family. Other key parts include the AMS1117-3.3 and TTP223-BA6. By type, the board carries 6 resistors, 5 capacitors, 4 connectors, 3 ICs, 2 switches and 1 transistor.
It belongs with the iot & wireless designs in this gallery.
From the project
This project is a custom ESP8266 (ESP-12E) + ESPHome retrofit for a standard touch‑controlled bedside reading lamp, adding full Wi‑Fi control and Home Assistant integration.
This project is a custom ESP8266 (ESP-12E) + ESPHome retrofit for a standard touch‑controlled bedside reading lamp, adding full Wi‑Fi control and Home Assistant integration.
Originally built for a fun (and slightly devious) bedtime automation, it’s now a clean, reusable smart‑lamp controller with both open hardware and open firmware.
Same lamp on the outside. Entirely new personality on the inside.

Main components on the Lamp control
Lamp control bill of materials (BOM)
22 components, 16 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | AMS1117-3.3 | SOT-223-3_TabPin2 | U2 |
| 1 | ESP-12E | ESP-12E | U3 |
| 1 | TTP223-BA6 | SOT-23-6 | U4 |
| 1 | BSS138 | SOT-23 | Q2 |
| 1 | SPI | PinHeader_1x04_P2.54mm_Horizontal | J1 |
| 1 | I²C | JST_SH_SM04B-SRSS-TB_1x04-1MP_P1.00mm_Horizontal | J3 |
| 1 | VIN | TerminalBlock_4Ucon_1x02_P3.50mm_Horizontal | J4 |
| 1 | LED | TerminalBlock_4Ucon_1x02_P3.50mm_Horizontal | J5 |
| 1 | Reset | SW_Tactile_SPST_NO_Straight_CK_PTS636Sx25SMTRLFS | SW1 |
| 1 | Flash | SW_Tactile_SPST_NO_Straight_CK_PTS636Sx25SMTRLFS | SW2 |
| 1 | SS14 | D_SMA | D1 |
| 2 | 22µF | CP_EIA-3528-12_Kemet-T_HandSolder | C3, C4 |
| 2 | 1µF | C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C5, C6 |
| 1 | 22pF | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C7 |
| 5 | 10k | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R3, R4, R5, R6, R8 |
| 1 | 330 | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R7 |
Lamp control design files
The KiCad project lives in the Indemnity83/lamp-control repository on GitHub; these links point at the commit this page was built from.
Lamp control: common questions
What microcontroller does the Lamp control use?
The Lamp control is built around the ESP-12E, from the ESP8266 family.
How big is the Lamp control PCB?
The Lamp control measures 45 × 42.5 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Lamp control?
22 components, from 16 distinct parts. The full bill of materials is listed on this page.
Where can I download the Lamp control design files?
From the Indemnity83/lamp-control repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the Lamp control design in my own project?
The repository has no license, so all rights stay with Indemnity83. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the Lamp control without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug ESP8266 firmware against it before you order a PCB.
Similar boards
ESP8266
ESP8266ControllerCircuit
stuartpittaway
75 × 30 mm20 parts2LCC-BY-NC-4.01.1kESP8266
HASwitchPlate
aderusha
60 × 40 mm8 parts2LMIT738ESP8266
RatGDO-OpenSource-D1Mini-ESP8266
Kaldek
47.8 × 63.3 mm12 parts2LMIT506ESP8266
Goatgdo
Kaldek
32.9 × 53.3 mm23 parts2LMIT506ESP8266
RatGDO-OpenSource-Bare-ESP8266
Kaldek
55 × 82.7 mm20 parts2LMIT506ESP8266
Iaq board
nkitanov
70.1 × 43.2 mm17 parts2LNo license398