Skip to the content
2 layers24 × 33.5 mmAttiny202-dev board, the printed circuit board in 3D

A small development board for the ATtiny202 microcontroller and my first PCB!

Size
24 × 33.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
19
Nets
13
Pads
51
Tracks, vias
70, 12
Pours
1
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
17 Sep 2024
Updated
17 Oct 2024

Overview

Attiny202-dev board is an open-source printed circuit board by AnOrdinaryUsername, from the AnOrdinaryUsername/attiny202-dev-board repository on GitHub. It is a 2-layer board of 24 × 33.5 mm with 19 parts on 13 nets, routed with 70 tracks and 12 vias.

It is built around the ATTINY202-SSN and MIC5365-3.3YD5-TR. Its parts include 4 connectors, 3 capacitors, 3 resistors, 2 ICs and 1 diode. It belongs with the microcontroller boards boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

2

README

README.md

ATtiny202 Dev Board

A small development board for the ATtiny202 microcontroller and my first PCB!

PCB Top View

Features

  • Power-Only USB Type-C Receptacle
  • 3.3V LDO Voltage Regulator
  • Red Power On LED Indicator
  • UPDI Interface

Programming

Programmable using SerialUPDI (recommended) or jtag2updi.

SerialUPDI Connections

Install avrdude following these instructions on their GitHub. Don't install through your system's package manager, or you'll get an older version of avrdude that doesn't have SerialUPDI.

Before you can use avr-gcc to build the program, you must first download the device-pack files from Microchip's Packs Repository. Download the one that says Microchip ATtiny Series Device Support (3.1.260) and then unzip it to a directory of your choice.

text
mkdir atpack
mv Microchip.ATtiny_DFP.3.1.260.atpack atpack
cd atpack && unzip Microchip.ATtiny_DFP.3.1.260.atpack

You can now build specific projects using the Makefile

text
make build proj=blinky atpack=~/atpack/

Or build all projects

text
make

After you've built your project and connected the USB to TTL adapter to your PC and the UPDI interface, upload the build files using avrdude.

text
avrdude -vvv -c serialupdi -b 230400 -P /dev/ttyUSB0 -p t202 -U flash:w:your_build_file.hex:a

Breaking it down (better explanation at avrdude docs):

  • -vvv Enables verbose output
  • -c Specifies the programmer to be used
  • -b Sets the baud rate
  • -P Selects which port to use
  • -p Says which microcontroller we're programming for (t202 stands for ATtiny202). You can view the list of parts supported at D. List of Parts
  • -U Write the hex file to flash memory and auto-detect the file format (usually Intel Hex)

Alternatively, you can also use the Makefile:

text
make upload proj=blinky port=/dev/ttyUSB0

Schematic

Board Schematic

Manufacturing/Assembly

JLCPCB formatted BOM, CPL, and Gerber files can be found in hardware.

Here's how the fully assembled PCB looks.

TopBottom
Top View of PCBBottom View of PCB

Parts

19
QtyValueFootprintReferences
4MountingHoleMountingHole:MountingHole_2.2mm_M2H1, H2, H3, H4
21uCapacitor_SMD:C_0402_1005MetricC2, C3
25k1Resistor_SMD:R_0402_1005MetricR1, R2
2LOGOLOGOG***, G***
1100nCapacitor_SMD:C_0402_1005MetricC1
11kResistor_SMD:R_0402_1005MetricR3
1ATtiny202-SSPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU1
1Conn_01x03_PinConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ5
1Conn_01x04_PinConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ4
1MIC5365-3.3YD5Package_TO_SOT_SMD:SOT-23-5U3
1REDLED_SMD:LED_0603_1608MetricD1
1UPDIConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ1
1USB_C_Receptacle_PowerOnly_6PConnector_USB:USB_C_Receptacle_GCT_USB4125-xx-x_6P_TopMnt_HorizontalJ2

Similar boards

  • 2 layers30 × 29.3 mmPRJ, the printed circuit board in 3D

    PRJ

    Juniper-Rueter/PR-J

    A universal load cell amplifier for communication with klipper and an open standard for strain gauges

    24 parts17
  • 2 layers56.5 × 22.2 mmUpdifier, the printed circuit board in 3D

    Updifier

    Dlloydev/Updi-Key

    This DIY open source hardware connects inline with any UPDI programmer to provide a HV UPDI programming solution for tinyAVR® 0/1/2 series MCUs.

    36 parts15MIT
  • 2 layers56.1 × 89.5 mmChristmas tree pcb, the printed circuit board in 3D

    Christmas tree pcb

    IamPhytan/christmas-tree-pcb

    Christmas Tree PCB, made with FOSS

    17 parts4CERN-OHL-P-2.0
  • 2 layers96 × 92.5 mmPanelize, the printed circuit board in 3D

    Panelize

    s51517765/Tibicon

    Tiny microcontroller board with Arduino framework

    600 parts1MIT
  • 2 layers123 × 66.5 mmKicad project, the printed circuit board in 3D

    Kicad project

    teaching-FEEC/ea075-2024.1

    27 parts1
  • 2 layers20.6 × 28 mmSolenoidStrokeUNIT, the printed circuit board in 3D

    SolenoidStrokeUNIT

    akita11/SolenoidStrokeUNIT

    Grove端子にUART通信元(M5Stack等のマイコンやUSBシリアル変換器)を接続し、本UNITに対してコマンド送信や結果の受信を行います。Grove端子の信号は、"RXD(受信) / TXD(送信) / VDD(+5V) /…

    21 partsMIT
  • 2 layers40 × 40 mmDRSSTC strap, the printed circuit board in 3D

    DRSSTC strap

    chrogoma2/DRSSTC_strap

    @YnuSparkClubのためのテスラコイルを模したストラップ

    17 partsMIT

Questions

How big is the Attiny202-dev board PCB?

It measures 24 × 33.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Attiny202-dev board use?

19 parts, built around the ATTINY202-SSN and MIC5365-3.3YD5-TR. 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 Attiny202-dev board KiCad files?

From the AnOrdinaryUsername/attiny202-dev-board repository on GitHub, at the commit this page was made from: the board is hardware/ATtiny202_Dev_Board.kicad_pcb and its schematic hardware/ATtiny202_Dev_Board.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Attiny202-dev board design in my own project?

Its repository states no licence, so its author keeps all rights: ask AnOrdinaryUsername before reusing the design.