Skip to the content
4 layers69.6 × 20.8 mmAtmega demo, the printed circuit board in 3D

PCB to demonstrate atmega microcontroller

Size
69.6 × 20.8 mm
Copper layers
4
Thickness
1.6 mm
Parts
36
Nets
53
Pads
147
Tracks, vias
264, 41
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
22 Nov 2021
Updated
23 Nov 2021

Overview

Atmega demo is an open-source printed circuit board by timdrysdale, from the timdrysdale/atmega-demo repository on GitHub, published under the GPL-3.0 licence. It is a 4-layer board of 69.6 × 20.8 mm with 36 parts on 53 nets, routed with 264 tracks and 41 vias.

It is built around the ATMEGA328P-AU, CH340G and PRTR5V0U2X. Its parts include 12 capacitors, 4 resistors, 4 ICs, 4 connectors and 3 diodes. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

3

README

README.md

atmega-demo

PCB to demonstrate atmega microcontroller together with ACS712 and temperature sensor.

Purpose

This board will be used to monitor power consumption and temperature in remote lab boxes.

atemga

Schematic

The key components are an Atmega328P, a CH340 USB transceiver, an ACS712 current sensor and a simple analog temperature sensor. DTR reset is enabled to support re-programming over USB, while ICSP header is supplied for initial programming. Both CH340 and Atmega are using 12MHz crystals, which yields 0.1% baud rate error at 57600 baud for the Atmega.

schematic

BOM

CommentDesignatorFootprintLCSC
0.1nC1Capacitor_SMD:C_0603_1608MetricC100040
100nC8,C11,C12Capacitor_SMD:C_0603_1608MetricC14663
0.1uC2,C3Capacitor_SMD:C_0603_1608MetricC14663
100nC4Capacitor_SMD:C_0805_2012MetricC49678
22pC5,C6Capacitor_SMD:C_0603_1608MetricC1653
4n7C7Capacitor_SMD:C_0603_1608MetricC53987
33pC9,C10Capacitor_SMD:C_0603_1608MetricC1663
GreenD1LED_SMD:LED_0603_1608MetricC72043
BlueD2LED_SMD:LED_0603_1608MetricC72043
PRTR5V0U2XD3Package_TO_SOT_SMD:SOT-143C2827688
Conn_01x04_MaleJ1Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Vertical
AVR_ICSPJ2Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical
USB_B_MicroJ3Connector_USB:USB_Micro-B_Amphenol_10118194_HorizontalC132563
Screw_Terminal_01x02J4TerminalBlock:TerminalBlock_bornier-2_P5.08mm
10uL1Inductor_SMD:L_0805_2012MetricC1046
10KR1Resistor_SMD:R_0603_1608MetricC25804
68R2,R3Resistor_SMD:R_0603_1608MetricC27592
1MR4Resistor_SMD:R_0603_1608MetricC22935
NOSW1Button_Switch_SMD:SW_SPST_PTS810C116501
TestPointTP1,TP2,TP3,TP4,TP5TestPoint:TestPoint_Keystone_5015_Micro-MinatureC238130
ACS712xLCTR-20AU1Package_SO:SOIC-8_3.9x4.9mm_P1.27mmC10681
MCP9700T-HTTU2Package_TO_SOT_SMD:SOT-23C150830
ATmega328P-AUU3Package_QFP:TQFP-32_7x7mm_P0.8mmC14877
CH340GU4Package_SO:SOIC-16_3.9x9.9mm_P1.27mmC14267
12MHzY1,Y2Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mmC97242

Production

DFM

The design for manufacture showed a couple of small issues:

dfm

The parts placement as shown on upload (known to disply with incorrect rotations):

original_parts

