PocketLight
yansha2903-bot·PocketLight·KiCad PocketLight/KiCad PocketLight.kicad_pcb
About the PocketLight PCB
PocketLight is an open source AVR/Arduino PCB design by yansha2903-bot, published on GitHub under the MIT license. It is a 2-layer board measuring 50.1 × 35.2 mm, with 9 components from 9 distinct parts.
Its main chip is the ATTINY412-SS, from the AVR/Arduino family. By type, the board carries 3 resistors, 2 switches, 1 IC, 1 battery holder, 1 diode and 1 capacitor.
From the project
A small pocket flashlight built around the ATtiny412.
A small pocket flashlight built around the ATtiny412.
This project started as a way to learn PCB design in KiCad and get more comfortable with embedded electronics. Instead of making something complicated, I wanted to build a simple device that I could actually understand from start to finish.
- ATtiny412 microcontroller - Push button to turn the light on - Automatic brightness adjustment using a photoresistor - Low component count - Compact PCB design
Main components on the PocketLight
PocketLight bill of materials (BOM)
9 components, 9 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | ATTINY412-SS ATtiny412-SS | SOIC-8_3.9x4.9mm_P1.27mm | U1 |
| 1 | Battery_Cell | BatteryHolder_Keystone_3034_1x20mm | BT1 |
| 1 | SW_Push | SW_SPST_TL3342 | SW1 |
| 1 | SW_SPST | SW_SPST_CK_RS282G05A3 | SW2 |
| 1 | LED | LED_0603_1608Metric | D1 |
| 1 | 100 nF | C_0603_1608Metric | C1 |
| 1 | 100 Ω | R_0603_1608Metric | R1 |
| 1 | R_Photo | R_0603_1608Metric | R2 |
| 1 | 10 kΩ | R_0603_1608Metric | R3 |
PocketLight design files
The KiCad project lives in the yansha2903-bot/PocketLight repository on GitHub; these links point at the commit this page was built from.
PocketLight: common questions
What microcontroller does the PocketLight use?
The PocketLight is built around the ATTINY412-SS, from the AVR/Arduino family.
How big is the PocketLight PCB?
The PocketLight measures 50.1 × 35.2 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the PocketLight?
9 components, from 9 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the PocketLight design files?
From the yansha2903-bot/PocketLight repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the PocketLight design in my own project?
Yes, under the terms of its MIT license, which yansha2903-bot chose for the repository.
Can I test firmware for the PocketLight 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