MENU

Fun & Interesting

Program an ATtiny45/85 with an Arduino Uno without Any Errors | Complete In-Depth Tutorial (2024)

Keon's Lab 12,252 1 year ago
Video Not Working? Fix It Now

Welcome to Keon's Lab! In this video I'll show you how to program an ATtiny 45 or ATtiny 85 using an Arduino Uno as programmer! I'll point out the most common reasons errors occur and how to avoid them to get a successful program upload every time! When I first learned about the ATtiny, it took me forever to figure out how to upload a sketch onto it because all the tutorials and guides always left out a couple key pieces of information regarding pin numbers and uploading that are critical to successfully uploading a program using Arduino as ISP. My goal in making this tutorial is to provide an in-depth guide to programming an ATtiny that I wish I had back when I learned about the ATtiny over 10 years ago. I hope this video is useful to anyone having trouble getting their ATtiny to work. Additional Boards URL: https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json Remember to please Like and/or Subscribe for more videos! :) Chapters: 00:00 Intro 01:03 About the ATtiny 02:12 Required Materials 02:42 Setting the Arduino as ISP 04:38 Wiring up the ATtiny 08:15 Configuring the Arduino IDE 10:21 Configuring Upload Settings for the ATtiny 11:22 Burning the Bootloader to the ATtiny 12:14 Uploading a Sketch to the ATtiny 14:33 Blink Sketch Running on the ATtiny 16:12 Adding a Second LED 19:08 Powering with a Lithium-ion Battery 20:00 Lithium Super Capacitor Powering the ATtiny 20:38 Outro

Comment