Introduction

We designed a PCB based on Attiny. ATtiny is a family of microcontrollers manufactured by Microchip Technology. These small electronic components are known for their compact size, low power consumption and reliable performance, making them ideal for a variety of embedded applications.

In our PCB we added female connectors to use the ATtiny in many different configurations, and a male connector to program the ATtiny. The ATiny chosen is the 2313A-PU. It’s a 20-pin through-chip with SPI, I2C and UART:

The aim of the board was to make the design as small as possible: 17mm x 33mm. This keeps the cost of the board low: $12 at PCBWay.

To program the ATtiny board, we’ll need an Arduino board to install the bootloader and then the program in the ATtiny. You can find our project on github.

PCB Design

The PCB consists of two layers, Top Layer and Bottom Layer. We have a male connector at the top of the board for programming. To do this, we use the SPI on the ATtiny board, which we connect to the SPI on the Arduino board. We’ve added +5V and GND to easily power the board once programmed.

We’ve also added two female connectors on either side of the ATtiny, so you can easily connect components to it: