# ATtiny412 Development Board

Develop applications using the AVR 1-series ATtiny412

- **Seller:** [LeoNerd's Store](https://lectronz.com/stores/leonerd), Twickenham, UK
- **Price:** £8.88 (GBP, before shipping and taxes)
- **Availability:** In stock
- **Categories:** Prototyping
- **HS code:** 853710
- **Product page:** https://lectronz.com/products/attiny412-development-board

## Images

![ATtiny412 Development Board](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTUwOTIsInB1ciI6ImJsb2JfaWQifX0=--95b9424a8aa9de49d20fa20ba563b28dc075d54e/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/2019-08-07T14-36-02.798Z-IMG_7015.JPG)
![ATtiny412 Development Board](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTUwOTMsInB1ciI6ImJsb2JfaWQifX0=--37d713b2ee9db3b75edba4f88a04e4673de16cc0/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/2019-08-07T14-36-02.798Z-IMG_7017.JPG)
![ATtiny412 Development Board](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTUwOTQsInB1ciI6ImJsb2JfaWQifX0=--f0bc03bdbba8f846ec05c87a86a2b22438a411e8/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJwbmciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--605f1da017bcbb03ce31845cd0e81d97e3b3c574/2023-06-14T00-40-14.409Z-updi-plus-target-titled.png)
![ATtiny412 Development Board](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTUwOTUsInB1ciI6ImJsb2JfaWQifX0=--41b85b39c4ad8d8c8a9f29b87446443572f7ca7a/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJwbmciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--605f1da017bcbb03ce31845cd0e81d97e3b3c574/2019-08-07T14-36-53.374Z-t412-breakout.svg.png)

## Description

#### Summary

 * ATtiny412 breakout
 * UPDI+ programming header
 * Status LED
 * Reset button

#### What is it?

This board holds an AVR ATtiny412 microcontroller, providing access to all of the IO pins. It adds power supply decoupling capacitors, an LED, a button, and UPDI programming header to make a convenient self-contained development board for small microcontroller projects.

The LED is attached to the `PA3` pin via a 2k2 current-limiting resistor (note that this is unlike my other AVR 1-series boards, which use `PA7`).

The button is attached to the `PA0` `UPDI/RESET#` pin via a series resistor to prevent damage in case of drive contention. Note that the `PA0` pin defaults to UPDI mode. Switching the pin to RESET mode will require the use of a 12V-capable UPDI programmer if you want to program the chip after this.

The board also provides a programming header in the AVR standard 2x3 layout. Note that this will requires a UPDI-capable programmer. An SPI-style ISP programmer will not work with this chip. This programming header also includes the USART.0 TX and RX signals in "UPDI+" layout, allowing single-cable programming and debug with a suitable programmer.

Finally, an extra 2-pin header is provided with another VCC and GND pin in case additional connections are required.

Reference icons are placed next to the pins used by the USART, I²C, SPI, and DAC modules, and where the LED is connected, to remind you what functions those pins usually perform.

This board is supplied with two 4 pin header strips for the IO pins and one 2x3 pin for the programming connector.

#### ATtiny412

The ATtiny412 is one of the new AVR 1-series microcontrollers, containing xmega-style peripherals. These are more powerful and flexible than previous generations of ATmega and ATtiny chips.

This particular chip contains 4 KiB of flash and 256 bytes of RAM on an AVR CPU clocked at 20 MHz. It provides two 16bit and one 12bit PWM-capable timers, a 16bit realtime counter, a USART with fractional baud rate generator, a master/slave capable SPI interface, I²C interface, analog comparator, 10bit ADC, 8bit DAC, and in total 6 IO pins. It also provides a 6-channel event system and configurable custom logic block that can route events between peripherals without waking the CPU.

More information can be found on Microchip's website at [https://www.microchip.com/wwwproducts/en/ATTINY412](https://www.microchip.com/wwwproducts/en/ATTINY412)

#### Why did you make it?

I wanted to experiment with the new AVR 1-series chips, but couldn't find any maker-oriented hardware for them.

#### What makes it special?

I believe this may be the first use of an ATtiny412, outside of the development boards produced by Microchip themselves.

#### Related Products

| Size | AVR 1-series | AVR 2-series |
| --- | --- | --- |
| 8pin, 4KiB flash | *ATtiny412* | - |
| 14pin, 8KiB flash | <a href="https://www.tindie.com/products/leonerd/attiny814-development-board/">ATtiny814</a>  | <a href="https://lectronz.com/products/attiny824-development-board">ATtiny824</a> |
| 20pin, 16KiB flash | <a href="https://www.tindie.com/products/leonerd/attiny1616-development-board/">ATtiny1616</a> | <a href="https://lectronz.com/products/attiny1626-development-board">ATtiny1626</a> |
| 24pin, 32KiB flash | <a href="https://www.tindie.com/products/leonerd/attiny3217-development-board/">ATtiny3217</a> | <a href="https://lectronz.com/products/attiny3227-development-board">ATtiny3227</a> |

 * <a href="https://lectronz.com/products/avr-updi-programmer-with-12v">**AVR UPDI Programmer with 12V**</a>
A USB UPDI programmer with a second serial port and 12V pulse generator
