Program the ATTINY85 with Arduino 1.8.18 (2022)

  Рет қаралды 74,024

DIY TECH BROS

4 жыл бұрын

How do build a programmer and program the ATTINY85 (Attiny 85) using Arduino IDE version 1.8.18.
It also works on Arduino 1.8.17 and down to 1.8.10 (probably older as well). And it will likely work for newer versions as well.
In addition to programming / flashing the ATTINY85 we also burn the bootloader.
Buy ATTiny85 (affiliate links):
#####################
Banggood - www.banggood.com/custlink/Km3h39QFik
AliExpress - s.click.aliexpress.com/e/_d60ULjm
eBay - rover.ebay.com/rover/1/711-53200-19255-0/1?ff3=4&pub=5575571647&toolid=10001&campid=5338657235&customid=&mpre=https%3A%2F%2Fwww.ebay.com%2Fsch%2Fi.html%3F_from%3DR40%26_trksid%3Dm570.l1313%26_nkw%3Dattiny85%2Bdip%26_sacat%3D0%26LH_TitleDesc%3D0%26_osacat%3D0%26_odkw%3Dattiny85
Shrink your Arduino projects and make them battery friendly by replacing it with the attiny 85. In this example we are using an Arduino as the programmer (ArduinoISP / Arduino as ISP).
This video is using the ATTiny Core by SpenceKonde.
github.com/SpenceKonde/ATTinyCore
This is the link to be used in the preferences menu:
drazzy.com/package_drazzy.com_index.json
Instructions for making the programmer:
Arduino - ATTINY85
5V - PIN 8
GND - PIN 4
D10 - PIN 1
D11 - PIN 5
D12 - PIN6
D13 - PIN 7
Add a 0.1uF (104) capacitor between GND and 5V of the ATTINY85
And finally add a 10uF capacitor between GND and RESET of your ARDUINO.
Note that you can use both a an Arduino Uno or an Arduino Nano as the programmer. You can also use other boards, see the Arduino Programmer ISP documentation for a complete list.
Remember to use a reliable power source, or add capacitors to make sure the programmer have a stable 5V input.

