

Attiny microcontroller
- Size
- 23.2 × 29 mm
- Copper layers
- 4
- Thickness
- 1.6 mm
- Parts
- 46
- Nets
- 77
- Pads
- 292
- Tracks, vias
- 818, 88
- Pours
- 4
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 14 Oct 2025
- Updated
- 8 Jul 2026
Overview
Attiny microcontroller is an open-source printed circuit board by moizZM, from the moizZM/PCB-Design-Work repository on GitHub. It is a 4-layer board of 23.2 × 29 mm with 46 parts on 77 nets, routed with 818 tracks and 88 vias.
It is built around the ATTINY1616-SN, CH330N and ESP32-C3-MINI-1-N4, with the AP2112K-3.3 and USBLC6-2SC6 among its other parts. Its parts include 17 resistors, 16 capacitors, 5 ICs, 3 connectors and 1 diode. It belongs with the ESP32, AVR (ATmega, ATtiny) and RISC-V boards of this library.
Main components
5ATTINY1616-SN
SOIC-20-300mil-40℃~+105℃ 1.8V~5.5V 16KB 18 20MHz 256Byte 2KB 8 Bit AVR Built-in FLASH SOIC-20-300mil Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)CH330N
SOP-8-20℃~+70℃ 15mA 2Mbps 3.3V、5V Transceiver SOP-8 USB Converters ROHSWCH (Nanjing Qinheng Microelectronics)USB ConvertersESP32-C3-MINI-1-N4
SMD,16.6x13.2mm-40℃~+85℃ -98dBm 20.5dBm 350mA 3V~3.6V 84mA Integrated temperature sensor、Integrated antenna、Built-in watchdog On-board PCB Antenna SPI、UART、I2C、I2S、USB Transceiver SMD,16.6x13.2mm WiFi Modules ROHSEspressif SystemsRF ModulesAP2112K-3.3
SOT253.3V 600mA CMOS Low Dropout Linear Regulator with EnableDiodes IncorporatedUncategorisedUSBLC6-2SC6
SOT-23-60.35pF、0.8pF 100nA 150W@8/20us 15V 2 5V 6A@8/20us 6V ESD SOT-23-6 ESD and Surge Protection (TVS/ESD) ROHSUMWESD And Surge Protection (TVS/ESD)
README
USB-C Power Supply/README.mdUSB-C Power Supply
3D viwe
Layout
USB-C Power Supply
Overview
This project demonstrates the complete design and development of a USB-C Power Supply circuit.
The goal was to create a small PCB that outputs 5 V through a USB Type-C connector using correct CC (Configuration Channel) resistors.
The board includes a power indicator LED, decoupling capacitors, and is fully ready for JLCPCB manufacturing.
What Was Done
- Designed a schematic in KiCad 8.0 for a 5 V USB-C power source.
- Implemented CC1 and CC2 pull-down resistors (5.1 kΩ) for correct USB-C negotiation.
- Added 100 nF decoupling capacitor for voltage stability.
- Added LED indicator with 1 kΩ resistor for power-on status.
- Created and annotated all symbols and footprints in KiCad.
- Designed a two-layer PCB layout following JLCPCB design rules.
- Defined board outline, silkscreen labels, mounting holes, and reference text.
- Generated Gerber, Drill, BOM, and Pick-and-Place files for fabrication.
- Verified schematic (ERC) and layout (DRC) before manufacturing.
- Prepared files for JLCPCB assembly and optional 3D-printed enclosure.
Hardware Details
| Parameter | Description |
|---|---|
| Input | USB-C Receptacle (VBUS = 5 V) |
| Output | 2-Pin Header (5 V / GND) |
| Resistors | 5.1 kΩ × 2 (CC1/CC2), 1 kΩ × 1 (LED) |
| Capacitors | 100 nF (Decoupling) |
| Indicator | Power LED |
| Board Layers | 2 |
| Power | 5 V @ up to 3 A |
| Mounting | 4 × M2 holes |
Project Files
USB-C Power Supply.kicad_pro– KiCad project fileUSB-C Power Supply.kicad_sch– SchematicUSB-C Power Supply.kicad_pcb– PCB layoutSCH.pdf– Printable schematic reference
Manufacturing and Assembly
- Export Gerber and Drill files from KiCad.
- Upload the ZIP archive to JLCPCB.
- Choose desired solder-mask and silkscreen colors.
- (Optional) Add logo or image for silkscreen layer.
- Order boards (with or without assembly) and test after delivery.
Testing
- Connected a USB-C cable from a 5 V adapter.
- Verified 5 V output at the terminal header.
- Observed LED indicator ON confirming active power.
- Ensured no short circuits or trace issues.
Results
The PCB provides a stable 5 V output, compact design, and clear labeling.
It can serve as a reference or base module for USB-powered embedded projects or sensor systems that need a simple regulated power supply.
Tools Used
- KiCad 8.0 – Schematic capture and PCB layout
- JLCPCB – PCB manufacturing and assembly
- Fusion 360 (optional) – Enclosure and 3D model design
Author
Moiz Zaheer Malik
Hochschule Hamm-Lippstadt (HSHL)
October 2025
Parts
46| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | 10K | Resistor_SMD:R_0201_0603Metric | R10, R11, R13, R14, R15, R16, R17, R18 |
| 6 | 0.1uF | Capacitor_SMD:C_0201_0603Metric_Pad0.64x0.40mm_HandSolder | C1, C5, C6, C10, C14, C15 |
| 4 | TBD | Capacitor_SMD:C_0201_0603Metric_Pad0.64x0.40mm_HandSolder | C12, C16, C17, R12 |
| 2 | 100uF | Capacitor_SMD:C_0201_0603Metric_Pad0.64x0.40mm_HandSolder | C11, C13 |
| 2 | 10uF | Capacitor_SMD:C_0201_0603Metric_Pad0.64x0.40mm_HandSolder | C8, C9 |
| 2 | 1K | Resistor_SMD:R_0201_0603Metric | R3, R5 |
| 2 | 4.7K | Resistor_SMD:R_0201_0603Metric | R6, R7 |
| 2 | 5.1K | Resistor_SMD:R_0201_0603Metric | R19, R20 |
| 2 | Conn_01x14_Pin | Connector_PinHeader_1.00mm:PinHeader_1x14_P1.00mm_Vertical | J1, J2 |
| 2 | RESET | Button_Switch_SMD:SW_Push_SPST_NO_Alps_SKRK | AT-Reset, Boot |
| 1 | 100K | Resistor_SMD:R_0201_0603Metric | R8 |
| 1 | 2.2uF | Capacitor_SMD:C_0201_0603Metric_Pad0.64x0.40mm_HandSolder | C7 |
| 1 | 201 | Resistor_SMD:R_0201_0603Metric | R4 |
| 1 | 32.768 kHz crystal | Crystal:Crystal_SMD_3215-2Pin_3.2x1.5mm | Y1 |
| 1 | 330 | Resistor_SMD:R_0201_0603Metric | R9 |
| 1 | 4.7uF | Capacitor_SMD:C_0201_0603Metric_Pad0.64x0.40mm_HandSolder | C2 |
| 1 | AP2112K-3.3 | Package_TO_SOT_SMD:SOT-23-5 | U5 |
| 1 | ATtiny1616-S | Package_SO:SOIC-20W_7.5x12.8mm_P1.27mm | U1 |
| 1 | CH330N | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U3 |
| 1 | D_Schottky | Diode_SMD:D_2114_3652Metric | D2 |
| 1 | ESP32-C3-MINI-1-N4 | ESP32_C3_MINI_1_N4:XCVR_ESP32-C3-MINI-1-N4 | U6 |
| 1 | Polyfuse | footprints:FUSE_MF-SM030-2_BRN | F2 |
| 1 | USBLC6-2SC6 | Package_TO_SOT_SMD:SOT-23-6 | U4 |
| 1 | USB_C_Receptacle_USB2.0_16P | Connector_USB:USB_C_Receptacle_GCT_USB4110 | J5 |
Questions
How big is the Attiny microcontroller PCB?
It measures 23.2 × 29 mm and has 4 copper layers, 1.6 mm thick.
What parts does the Attiny microcontroller use?
46 parts, built around the ATTINY1616-SN, CH330N, ESP32-C3-MINI-1-N4 and AP2112K-3.3. 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 Attiny microcontroller KiCad files?
From the moizZM/PCB-Design-Work repository on GitHub, at the commit this page was made from: the board is ATtiny Microcontroller Board/attiny microcontroller.kicad_pcb and its schematic ATtiny Microcontroller Board/attiny microcontroller.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Attiny microcontroller design in my own project?
Its repository states no licence, so its author keeps all rights: ask moizZM before reusing the design.
More from moizZM/PCB-Design-Work
2- 2 layers24.7 × 24.7 mm

- 2 layers30 × 32 mm

Similar boards
- 2 layers99.7 × 35 mm

Pocket lightning detector
Matyas604/Pocket-lightning-detector
A lightning detector that runs on a battery and fits in your pocket. It records the distance, energy and current time of a lightning strike, and you can then view this data via Bluetooth in mobile app.
74 parts1GPL-3.0 - 2 layers44 × 31 mm

Noisemeter
CivicTechTO/tRacket-sensor
Design files and source code for the tRacket noise sensor
21 parts11 - 2 layers38.3 × 20.8 mm

- 2 layers160 × 100 mm

- 4 layers46 × 74 mm

- 2 layers64 × 72 mm

16seg Controller
CatoLynx/16_Segment_Display_HW_Controller
ESP32-based controller board for large 16-segmend LED display
59 parts1 - 2 layers42.7 × 62 mm

- 4 layers110 × 80 mm
