Skip to the content
4 layers54.4 × 20.3 mmShiny avr, the printed circuit board in 3D

USB programmer for ATtiny25/45/85/24/44/84

Size
54.4 × 20.3 mm
Copper layers
4
Thickness
1.6 mm
Parts
39
Nets
29
Pads
158
Tracks, vias
315, 59
Pours
3
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
10 Jan 2021
Updated
11 Apr 2021

Overview

Shiny avr is an open-source printed circuit board by tibordp, from the tibordp/shiny-avr repository on GitHub, published under the BSD-2-Clause licence. It is a 4-layer board of 54.4 × 20.3 mm with 39 parts on 29 nets, routed with 315 tracks and 59 vias.

It is built around the ATTINY85-20PU and AMS1117-3.3. Its parts include 17 resistors, 13 capacitors, 4 ICs, 2 diodes and 2 connectors. It belongs with the interfaces and adapters boards and the STM32 and AVR (ATmega, ATtiny) boards of this library.

Main components

2

README

README.md

Shiny AVR Programmer

USB AVR ISP programmer specifically designed for ATtiny25/45/85 and ATtiny24/44/84/241/441/841 microcontroller families in DIP packages.

Blasphemeously designed with an STM32 microcontroller instead of an another AVR.

Shiny AVR programmer provides an 16 MHz clock signal, which allows programming chips that have had their fuse bits set to require an external crystal or clock signal.

render

Usage

Insert the ATtiny into the DIP socket on the programmer. Please make sure it is oriented the right way. It should also work for programming the ATtinys in circuit (unless there is circuitry wired to it that would interfere, which is likely, since ATtinys don't have dedicated programming pins), but since there is no standard ISP header on the board, you will need to provide an adapter cable.

Shiny AVR powers ATtinys with 3.3V.

Arduino

Shiny AVR Programmer will present to the host computer as a virtual USB serial port. It can be used seamlessly from Arduino IDE by selecting Tools > Programmer > Arduino as ISP and selecting the appropriate serial port.

avrdude

Use -c arduino command-line parameter.

PlatformIO

It requires some modifications to use the avrdude.conf from ATTinyCore instead of the default one bundled with PlatformIO (chip_erase_delay is too low in the stock one).

Example config for ATtiny85

ini
[env:attiny85]
platform = atmelavr
board = attiny85
upload_protocol = custom
upload_flags =
    -C$PROJECT_PACKAGES_DIR/framework-arduino-avr-attiny/avrdude.conf
    -p$BOARD_MCU
    -P$UPLOAD_PORT
    -b$UPLOAD_SPEED
    -carduino
upload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i

upload_port = <your serial port device here>
upload_speed = 19200
board_build.f_cpu = 16000000L
board_fuses.lfuse = 0xD1
board_fuses.hfuse = 0xDF
board_fuses.efuse = 0xFF

Example config for ATtiny84

ini
[env:attiny84]
platform = atmelavr
board = attiny84
upload_protocol = custom
upload_flags =
    -C$PROJECT_PACKAGES_DIR/framework-arduino-avr-attiny/avrdude.conf
    -p$BOARD_MCU
    -P$UPLOAD_PORT
    -b$UPLOAD_SPEED
    -carduino
upload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i

upload_port = <your serial port device here>
upload_speed = 19200
board_build.f_cpu = 8000000L
board_fuses.lfuse = 0x62
board_fuses.hfuse = 0xDF
board_fuses.efuse = 0xFF

Hardware

The schematic and PCB layout are in the kicad folder.

schematic signals

Firmware

Firmware is based on ArduinoISP with the appropriate modifications for the specifics of hardware (LEDs, SPI parameters, ...) and it adds the capability to provide external clock to be able to program ATtinys that have had their fuses set to rely on external clock or crystal.

Roadmap

  • High voltage programming support for chips RSTDISBL or debugWIRE fuse bits set
  • Managed power supply or a PTC to prevent damaging the chips that are inserted upside down in the socket.

Parts

39
QtyValueFootprintReferences
101kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1, R7, R8, R9, R10, R11, R13, R14, R15, R16
9100nCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC2, C3, C5, C6, C7, C8, C9, C12, C13
410kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR5, R6, R12, R17
220RResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR3, R4
220pCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC10, C11
24.7uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1, C4
11.5kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2
18 MHzCrystal:Crystal_SMD_5032-4Pin_5.0x3.2mmY1
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U1
1ATtiny85-20PUPackage_DIP:DIP-8_W7.62mmU3
1ATtiny85-20PUPackage_DIP:DIP-14_W7.62mmU4
1PWRLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD1
1STATUSLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD2
1STM32F103C6TxPackage_QFP:LQFP-48_7x7mm_P0.5mmU2
1SWDConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ2
1USB_B_Micro10118193-0001LF:101181930001LFJ1

Similar boards

  • 2 layers44.6 × 16.6 mmAttiny85, the printed circuit board in 3D

    Attiny85

    tomasr8/attiny85-dev-board

    Fully open-source attiny85 development board

    14 parts16MIT
  • 2 layers57 × 18 mmIoT Environmental Monitor, the printed circuit board in 3D

    IoT Environmental Monitor

    FarahCelebi/PCB-Design-Projects

    A collection of PCB designs progressing from basic passive circuits to a complete USB-powered IoT sensor board — built in KiCad, covering schematic design, multi-layer layouts, power regulation, I2C communication, and…

    19 partsMIT
  • 2 layers56 × 43 mmDvh, the printed circuit board in 3D

    Dvh

    Sleeeee/dvh

    Damn Vulnerable Hardware (DVH)

    69 partsMIT
  • 2 layers30.7 × 76.1 mmRepeater v2, the printed circuit board in 3D

    Repeater v2

    plusvic/simplebus2-intercom

    General description of the Simplebus2 protocol used by some Comelit's intercoms. Hardware for retransmitting Simplebus2 messages over UART.

    17 parts95CC0-1.0
  • 2 layers101.5 × 54 mmSimkarte, the printed circuit board in 3D

    Simkarte

    osmocom/osmocom-analog

    Software Implementation of analog cellular telephony systems like NMT, TACS, IMTS, A/B/C-Netz; mirror of https://gitea.osmocom.org/cellular-infrastructure/osmocom-analog

    15 parts32GPL-3.0
  • 2 layers76.2 × 50.8 mmJerboa-8, the printed circuit board in 3D

    Jerboa-8

    strickyak/jerboa-attiny85-mod-synth

    Modular Synthesizer using an ATtiny85 chip for each module.

    23 parts31MIT
  • 2 layersCastVolumeKnob, the printed circuit board in 3D

    CastVolumeKnob

    WebmasterTD/CastVolumeKnob

    Hardware Volume Knob for Google Cast devices

    18 parts25

Questions

How big is the Shiny avr PCB?

It measures 54.4 × 20.3 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Shiny avr use?

39 parts, built around the ATTINY85-20PU and AMS1117-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 Shiny avr KiCad files?

From the tibordp/shiny-avr repository on GitHub, at the commit this page was made from: the board is kicad/shiny-avr.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Shiny avr design in my own project?

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