Пікірлер: 167
@DIYTECHBROS
@DIYTECHBROS 2 жыл бұрын
Want to thank us and show your support? Buy us a coffee ☕️ buymeacoffee.com/DIYTechBros
@rupacustoms90
@rupacustoms90 3 жыл бұрын
Complements! Great slow tutorial. No audio fluctuations nor annoying music. No chaos. Properly demonstrated. Chapeau. I applaud.
@DIYTECHBROS
@DIYTECHBROS 3 жыл бұрын
Thank you so much :-)
@drengrd
@drengrd Жыл бұрын
Great show but not working to all 😅
@drengrd
@drengrd Жыл бұрын
Not work to me the drazzy
@rotiree2263
@rotiree2263 3 жыл бұрын
Excluding the intro, how to upload the Blink sketch and outro, you explained how to get an Arduino to program a tiny85 in less than 4 minutes. Clear, concise, dead easy to follow. A couple of years ago, I bought a sparkfun USB programmer - it was always finicky and fragile. This way seems to be bullet-proof, so far. Thank you for this very clear, well-produced video.
@awesomegamer31
@awesomegamer31 2 жыл бұрын
a note for any of my friends struggling out there with an incorrect board signature on uploading the sketch: use the sketch tab and select "Upload using Programmer!"
@FrohlsLP
@FrohlsLP 2 жыл бұрын
does not work for me, any other suggestions? i dit it the same way as it is shown in this video
@hiltonballard908
@hiltonballard908 2 жыл бұрын
Bruh thanks so much iv been looking for a solution to this for hours
@julianstoller5883
@julianstoller5883 Ай бұрын
Thank you so much, I've been going through tutorials on KZbin for way too long and this was all I needed to do.
@tomlewis2477
@tomlewis2477 3 жыл бұрын
Thanks for taking the time to produce this. I'm trying to program a ATtiny45 with an UNO R3 per your procedure, and I have 2 snags. 1. For the Board, I don't see an ATtiny45 that doesn't say (Optiboot) after it. 2. For the Programmer, I don't see Arduino as ISP (ATtinyCore).
@TMRu22311
@TMRu22311 3 жыл бұрын
I am using a Nano and have the same issues. I also get an error trying to burn the bootloader. Mission unsuccessful :( Arduino: 1.8.15 (Windows 10), Board: "ATtiny25/45/85 (No bootloader), Enabled, CPU (CPU frequency), ATtiny85, 8 MHz (internal), EEPROM retained, B.O.D. Disabled (saves power), Enabled" Error while burning bootloader. avrdude: ser_open(): can't open device "\\.\COM5": The system cannot find the file specified.
@TMRu22311
@TMRu22311 3 жыл бұрын
Okay, I see what I did wrong and it may help you. Be sure to watch (@1:15) in the video (I missed that part). Be sure you Arduino is not connected to anything but the PC during this part. Hope this helps.
@mikesterling3949
@mikesterling3949 10 ай бұрын
I too don't see Arduino as ISP (ATtinyCore) for programmer. But I successfully programmed ATtiny85 with blink sketch. ATtinycore 1.5.2 //// Arduino 1.8.19 /// Windows8.1 /// Programmer - Arduino as ISP. You may suspect your USB cable as suggested by Dr. SpenceKonde
@jakemurdock808
@jakemurdock808 4 жыл бұрын
thank you soooooooo much I've been trying to program this attiny 85 for days and now I got it
@DIYTECHBROS
@DIYTECHBROS 4 жыл бұрын
Great :-)
@clarissamagsipoc675
@clarissamagsipoc675 4 жыл бұрын
Just when I was about to learn how to program attinys! Very informative, thanks! :)
@DIYTECHBROS
@DIYTECHBROS 4 жыл бұрын
Perfect :-)
@tohcp5729
@tohcp5729 10 ай бұрын
Thank you for so detailed guidance for programming ATTiny85, simple and go to the point
@DIYTECHBROS
@DIYTECHBROS 4 жыл бұрын
At 6:63 - it is after the blinking of the Arduino stops that you can remove the ATTiny85 - not the LED for the blink sketch. That will blink forever.
@WistrelChianti
@WistrelChianti 3 жыл бұрын
:D
@jeffreyoon9686
@jeffreyoon9686 3 жыл бұрын
Hi, I tried to do a program to drive a servo motor using ATtiny45. I encounter some problem, appreciate if you are able to help me. Thank you.
@ianbirkinhead4103
@ianbirkinhead4103 3 жыл бұрын
Thank you tried so many other videos, yours is the clearest to understand, and it worked
@lazzerbear
@lazzerbear 2 жыл бұрын
Great video! I went all around to try and figure this out. Your video was the best place got it to work first try.
@DIYTECHBROS
@DIYTECHBROS 2 жыл бұрын
That’s great news! Thank you!
@jpolarseminario
@jpolarseminario 2 жыл бұрын
Very good video. Just a friendly advice: if you anounce the vide is going to have chapters or sections, it's nice to add the time-stamp of the begining of each ones for the viewers that want to skip directly to their point of interest. Very good job.
@DIYTECHBROS
@DIYTECHBROS 2 жыл бұрын
Good call!
@shatbratches
@shatbratches 3 жыл бұрын
Great tutorial! I purchased a USB AVR programmer along with these chips and never had any success getting even the bootloader burned. I have always just put my bag of ATtiny chips away and continued to use pro minis/micros for small projects, knowing that I was always wasting so many pins, as well as money and potential reductions in project size. I am so happy to finally be able to use this chips. Thank you so much for taking the time to make this video.
@charlesklein7232
@charlesklein7232 4 жыл бұрын
made the sale! the difficulty with this is that in the past you had to load drivers for it from "gethup" and while im a member i still cant figure out how to do this and people who think this is public are really mistaken! i cant get it to work. are their videos that explain this yes but they show you how to load into it not read from it. but you loaded this with out it using the arduino! thank you!
@jromhek2070
@jromhek2070 3 жыл бұрын
Thanks ….. after trying and failing all this afternoon …. then I found your video and the led is blinking within minutes !
@MrBobWareham
@MrBobWareham 2 жыл бұрын
Thank you very much for this tutorial it worked first time, so I can use my Attiny85 chips that have been in my draw for some time, but I see as of 19-10-2022 the price has gone up.
@EpicStoryHaven-s9tsss
@EpicStoryHaven-s9tsss 3 жыл бұрын
A year later BUT STILL just when i needed it thanks
@DIYTECHBROS
@DIYTECHBROS 3 жыл бұрын
That's great!
@TrillShatner
@TrillShatner 3 жыл бұрын
Thank you very much!!! I got my blink sketch working asap, and eventually got neopixel strip working. However your instructions no longer match current ATTiny Core board settings... You now have to select "ATTiny85 (No Bootloader)" and select "AVR Dragon ISP mode (ATTiny Core)" as programmer in order to Burn Bootloader... Selecting "ATTiny85 (no bootloader)" & "Arduino ISP" is fine to upload sketches after that. Thank you again~ I hope you can upload a new video with the latest version of Arduino IDE and share this~ Subscribed!
@last1b4free
@last1b4free 3 жыл бұрын
You're right the settings are different. I choose the same settings as you said and I'm still getting an error: "Error while burning bootloader. " My chip is solder on some aliexpress board (like flat usb). it might related the fact that it's fake or something ? I checked my connection many times. So strange. Do you have some suggestions ?... And I didn't understand if you're choosing the No bootloader option this will ensure that I don't need the Arduino again if I want to upload a new sketch ? Thanks in advance
@TrillShatner
@TrillShatner 3 жыл бұрын
@@last1b4free Those solder-on boards are hit and miss due to being quickly manufactured by the thousands... Try the "Tiny AVR Programmer" on Amazon. It has a dip socket that you can just plug an ATTiny85 into... Super cheap; Be sure to get 2 just in case! If you have any issues you can hmu on FB Brandon Kish (FL), otherwise, good luck man!
@last1b4free
@last1b4free 3 жыл бұрын
@@TrillShatner I somehow succeeded to burn it. I guess I needed to burn the ArduinioISP program to arduino first without connect the Attiny. Thanks for the info ! ! Do you know some universal programmer that will also fits for 841 ?
@atihrot755
@atihrot755 Жыл бұрын
Greetings to you. Beautifully explained, it works great. You certainly helped a lot of people with that video.
@SamiulIslam-hu7ut
@SamiulIslam-hu7ut 2 жыл бұрын
when i uplode code show ( errpr: A programmer is required to upload ).how to solve it
@spicasimpson9554
@spicasimpson9554 6 ай бұрын
Excellent tutorial, do you think it will be possible to use ESP32 instead of Arduino?
@cjones4433
@cjones4433 4 жыл бұрын
Nice video! The simplest one yet! Is loading the core the same as loading the boot loader?
@DIYTECHBROS
@DIYTECHBROS 4 жыл бұрын
Thanks! Core is usually (and often very to broadly) referred to as everything needed to convert the script so that it will run on the Microcontroller and have access to the hardware of the chip (like pins, timers, etc.). In most cases I would thing that someone loaded in a new core (adding a new board) to eg. the Arduino IDE if they said they had loaded a core.
@OcenaSoft
@OcenaSoft 4 жыл бұрын
WOW, i always use the Uno to upload code to ATtiny - had no idea it would work with Nano clone though, it's working amazing - thanks from the UK
@DIYTECHBROS
@DIYTECHBROS 4 жыл бұрын
Great to hear!
@RegisMichelLeclerc
@RegisMichelLeclerc 9 ай бұрын
Alternately, you can get a USBASP device and simply wire MISO/MOSI/RST for programming. Instead of burning the bootloader, you can use avrdude to set the "fuses" to the divider you want (that's how you get your ATMega328P at 20MHz instead of 16MHz, that's 25% increase!) and make an entry in boards.txt to create your bespoke board (basically, copy the existing entry and alter the lines as needed). The only reason to use an Arduino as a programmer is that it's breadboard friendly, which USBASP is not (at all). However, it's nuch easier to use to reprogram a chip "in place" without taking the chip out of the circuit, as long as you have put a 6-pin or a 10-pin plug near your ATTiny (10-pin is less sensitive to environment). I also use an inductor to "clean" the power, and I generally connect ARef to Vcc when using the ADC.
@chrisridd9423
@chrisridd9423 4 жыл бұрын
This has been very helpful - there are too many obsolete tutorials out there. Is it possible to reprogram the ATTiny (especially the QFN package) once it is part of (soldered in) the final circuit?
@DIYTECHBROS
@DIYTECHBROS 4 жыл бұрын
if you need to reprogram it, the circuit can prevent you from doing this. But, just add jumpers to the circuit and pull them off to reprogram it. It depends on what components you are using at what pins, but sometimes you also reprogram nevertheless.
@OrnatePixels
@OrnatePixels 4 жыл бұрын
You are the best // Thanks a lot. Love Love Love.
@DIYTECHBROS
@DIYTECHBROS 4 жыл бұрын
So nice of you!!
@Cryogenius
@Cryogenius 4 ай бұрын
Great video! Now in June 2024 my Arduino IDE is version 2.3.2. For the board I use the ATTiny25/45/85 in the ATTinyCore submenu. Programmer: Arduino as ISP. To avoid getting "A programmer is required..." error message I have to use Sketch -> Upload Using Programmer menu item instead of Sketch - > Upload. Then everything works for me.
@asdomega
@asdomega 4 жыл бұрын
Thanks for the video, I was looking for some background for the AtTiny, neccesary components, pins...
@velox__
@velox__ 3 жыл бұрын
Excellent tutorial, finally got it to work, thanks :)
@fabianboshoven6146
@fabianboshoven6146 4 жыл бұрын
I am going to buy a attiny85 it is a nice board
@DIYTECHBROS
@DIYTECHBROS 4 жыл бұрын
It's really good! Amazingly enough, many of our projects don't require more pins.
@dineshvyas
@dineshvyas 3 жыл бұрын
You are an extraordinary person and amazing teacher.
@skmplanet9591
@skmplanet9591 2 жыл бұрын
Very clear instructions, thanks a lot
@arnotek
@arnotek 9 ай бұрын
I followed the instructions but using an Arduino Rev3 and the Arduino IDE 2.2.1. (on 1/15/2023) When I clicked on the upload button to upload to the ATtiny85, I encountered an error: "Upload error: A programmer is required to upload". It is an easy fix - under "Sketch" in the IDE toolbar, click on "Upload Using Programmer ctrl + shift + U" and it properly uploads the ATtiny85. This video was probably the easiest one I have encountered on how to program the ATtiny85.
@Zhaymoor
@Zhaymoor 3 жыл бұрын
you have a great channel ! thank you so much . 3 great videos in a row
@ELENKTRIK
@ELENKTRIK 4 күн бұрын
Thanks dude :) its finally working
@planker
@planker 3 жыл бұрын
I did not consider the capacitors while bootloader. I have a few that failed. ??maybe?? I can get one or two to pass? Capacitors from now on for sure. And too a Genuine Uno, just getting the bench up and ready goes smoothly running O.E. stuff. Good Video plenty of good pointers and good stuff. 3 goods.
@pneumantic6297
@pneumantic6297 Жыл бұрын
Man, would have been nice to see what those pins were that we were connecting to on the ATtiny85 and why we were doing it.
@shvideo1
@shvideo1 Жыл бұрын
It would be helpful to share the pin functions instead of numbers so people with Arduino Uno can figure out the pinout. Also you did not select the programmer in step one. I love the rest of the steps. Very informative. Thank you for sharing and keep exploring. Command line programming next? :)
@theonlyalan731
@theonlyalan731 8 ай бұрын
Do you have to program the Arduino before hooking it up with the other components as a programmer?
@murraymadness4674
@murraymadness4674 2 жыл бұрын
I have ide 1.8.12 and there is no Arduino ISP (attiny) to select for the ISP. I see in the comment to use Dragon ISP, but I get a avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2107) when trying to burn the bootloader. Checked all my connections from attiny85 to arduino, they are good. The usb cable works fine programming the nano itself. These things are GREAT when they just work. When they don't?
@atihrot755
@atihrot755 Жыл бұрын
I wish you a good day. Fantastically explained, you can't spoil it. Keep up the good work. I would like to ask if it can also be installed in Attína 3226, 1616.? Is it possible in the same way? Thank you in advance for your advice.
@johnvankampen2020
@johnvankampen2020 Жыл бұрын
When I will give the attiny85 another program some weeks later, do I have to do this all over again? Or is it just arduino as ISP?
@chandansaxena5723
@chandansaxena5723 Жыл бұрын
Thanks, I could do the programming, but code doesnt operate for long. It works only for 10-12 s. What to do..??
@DevXcode_P
@DevXcode_P 9 ай бұрын
You mean, attiny85 has no USB connection? usb+ and usb- pins for whom? In them you can connect and flash the microcontroller through it
@alfiolocatelli5093
@alfiolocatelli5093 4 жыл бұрын
Same process, Arduino 1.8.13, i would like to burn the booloader in an other way at the moment, a lot funnier. Nice video, very clear btw avrdude: Yikes! Invalid device signature. Double check connections and try again, or use -F to override this check.
@jeffzin5779
@jeffzin5779 2 жыл бұрын
How come when I try to upload the Parola_Scrolling sketch to DigiSpark I get this? Error compiling for board Digispark (Default - 16.5mhz). It works fine with the Nano. Yes, all the drivers are installed for the DigiSpark and the Blink Sketch works. Please help!
@shripop1424
@shripop1424 2 жыл бұрын
Nice video explaining every step.
@atihrot755
@atihrot755 Жыл бұрын
I would need your help. I have an Atmega 1284 microprocessor. I don't know how to flash the bootlander and how to program the project with Arduino. please help. Thank you in advance.
@drengrd
@drengrd Жыл бұрын
Drazzy can't be access on my Arduino IDE
@kanzu3074
@kanzu3074 10 ай бұрын
same, its down apparently
@aregjan
@aregjan 10 ай бұрын
same here
@nicoshadjisofokli1725
@nicoshadjisofokli1725 2 жыл бұрын
Hello, could you please give instructions for how to burn bootloader? Many thanks
@battlelandsroyalgamer2165
@battlelandsroyalgamer2165 3 ай бұрын
Well is capacitor necessary? And can I use something else like resistor or something?
@WistrelChianti
@WistrelChianti 3 жыл бұрын
Thanks, this looks very useful. Picked up some yesterday so will have to try out, discovered an issue with my IDE installation for now though so will have to fix first (boards manager borked - think I need to do an IDE update [main arduino json address is AFK] which I've been putting off haha). I noticed there is another listed option for ATtiny support on the arduino github that says it has software serial and i2c support, does the one you list here have that?. Did you try the other one and decide this one is the best? (just interested as would save me a job if you did!) Also wondered about the potential impact on the IC of running the LED for half a second without current limiting? I didn't check the current rating on the pins but I'm guessing it isn't that high? Do you know what some of those options meant? Some were self explanatory (like enabling use of milis() or not to save space but some I wasn't sure of. Am I right in thinking the bootloader only needs to be flashed if you have a setting to change? Like if I did 1MHz but then wanted to change to 8MHz? (sorry - so many questions!) Finally, I think I saw in the datasheet that there was quite a range of voltages that could be used with the attiny85, so think you could run it "in situe" a bit lower than 5v. Worth checking.
@swyntopia
@swyntopia 2 жыл бұрын
I have tried 3 Volt, and it works ( ATTiny 85 with 8 MHz ).
@WistrelChianti
@WistrelChianti 2 жыл бұрын
@@swyntopia yeh I've done 3v too
@Andrew-my1cp
@Andrew-my1cp 6 ай бұрын
The option for Arduino as ISP (ATTinyCore) did not appear for me. I set my programmer setting to Arduino as ISP and would get an error saying I am missing a programmer. All I had to do was instead of clicking upload, I had to click on the sketch tab and select upload using programmer. It worked perfectly after that.
@HappyHermitt
@HappyHermitt Жыл бұрын
I cannot get mine working at all. I.have a Tiny usb and 2 Unos. What am I doing wrong?
@WistrelChianti
@WistrelChianti 3 жыл бұрын
Got it working! ^_^Y. In my case I used a different ATtinyCore so had to choose, Board: "ATtiny25/45/85 (No Bootloader)". I didn't have any caps, so used an Arduino Micro as you don't need the reset cap for those. Key difference (aside from wiring) is I had to choose the Programmer: "Arduino as ISP (ATmega32U4, ATTinyCore)". You fail bootloader if you use the other one - this is down my using a Micro though, rather than the Nano demo'd in this video - they use different Atmel chips).
@martinwhitehurst9893
@martinwhitehurst9893 3 жыл бұрын
Hi, when I go to preferences on my Arduino UNO I don't get the option to put in the URL for the ATTiny. I get a box that says proxy settings..... can you help?
@jhondeleon63
@jhondeleon63 2 жыл бұрын
good day sir , i have a ATtiny85 chips already programmed and used in a small board with relay. this board is used in motorcycle with two additional low/high LED lights left and right of the bike. The board has two terminal connection for passing light switch. when the passing switch was press the two led blinks low and high continuously and can adjust the rate with a potentiometer. my query is can i copy the program of attiny85 chip installed on the board and re program to anew IC attny85? or there another way to copy the program using any programmer. thanks
@alewarte
@alewarte Жыл бұрын
What about ATTINY13? :) any ideas?
@Nonononono_Ohno
@Nonononono_Ohno 3 жыл бұрын
Thank you for this video, and also thanks to Spence Konde! Is the 104 ceramic capacitor still necessary between GND and VCC on the ATtiny, after it has been programmed?
@frankl1955
@frankl1955 3 жыл бұрын
Am I too old for this crap?. At 65 and a long history of cancer I have to ask myself, do I really have a whole day trying to get this to work? I started out in TV repair when they still had tubes so I’m a newbie when it comes to Arduinos, but they are just too cool. On a high note I did get it to work. I watched your video so many times today I feel I know you. Thanks, for the great video.
@33samogo
@33samogo 11 ай бұрын
5:14 "I always burn the bootloader before I upload any code" Why you need a bootloader on Attnyxx, to reset the fuses? I burn the whole day trying to upload simple blink sketch to Attiny45. Thanks to you I figured out that I have some Chinese Nano board that has no SS pin (pin 10) on SPI connector but RST, I modified the board cutting the PCB RST traces and still didn't work until I burn a bootloader. It is time to learan programing AVR without Arduno IDE :)
@riohermawan110
@riohermawan110 4 жыл бұрын
Hi. I use Arduino Uno as an ISP programmer. I followed all the instructions on the video. Everything seems to be right when I programmed Attiny85. I uploaded code where I assigned all the IO Pins as OUTPUT ( pin 2,3,5,6,7 ) and set them to HIGH. when I read those pin voltage by a voltmeter, pin 2, 6, and 7 are 5.03 Volt ( correct value) while pin 3 and 5 are 0.15 Volt. What is wrong ?
@DIYTECHBROS
@DIYTECHBROS 4 жыл бұрын
Are you using the physical pin numbers? You have to use the Arduino pin numbers in your sketches. Google ATTINY85 pinout. Without other configurations, you can only use pin 0, 1, 2, 3 and 4 (5 pins in total). Note that these are the Arduino Pin labeling. Hope it helps :-)
@riohermawan110
@riohermawan110 4 жыл бұрын
Thank you very much. I'm a totally newbie. Now I can play with Attiny85.
@erfanghaemmaghami4707
@erfanghaemmaghami4707 Жыл бұрын
could you upload the library file somewhere and put the link here i cannot find the library as u instructed tnx
@michael__5647
@michael__5647 3 жыл бұрын
hey, i only have 10uF capacitors laying arround, is it bad if i just use a 10uf instead of the 0.1uf? And what kind of wire are you using for the breadboard?
@DIYTECHBROS
@DIYTECHBROS 3 жыл бұрын
A 10uf will probably work! I'm using these wires: www.banggood.com/0_55mm-Circuit-Board-Single-Core-Tinned-Copper-Wire-Wrap-Electronic-Wire-Dupont-Cable-Jumper-Cable-p-1121767.html?rmmds=detail-left-hotproducts&cur_warehouse=CN&ID=228 They also come in a kit: www.banggood.com/Geekcreit-140pcs-U-Shape-Solderless-Breadboard-Jumper-Cable-Dupont-Wire-For-Shield-p-78680.html?gmcCountry=NO&currency=NOK&cur_warehouse=CN&createTmp=1&ad_id=337428064977&gclid=Cj0KCQjw0caCBhCIARIsAGAfuMyjejda0PSi7Yap8-oj6BIV1iN-1-uFYNHqKE--HpdbYznPKH8JpXEaAgA4EALw_wcB
@HobbyHomeWorkshop
@HobbyHomeWorkshop 3 жыл бұрын
Obviously, I want to use more pins from the ATtiny85, maybe all of them. In this case, how the connection between these two chips will look like ?
@adidadi99
@adidadi99 Жыл бұрын
i don't find the arduino as ISP(AttinyCore) Programmer
@ថាន្នីសុគុណ
@ថាន្នីសុគុណ Ай бұрын
the best explain ever
@yr4865
@yr4865 2 жыл бұрын
Excellent presentation
@Kult647
@Kult647 3 ай бұрын
the link to the source has certification problems, so it doesn't work
@sankeerthanajijuk3018
@sankeerthanajijuk3018 3 жыл бұрын
Sir ATtainy not require additional clock fruquncy
@marwahmtp6995
@marwahmtp6995 2 жыл бұрын
Hey, my LED is full ON it isnt blinking with ATtiny, does anybody knows the reason behind
@GreyDeathVaccine
@GreyDeathVaccine 3 жыл бұрын
Can I use as a programmer my Pro Micro (ATmega32U4 5V/16MHz) clone? It comes with Arduino Leonardo bootloader.
@jamiepipe1635
@jamiepipe1635 4 жыл бұрын
Love your vids. Very helpful. Could you please increase text size when showing arduino code as I struggle to read. Thankyou
@piratesofcarribean4211
@piratesofcarribean4211 Жыл бұрын
Additional url not supporting in Arduino latest version 😢😢😢😢
@dmitrygross3715
@dmitrygross3715 3 жыл бұрын
Hello! Das it really work by 8MHz? There are a lot of instructions with exclusively 1MHz clock frequency.
@Ed19601
@Ed19601 3 жыл бұрын
Yes works. 'Burning the bootloader' in fact sets the fuses that define the frequency the attiny is using. I have slways used 8MHz
@TheSchneidItworld
@TheSchneidItworld 4 жыл бұрын
wooow, that's gonna be useful, thanks!
@DIYTECHBROS
@DIYTECHBROS 4 жыл бұрын
Glad you think so :-)
@flyingskwerrl
@flyingskwerrl 4 жыл бұрын
Very informative. Ty!
@DIYTECHBROS
@DIYTECHBROS 4 жыл бұрын
Thanks for watching :-)
@arthursgarage6550
@arthursgarage6550 4 жыл бұрын
thanks this was very useful
@pattystep73
@pattystep73 7 ай бұрын
🎉thx from german
@artandata
@artandata 3 жыл бұрын
thank you! it's an excellent explaination.
@BryanWhite77
@BryanWhite77 4 жыл бұрын
I was looking into using an attiny85 for a battery powered application, but I use the nrf24l01 wireless adapters and it's a bit of a challenge to get it to work with the tiny85 since you run out of pins. I figure with a 433 MHz transmitter it would be possible.
@DIYTECHBROS
@DIYTECHBROS 4 жыл бұрын
Hi Bryan! Have a look at the HC-12. Long range, no libraries and simple hook up!
@greyhnd001
@greyhnd001 2 жыл бұрын
Which side is the top? I see a half corclebdiffet on one side
@DIYTECHBROS
@DIYTECHBROS 2 жыл бұрын
There should be a dot. The dot is located on the upper left corner, meaning the top pin there is pin 0.
@peterarmitage5357
@peterarmitage5357 4 жыл бұрын
Very good video, and explained very well, many thanks, I did successfully up load sketch to attiny85, how can I load a hex file to the attiny85???... using arduino, help would be appreciated.
@DIYTECHBROS
@DIYTECHBROS 4 жыл бұрын
Hi Peter! It depends. What is the HEX-file for? Is it for use within a sketch or is it to replace the arduino code?
@brothers6704
@brothers6704 2 жыл бұрын
Can I use another ic?
@mabsonleo
@mabsonleo 8 ай бұрын
nice explanation
@YigalBZ
@YigalBZ 3 жыл бұрын
Thanks for a clear, easy to understand guide. It is working! Your investment is highly appreciated,
@jarekow
@jarekow Жыл бұрын
Another tutorial and nothing. I've tried many tutorials with many attiny chips and pre soldered boards. Nothing happened. Not working at all. 😭
@hakimtsv8957
@hakimtsv8957 3 жыл бұрын
Hello I'm having a trouble in burning the bootloader and /or uploading the code it keeps saying yikes! invalid device signature i hope you can help me I'm in a hurry and i can't find any solution
@DIYTECHBROS
@DIYTECHBROS 3 жыл бұрын
Hi! Start by using a different USB cable :-) if that does not help, reconnect all wires.
@hakimtsv8957
@hakimtsv8957 3 жыл бұрын
@@DIYTECHBROS i did both actually 😅 I've been doing this for a week by now
@DIYTECHBROS
@DIYTECHBROS 3 жыл бұрын
How many different cables have you tried? I have at least 3 USB cables that don't work. So the USB cable problem can be a big one. Trust me, when trying the 4th cable I did not have much faith, but it fixed it!
@hakimtsv8957
@hakimtsv8957 3 жыл бұрын
@@DIYTECHBROS can it work on the Arduino without a problem but not as a programmer?
@DIYTECHBROS
@DIYTECHBROS 3 жыл бұрын
Yes!! That1s whats soooo annoying. You can program, read serial and so no - but still a lot of cables can't be used when running the Arduino as a programmer!!
@WistrelChianti
@WistrelChianti 3 жыл бұрын
I was interested in exactly what was being connected here so adding this in case others are: Arduino - ATTINY85 5V 5V - PIN 8 VCC GND GND - PIN 4 GND (code) D10 - PIN 1 RESET MOSI D11 - PIN 5 MOSI MISO D12 - PIN 6 MISO SCK D13 - PIN 7 SCK
@WistrelChianti
@WistrelChianti 3 жыл бұрын
Most of these are also available on the ICSP pins on the arduino uno so presuming they could be used too
@justinjones8744
@justinjones8744 2 жыл бұрын
pulling what little hair i have left out...grrr cant seem to program my tiny85 now seems my uno wont load isp nor will a nano lol error avr-gcc: error: unrecognized command line option '-assembler-with-cpp' exit status 1 Error compiling for board Arduino Uno. can anyone shed any light on this thanks
@DIYTECHBROS
@DIYTECHBROS 2 жыл бұрын
Restart the computer and use a different USB wire and USB port.
@justinjones8744
@justinjones8744 2 жыл бұрын
@@DIYTECHBROS thanks i thought about wire but have reinstalled the new aduino ide and it gave me some results just got to hook up the 85 now lol think im going in the right direction cheers
@DIYTECHBROS
@DIYTECHBROS 2 жыл бұрын
Great!
@adespade119
@adespade119 4 ай бұрын
Wow, so many steps, Pretty sure my Gran won't be able to do this.
@sudharshanm.n3525
@sudharshanm.n3525 3 жыл бұрын
Thank you man You genius
@mr.x4477
@mr.x4477 4 жыл бұрын
Hello sir i did exacly what you showed but i get this : avrdude: verification error, first mismatch at byte 0x0000 0x00 != 0x1d avrdude: verification error; content mismatch
@DIYTECHBROS
@DIYTECHBROS 4 жыл бұрын
Hi! Whenever you have encounter a problem programming in Arduino please go to Preferences and turn on "Show verbose output during" for uploading. Then you will have more information to work with in terms of debugging!
@mr.x4477
@mr.x4477 4 жыл бұрын
@@DIYTECHBROS Thank you sir for reacting so fast ... respect !
@Delta_li_gifs
@Delta_li_gifs Жыл бұрын
Thank you!
@danielmonostori3480
@danielmonostori3480 2 жыл бұрын
Can I program it with a raspberry pi pico?
@DIYTECHBROS
@DIYTECHBROS 2 жыл бұрын
There might be options to do so, but not with this set up, sorry!
@carlosmagnoguerra
@carlosmagnoguerra 3 жыл бұрын
Muito obrigado por ensinar. Parabéns pelo canal.
@mamidivasudev5988
@mamidivasudev5988 3 жыл бұрын
Capacitor value 10uf volts ???
@Ed19601
@Ed19601 3 жыл бұрын
Anything over 5 volts. But you may want to pick some margin. 10v, 15 v, 25, 100v, 250v. All will do
@antoniodias2776
@antoniodias2776 Жыл бұрын
Excelente.
@PekaVuite
@PekaVuite 4 жыл бұрын
can u use arduino ide version 1.8.13?
@DIYTECHBROS
@DIYTECHBROS 4 жыл бұрын
Yes, just tested it!
@EasyOne
@EasyOne 3 жыл бұрын
Attiny13 Bootloader
@Ed19601
@Ed19601 3 жыл бұрын
Attiny13 core from MCUdude/microcore at github
@EasyOne
@EasyOne 3 жыл бұрын
@@Ed19601 thanks
@Ed19601
@Ed19601 3 жыл бұрын
@@EasyOne my pleasure
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 23 МЛН
А что бы ты сделал? @LimbLossBoss
00:17
История одного вокалиста
Рет қаралды 8 МЛН
إخفاء الطعام سرًا تحت الطاولة للتناول لاحقًا 😏🍽️
00:28
حرف إبداعية للمنزل في 5 دقائق
Рет қаралды 77 МЛН
iPad Domino has been in use for a long time. Let's see the effect
0:12
3D Fantasy Life
Рет қаралды 1,1 МЛН
Xiaomi 15 - АЙФОН ТЕПЕРЬ ДЛЯ НИЩЕБРОДОВ…
12:30
Thebox - о технике и гаджетах
Рет қаралды 272 М.
Телефон - самая грязная ваша вещь
0:24
Up Your Brains
Рет қаралды 2,5 МЛН