Program ATtiny85 directly via USB

preview_player
Показать описание
The ATtiny 85 is a great little micro controller: Cheap, compact, but it does not offer USB programming like our trusty Arduino boards.

In this video I will show how to have best of both worlds, a USB programmable ATtiny85!

In this video we will do the following:
1. Build an ISP programmer with an Arduino
2. Add the ATtiny to the Arduino IDE
3. Burn a USB-ready bootloader in the ATtiny85
4. Upload a simple sketch to the ATtiny to see how it works!

Link for Arduino boards-manager:
Many thanks for Daniel Porry for making this possible.

Have fun!
Рекомендации по теме
Комментарии
Автор

Thanks for posting this easy to follow tutorial. I am going to try this and use a chip mount to program my attiny's with

stevebarrow
Автор

Hey thanks for the tutorial, it helped me a lot! However, even though it works, i believe there is a mistake in the schematic. There should be a capacitor between DTR and the RESET pin of the ATTiny (1), thats correct. But then RESET pin should be pulled high. The way you have it, the DTR pin is pulled high and RESET pin is floating, which is wrong.

If you check the schematic of arduino UNO for example you see that its designed the way i described. I believe your version works only because of imperfections of the capacitor.

The rest of the video is amazing tho and thank you for the tutorial!

vitporiz
Автор

Interesting. I have a project that this might be good for. How much power does the ATTiny85 use? I have one on a board and it seems to use 8-10ma. I bet just the chip uses less.

ZephodBeeblebrox
Автор

Since the circuit includes a Nano, why not just use the Nano for bootloading and programming instead of replacing it with a FTDI?

drkgld
Автор

Cheers. I uploaded Botlander, but already with the same programmer, and according to the procedures, it won't upload the program for me. Can you help me why? Well thank you.

atihrot
Автор

It's just that the pull up resistor appears on the schematic (for the FTDI), but on the Prontoboard, the pull up resistor is on the attiny.
Thanks!

lorivalmagalhaes
Автор

Everything work fine until the last uploading (blink test to attiny85), when I got this orange error message: "cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin." (Arduino IDE 2.3.0, Win10 x64)

ndavid
Автор

Y es muy necesario, cargar bootloader a un attiny85 siempre he tenido la duda. ya que cuenta con tan poca memoria. Algun ejemplo de oled con attiny85, gracias

Lanco.valdivia
Автор

If my FTDI doesn't have a reset pin, only RX and TX, can I trigger the reset in Tiny85 myself, like I do when programming Arduino Pro Mini? Regards.

przemekbundy
Автор

while compiling it has this error:
cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin.

przemekbundy
Автор

If you already have the arduino set up as an isp to burn the bootloader then why not use it to flash the program?

marchache
Автор

resistor 10k vai no pin 1 attiny and + vcc? (pullup 1 reset high level)

lorivalmagalhaes
Автор

Brilliant ... should be great for creating IO peripheral processors

TomLeg
Автор

How is it directly if it is over a serial port?

ivolol
Автор

Great tutorial! I tried this on Arduino IDE 2.3.x and it doesn't work :( But it does work on version 1.8.x Would be great if you could get this working with IDE 2.0 and show us how to do it!

louisferreira
Автор

doo you know how to attiny85 analog read

sarathkumar-gqbe
Автор

Cheers. I uploaded Botlander, but already with the same programmer, and according to the procedures, it won't upload the program for me. Can you help me why? Well thank you.

atihrot