Skip to the content
PCBKitNew board
2 layers33 × 26.4 mmESPTiny, the printed circuit board in 3D

KiCad ATtiny84/x14/x02 (SMD) and ESP-01 (ESP 8266) PCB boards

Size
33 × 26.4 mm
Copper layers
2
Thickness
1.6 mm
Parts
23
Nets
21
Pads
80
Tracks, vias
164, 10
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
27 Jun 2021
Updated
25 May 2025

Overview

ESPTiny is an open-source printed circuit board by tomtor, from the tomtor/ESPTiny repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 33 × 26.4 mm with 23 parts on 21 nets, routed with 164 tracks and 10 vias.

It is built around the ATTINY84-20PU and BAT85. Its parts include 5 resistors, 3 capacitors, 3 ICs, 3 connectors and 2 diodes. It belongs with the ESP32, ESP8266 and AVR (ATmega, ATtiny) boards of this library.

Main components

2

README

README.md

ATtiny84/16x4/x02 and ESP-01 (ESP8266) KiCad PCB and example code

Usage

The main function of the ATtiny is acting as a battery friendly low power co-processor for the ESP. A bit like the ULP low power co-processor of the ESP32, except with a lot more IO functions and program memory.

ATtiny and ESP combined use 22uA in sleep mode or even less when the ESP is switched off by the ATtiny with CS.

3D rendering 3D rendering

3D rendering 3D rendering

3D rendering 3D rendering

Usable on breadboard (ATtiny84: 9 rows high, leaves 2 rows empty and ATtiny16x4: 8 rows high) OR stand alone.

3 PCB designs: ATtiny84 or ATtiny16x4 or ATtinyx02

All components / features are optional:

  • ATtiny84 or ATtiny1604 / ATtiny1614 or ATtiny202 / ATtiny402
  • ESP-01 (When not used the connections/space can be used for any other (I2C) device)
  • LED with resistor
  • MCP1700 low quiescent current regulator
  • BAT85 diode for Solar Charging panel (see https://www.thethingsnetwork.org/labs/story/a-cheap-stm32-arduino-node/step/solar-power)
  • Voltage divider for measuring battery voltage
  • Decoupling capacitors
  • I2C communication between ESP and ATtiny (with optional 4k7 pull-up)
  • ATtiny can restart ESP by pulling ESP Reset low

Example code

The ATtiny wakes up the ESP every 10 minutes by pulling RST low and sends a counter and the supply voltage to it.

OTA for the ESP

OTA for ESP program updates is activated for 20s when the I2C communication fails. This can be triggered by resetting the ESP by pulling the RST line low. Because the ATtiny is most of the time sleeping the I2C communication will fail.

There is a small chance that the ATtiny will reset the ESP during upload when the 10 minute interval is completed. You can prevent this by pulling the ATtiny RST low when using OTA, or just upload again.

Schemas

https://github.com/tomtor/ESPTiny/raw/master/ESPTiny.pdf Schema

https://github.com/tomtor/ESPTiny/raw/master/ESPTiny1614.pdf Schema

https://github.com/tomtor/ESPTiny/raw/master/ESPTiny402.pdf Schema

Credits

https://github.com/jdunmire/kicad-ESP8266

Parts

23
QtyValueFootprintReferences
21MResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_VerticalR2, R3
24k7Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_VerticalR4, R5
2Conn_01x10_MaleConnector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_VerticalJ1, J2
1100nCapacitor_THT:C_Disc_D3.8mm_W2.6mm_P2.50mmC3
1100uCapacitor_THT:CP_Radial_D5.0mm_P2.50mmC2
11uCapacitor_THT:C_Disc_D3.8mm_W2.6mm_P2.50mmC1
1220Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_VerticalR1
1ATtiny84-20PUPackage_DIP:DIP-14_W7.62mmU2
1BAT85Diode_THT:D_DO-35_SOD27_P2.54mm_Vertical_AnodeUpD2
1Conn_01x04_MaleConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_HorizontalJ3
1ESP-01v090ESP8266:ESP-01U1
1LEDLED_THT:LED_D3.0mmD1
1MCP1700-3302E_TO92Package_TO_SOT_THT:TO-92_InlineU3
1SolderJumper_2Jumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mmJP1
1SolderJumper_2_OpenJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP2
1SolderJumper_3_Bridged12Jumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mm_NumberLabelsJP3

The 19 most common of 23 parts.

Questions

How big is the ESPTiny PCB?

It measures 33 × 26.4 mm and has 2 copper layers, 1.6 mm thick.

What parts does the ESPTiny use?

23 parts, built around the ATTINY84-20PU and BAT85. 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 ESPTiny KiCad files?

From the tomtor/ESPTiny repository on GitHub, at the commit this page was made from: the board is ESPTiny.kicad_pcb and its schematic ESPTiny.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the ESPTiny 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).

More from tomtor/ESPTiny

3
  • 2 layers33 × 23.9 mmESPTiny1614, the printed circuit board in 3D

    ESPTiny1614

    tomtor/ESPTiny

    KiCad ATtiny84/x14/x02 (SMD) and ESP-01 (ESP 8266) PCB boards

    24 parts4GPL-3.0
  • 2 layers26.4 × 23.9 mmESPTiny402, the printed circuit board in 3D

    ESPTiny402

    tomtor/ESPTiny

    KiCad ATtiny84/x14/x02 (SMD) and ESP-01 (ESP 8266) PCB boards

    21 parts4GPL-3.0
  • 2 layers26.4 × 23.9 mmESPTiny402-SOT89-shove, the printed circuit board in 3D

    ESPTiny402-SOT89-shove

    tomtor/ESPTiny

    KiCad ATtiny84/x14/x02 (SMD) and ESP-01 (ESP 8266) PCB boards

    20 parts4GPL-3.0

Similar boards

  • 2 layers116 × 40 mmBriefkastensensor, the printed circuit board in 3D

    Briefkastensensor

    hierle/letterbox-sensor

    LoRaWan letterbox sensor

    14 parts17GPL-3.0
  • 2 layers80 × 60 mmTwo phase charging, the printed circuit board in 3D

    Two phase charging

    HuntieDK/BMW-i3-two-phase-charging

    Extends the BMW i3 60Ah BEV/REX charging to use two phases

    73 parts8MIT
  • 2 layers109.2 × 61.5 mmPower board, the printed circuit board in 3D

    Power board

    mat3ck/eirbot1a_2018

    Eirbot first year team project for 2018 France Championship of Robotics

    29 parts2MIT
  • 2 layers97.8 × 95.3 mmHanukkah, the printed circuit board in 3D

    Hanukkah

    Electro707/2019_Menorah_PCB_Kit

    A soldering kit in the shape of menorah powered by an ATtiny84

    31 partsMIT
  • 2 layers60 × 52 mmRF Switch, the printed circuit board in 3D

    RF Switch

    gogreenpower/ATTiny84-RF-Button

    Second PCB design

    19 partsGPL-3.0
  • 2 layers70 × 60 mmMini EVSE, the printed circuit board in 3D

    Mini EVSE

    HuntieDK/Mini-EVSE

    Mini EVSE schematics for EV charging

    33 partsMIT
  • 2 layers27.6 × 47.6 mmCat door, the printed circuit board in 3D

    Cat door

    markasoftware/cat-door

    AVR firmware for my electronic cat door.

    19 partsGPL-3.0
  • 2 layers76.2 × 73.7 mmOcarina, the printed circuit board in 3D

    Ocarina

    raumzeitlabor/agenda2018

    23 parts