Auto dimmer
ilyushkin·auto_dimmer·pcb/AutoDimmer.kicad_pcb
About the Auto dimmer PCB
Auto dimmer is an open source AVR/Arduino PCB design by ilyushkin, published on GitHub under the GPL-3.0 license. It is a 2-layer board measuring 51 × 70 mm, with 46 components from 30 distinct parts.
Its main chip is the ATtiny13A-SS, from the AVR/Arduino family. Other key parts include the MCP1755S-5002ED and SGM809B-MXN3LG. By type, the board carries 19 resistors, 10 capacitors, 3 ICs, 3 diodes, 2 transistors and 2 fuses.
From the project
Automatic dimmer for IKEA NYMANE (103.569.62) lamp based on AVR ATtiny13A MCU.
If the button is held for more than 2 seconds, auto-dimming mode activates with a 20-minute countdown, during which the lamp gradually dims from the current brightness to zero. This is convenient for falling asleep without leaving the light on. The logic is somewhat similar to the dimming-out functionality of the Philips Wake-up Light alarm clock, just without all the bells and whistles.

Main components on the Auto dimmer
Auto dimmer bill of materials (BOM)
46 components, 30 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | MCP1755S-5002ED | SOT-223-3_TabPin2 | U1 |
| 1 | ATtiny13A-SS | SOIC-8_3.9x4.9mm_P1.27mm | U2 |
| 1 | SGM809B-MXN3LG | SOT-23 | U3 |
| 1 | BTA06-600TW | TO-220-3_Horizontal_TabDown | Q1 |
| 1 | MMBT5551L | SOT-23 | Q2 |
| 1 | Conn_02x03_Odd_Even | PinHeader_2x03_P2.54mm_Vertical_SMD | J2 |
| 1 | 1A | R_Axial_DIN0414_L11.9mm_D4.5mm_P15.24mm_Horizontal | F1 |
| 1 | 125°C | C_Rect_L13.0mm_W3.0mm_P10.00mm_FKS3_FKP3_MKS4 | F2 |
| 2 | Filter_EMI_CommonMode | L_CommonMode_Wuerth_WE-CMB-XS | FL1, FL2 |
| 1 | 7N511K | RV_Disc_D7mm_W3.9mm_P5mm | RV1 |
| 1 | SW_Push | SW_PUSH_6mm_H5mm | SW1 |
| 1 | SMBJ5.0A | D_SMB | VD1 |
| 1 | LED | LED_D3.0mm | LD1 |
| 2 | MRA4007T3G | D_SMA | D1, D2 |
| 1 | BAV99 | SOT-23 | D3 |
| 1 | 390n 400V | C_Rect_L18.0mm_W9.0mm_P15.00mm_FKS3_FKP3 | C1 |
| 2 | 150n | C_Rect_L10.3mm_W5.0mm_P7.50mm_MKS4 | C2, C4 |
| 1 | 100u 50V | C_Radial_D8.0mm_H11.5mm_P3.50mm | C3 |
| 1 | 100u 16V | CP_EIA-3528-15_AVX-H_Pad1.50x2.35mm_HandSolder | C5 |
| 4 | 100n | C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C6, C8, C9, C10 |
Show 10 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | 3n | C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C7 |
| 2 | 51 | R_Axial_DIN0207_L6.3mm_D2.5mm_P5.08mm_Vertical | R1, R2 |
| 5 | 330K | R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R3, R4, R6, R7, R13 |
| 3 | 1K | R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R5, R12, R18 |
| 1 | 330K | R_Axial_DIN0207_L6.3mm_D2.5mm_P15.24mm_Horizontal | R8 |
| 2 | 240 | R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R9, R15 |
| 1 | 9K | Potentiometer_Alps_RK09K_Single_Vertical | R10 |
| 2 | 510 | R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R11, R17 |
| 2 | 10K | R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R14, R19 |
| 1 | 1.5K | R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R16 |
Auto dimmer design files
The KiCad project lives in the ilyushkin/auto_dimmer repository on GitHub; these links point at the commit this page was built from.
- Layoutpcb/AutoDimmer.kicad_pcb
- Schematicpcb/AutoDimmer.kicad_sch
Auto dimmer: common questions
What microcontroller does the Auto dimmer use?
The Auto dimmer is built around the ATtiny13A-SS, from the AVR/Arduino family.
How big is the Auto dimmer PCB?
The Auto dimmer measures 51 × 70 mm, has 2 copper layers and is 0.89 mm thick.
How many components are on the Auto dimmer?
46 components, from 30 distinct parts. The full bill of materials is listed on this page.
Where can I download the Auto dimmer design files?
From the ilyushkin/auto_dimmer repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the Auto dimmer design in my own project?
Yes, under the terms of its GPL-3.0 license, which ilyushkin chose for the repository.
Can I test firmware for the Auto dimmer without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug AVR/Arduino firmware against it before you order a PCB.
Similar boards
AVR/Arduino
Redox keyboard
mattdibi
162.2 × 126.5 mm77 parts2LMIT2.0kAVR/Arduino
ModuleV450
stuartpittaway
30 × 61.4 mm39 parts2LCC-BY-NC-4.01.1kAVR/Arduino
V4
stuartpittaway
30 × 50 mm38 parts2LCC-BY-NC-4.01.1kAVR/Arduino
Discipline
coseyfannitutti
304.9 × 122.8 mm170 parts2LCC-BY-NC-4.01.0kAVR/Arduino
Megadesk
gcormier
41.7 × 32.2 mm23 parts2LGPL-3.0818AVR/Arduino
Easyduino Atmega Nano
Hanqaqa
43.4 × 18 mm30 parts4LCERN-OHL-P-2.0746