The corrected placement after processing by JLCPCB (parts now oriented the same as the 3D output from KiCAD:

corrected_parts

Parts

36
QtyValueFootprintReferences
5TestPointTestPoint:TestPoint_Keystone_5015_Micro-MinatureTP1, TP2, TP3, TP4, TP5
3100nCapacitor_SMD:C_0603_1608MetricC8, C11, C12
20.1uCapacitor_SMD:C_0603_1608MetricC2, C3
212MHzCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1, Y2
222pCapacitor_SMD:C_0603_1608MetricC5, C6
233pCapacitor_SMD:C_0603_1608MetricC9, C10
268Resistor_SMD:R_0603_1608MetricR2, R3
10.1nCapacitor_SMD:C_0603_1608MetricC1
1100nCapacitor_SMD:C_0805_2012MetricC4
110KResistor_SMD:R_0603_1608MetricR1
110uInductor_SMD:L_0805_2012MetricL1
11MResistor_SMD:R_0603_1608MetricR4
14n7Capacitor_SMD:C_0603_1608MetricC7
1ACS712xLCTR-20APackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU1
1ATmega328P-AUPackage_QFP:TQFP-32_7x7mm_P0.8mmU3
1AVR_ICSPConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ2
1BlueLED_SMD:LED_0603_1608MetricD2
1CH340GPackage_SO:SOIC-16_3.9x9.9mm_P1.27mmU4
1Conn_01x04_MaleConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ1
1GreenLED_SMD:LED_0603_1608MetricD1
1MCP9700T-HTTPackage_TO_SOT_SMD:SOT-23U2
1NOButton_Switch_SMD:SW_SPST_PTS810SW1
1PRTR5V0U2XPackage_TO_SOT_SMD:SOT-143D3
1Screw_Terminal_01x02TerminalBlock:TerminalBlock_bornier-2_P5.08mmJ4
1USB_B_MicroConnector_USB:USB_Micro-B_Amphenol_10118194_HorizontalJ3

Similar boards

  • 4 layers60 × 60 mmRocket payload, the printed circuit board in 3D

    Rocket payload

    Gupatron/Gupsfirstpcb

    This is the first pcb that I will manufacture and intend to use for teleop usecases in my personal projects.

    138 parts
  • 2 layers15.2 × 25.4 mmCH340G, the printed circuit board in 3D

    CH340G

    vul-os/sirboard

    Open hardware: 107 KiCad PCB designs — SMD-to-THT breakout adapters, ATTiny/ATMega/ESP development boards, and a 39-part sensor line on a common JST-SH connector.

    28 parts56Apache-2.0
  • 2 layers50.5 × 128.5 mmOpenThereminV45, the printed circuit board in 3D

    OpenThereminV45

    GaudiLabs/OpenThereminV4

    Open Source Theremin Instrument

    107 parts249GPL-3.0
  • 2 layers60 × 50 mmVx8 gps prototype v2.0, the printed circuit board in 3D

    Vx8 gps prototype v2.0

    4x1md/vx8_gps

    DIY GPS module for Yaesu VX-8DR/VX-8DE handheld transceiver.

    56 parts66MIT
  • 2 layers120 × 70 mmBRNG, the printed circuit board in 3D

    BRNG

    valerionew/Banana-Random-Number-Generator

    Random number generator based on radioactivity from bananas

    93 parts37
  • 4 layers50 × 50 mmDUINO, the printed circuit board in 3D

    DUINO

    elVucko/Duino_Coin_AVR

    This is the simplest DUINO coin mining board design with four Atmega328p and CH340 connected to the FE1.1S USB hub.

    93 parts7MIT
  • 4 layers102 × 49 mmCURSO PCB DRONE, the printed circuit board in 3D

    CURSO PCB DRONE

    ArduProject/PCB_DRONE_C8

    En este repositorio encontrareis los archivos de fabricación y las listas de montaje del PCB con STM32F103C8 que hemos visto en el curso.

    153 parts1MIT

Questions

How big is the Atmega demo PCB?

It measures 69.6 × 20.8 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Atmega demo use?

36 parts, built around the ATMEGA328P-AU, CH340G and PRTR5V0U2X. 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 Atmega demo KiCad files?

From the timdrysdale/atmega-demo repository on GitHub, at the commit this page was made from: the board is pcb/atmega-demo/atmega-demo.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Atmega demo design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).