Skip to content

sonocotta/attiny-flasher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ATtiny Flasher and ATtiny Flasher Kits project files

Open Source Hardware Open Source Software I sell on Tindie
Dev Chat

ATtiny Flasher is a handy device that allows you to use your favorite IDEs and debugging tools when developing for the ATtiny microcontroller. Enjoy the classic Arduino development experience while working with bare metal. Whether you’re a design engineer, a hobbyist, or someone who’s just getting started programming MCUs, ATtiny Flasher can help you get from a great idea to a great implementation—without having to port your code to its intended platform when you’re done

After implementing numerous projects using the wonderful ATtiny family of MCUs, we’ve come away with a number of ideas about how to simplify the process. Our goal is to make ATtiny chips as easy to work with as more "grown up" MCUs:

  • We want a traditional serial terminal for debugging. Ideally, we want two—one via serial data transferred to the host over USB, and another via the onboard display.
  • We want some GPIO LEDs to play with. In fact, why not have LEDs for all GPIOs?
  • Speaking of GPIOs, we want to use the RESET pin as a GPIO too, so we'll need an on-board high-voltage programmer.
  • In general, we want to upload code to breadboard-connected devices and see that code in action immediately.
  • And finally, since our debugger will be connected to a PC via USB, it should handle 3.3 V and 5 V breadboard power rails as well

How to use it

Using onboard socket

image

  • Tiny85 to be programmed image
  • Breadboard lines connected to Tiny85 pins image
  • LEDs connected to Tiny85 pins image
  • Tiny85 Serial monitor displayed on LED as well as sent to host PC image
  • Host MCU connection to PC image

Using breadboard

image

  • Tiny85 to be programmed image
  • Breadboard lines connected to Tiny85 pins image
  • LEDs connected to Tiny85 pins image
  • Tiny85 Serial monitor displayed on LED as well as sent to host PC image
  • Host MCU connection to PC image

Using dedicated ATtiny Flasher Kits

image

  • Tiny85 to be programmed image
  • Kit components (addressable leds and 2 push buttons) image
  • Breadboard lines connected to Tiny85 pins image
  • LEDs connected to Tiny85 pins image
  • Tiny85 Serial monitor displayed on LED as well as sent to host PC image
  • Host MCU connection to PC image

Standalone, using onboard ISP Header

image

  • Use ATTiny Flasher like regular ISP Programmer

ATTiny Flasher Features

  • Flash ATtiny85, ATtiny45, ATtiny25, and ATtiny13 via breadboard or onboard header
  • Flash the entire Atmega MCU family using the ISP header
  • Flash using Arduino IDE, Platformio, or the IDE of your choice
  • Two configurable power rails, either 3.3 V or 5 V
  • Supports high-voltage programming
  • Supports UPDI programming with dedicated header
  • Supports TPI programming (after certain HW modifications)
  • Six GPIO "weak" LEDs
  • Three flash-status LEDs
  • Onboard OLED screen connected to target MCU as a live terminal
  • Streams serial data to the host PC as if it were connected directly to the target MCU. (Yes, serial on ATtiny. Even ATtiny13!)
  • A buffer IC between target and host MCUs only connects the two while flashing
  • Open hardware driven by open source software

Educational ATtiny Project Kits

Having built a product that ticks all of those boxes, we wanted to put ATtiny through its paces, so we designed a collection of simple, affordable, breadboard-compatible project kits that are easy to understand, fun to build, satisfying to use, and well suited to extension and modification. There are five of them in all, and they are a great way to learn about ATtiny programming:

Traffic Light: ATtiny85-driven "traffic light"

image

  • Onboard ATTiny85 image
  • 3 bright LEDs: green, yellow, red (PWM controllable) image
  • User-programmable button image
  • External input or output image

Rubber Ducky: ATtiny85-driven "USB rubber ducky" tool capable of emulating keyboard & mouse devices

image

  • Onboard ATTiny85 image
  • 3 user-programmable buttons image
  • USB connector with possibility act as PC keyboard or mouse image

IR Messenger: ATtiny85-driven IR remote transmitter & receiver

image

  • Onboard ATTiny85 image
  • 3 user-programmable buttons image
  • IR recevier (940nm) image
  • IR sender (dual 940nm IR LED) image

Rainbow LED: ATtiny85-driven circle of addressable LEDs

image

  • Onboard ATTiny85 image
  • 2 user-programmable buttons image
  • 8 individually addressable LEDs (WS2820) image
  • External input or output image

Digital Clock: ATtiny85-driven digital clock

image

  • Onboard ATTiny85 image
  • 2 user-programmable buttons image
  • SPI RTC clock (DS1302) with CR1220 battery image
  • 128 individually controllable LEDs (forms matrix, stacks on top) image

Hardware

Please find more information in the hardware section

Firmware

Please find more information in the software section

Where to buy

Shortly will be available to order from Mouser.

Later on will be shared on Tindie store.

Links

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published