Program the ATTINY85 with Arduino 1.8.18 (2022)

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 พ.ค. 2024
  • 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/Km3...
    AliExpress - s.click.aliexpress.com/e/_d60ULjm
    eBay - rover.ebay.com/rover/1/711-532...
    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/ATTiny...
    This is the link to be used in the preferences menu:
    drazzy.com/package_drazzy.com_...
    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.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 160

  • @DIYTECHBROS
    @DIYTECHBROS  2 ปีที่แล้ว +6

    Want to thank us and show your support?
    Buy us a coffee ☕️
    buymeacoffee.com/DIYTechBros

  • @awesomegamer31
    @awesomegamer31 2 ปีที่แล้ว +8

    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

  • @rupacustoms90
    @rupacustoms90 3 ปีที่แล้ว +9

    Complements! Great slow tutorial. No audio fluctuations nor annoying music. No chaos. Properly demonstrated. Chapeau. I applaud.

    • @DIYTECHBROS
      @DIYTECHBROS  3 ปีที่แล้ว +2

      Thank you so much :-)

    • @jilvirpaeste8258
      @jilvirpaeste8258 7 หลายเดือนก่อน

      Great show but not working to all 😅

    • @jilvirpaeste8258
      @jilvirpaeste8258 7 หลายเดือนก่อน

      Not work to me the drazzy

  • @rotiree2263
    @rotiree2263 2 ปีที่แล้ว +4

    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.

  • @shatbratches
    @shatbratches 2 ปีที่แล้ว +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.

  • @tohcp5729
    @tohcp5729 5 หลายเดือนก่อน

    Thank you for so detailed guidance for programming ATTiny85, simple and go to the point

  • @ianbirkinhead4103
    @ianbirkinhead4103 2 ปีที่แล้ว

    Thank you tried so many other videos, yours is the clearest to understand, and it worked

  • @jakemurdock808
    @jakemurdock808 3 ปีที่แล้ว +9

    thank you soooooooo much I've been trying to program this attiny 85 for days and now I got it

  • @tomlewis2477
    @tomlewis2477 3 ปีที่แล้ว +6

    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 2 ปีที่แล้ว +2

      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 2 ปีที่แล้ว +2

      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 4 หลายเดือนก่อน

      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

  • @clarissamagsipoc675
    @clarissamagsipoc675 3 ปีที่แล้ว +6

    Just when I was about to learn how to program attinys! Very informative, thanks! :)

  • @Zhaymoor
    @Zhaymoor 3 ปีที่แล้ว

    you have a great channel ! thank you so much . 3 great videos in a row

  • @asdomega
    @asdomega 3 ปีที่แล้ว +1

    Thanks for the video, I was looking for some background for the AtTiny, neccesary components, pins...

  • @atihrot755
    @atihrot755 ปีที่แล้ว

    Greetings to you. Beautifully explained, it works great. You certainly helped a lot of people with that video.

  • @charlesklein7232
    @charlesklein7232 3 ปีที่แล้ว

    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!

  • @lazzerbear
    @lazzerbear 2 ปีที่แล้ว +1

    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!

  • @dineshvyas
    @dineshvyas 2 ปีที่แล้ว

    You are an extraordinary person and amazing teacher.

  • @MrBobWareham
    @MrBobWareham ปีที่แล้ว

    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.

  • @velox__
    @velox__ 3 ปีที่แล้ว +1

    Excellent tutorial, finally got it to work, thanks :)

  • @jromhek2070
    @jromhek2070 3 ปีที่แล้ว

    Thanks ….. after trying and failing all this afternoon …. then I found your video and the led is blinking within minutes !

  • @skmplanet9591
    @skmplanet9591 2 ปีที่แล้ว +1

    Very clear instructions, thanks a lot

  • @yr4865
    @yr4865 2 ปีที่แล้ว

    Excellent presentation

  • @Delta_li_gifs
    @Delta_li_gifs 8 หลายเดือนก่อน

    Thank you!

  • @shripop1424
    @shripop1424 ปีที่แล้ว

    Nice video explaining every step.

  • @Nonononono_Ohno
    @Nonononono_Ohno 2 ปีที่แล้ว

    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?

  • @jamiepipe1635
    @jamiepipe1635 3 ปีที่แล้ว

    Love your vids. Very helpful. Could you please increase text size when showing arduino code as I struggle to read. Thankyou

  • @arthursgarage6550
    @arthursgarage6550 3 ปีที่แล้ว +1

    thanks this was very useful

  • @artandata
    @artandata 3 ปีที่แล้ว

    thank you! it's an excellent explaination.

  • @sigurdboe1
    @sigurdboe1 2 ปีที่แล้ว +1

    A year later BUT STILL just when i needed it thanks

  • @OcenaSoft
    @OcenaSoft 3 ปีที่แล้ว +1

    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

  • @sudharshanm.n3525
    @sudharshanm.n3525 3 ปีที่แล้ว

    Thank you man You genius

  • @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.

  • @jpolarseminario
    @jpolarseminario 2 ปีที่แล้ว +3

    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.

  • @flyingskwerrl
    @flyingskwerrl 3 ปีที่แล้ว +1

    Very informative. Ty!

    • @DIYTECHBROS
      @DIYTECHBROS  3 ปีที่แล้ว

      Thanks for watching :-)

  • @alfiolocatelli5093
    @alfiolocatelli5093 3 ปีที่แล้ว

    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.

  • @SamiulIslam-hu7ut
    @SamiulIslam-hu7ut ปีที่แล้ว +2

    when i uplode code show ( errpr: A programmer is required to upload ).how to solve it

  • @DIYTECHBROS
    @DIYTECHBROS  3 ปีที่แล้ว +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 ปีที่แล้ว +1

      :D

    • @jeffreyoon9686
      @jeffreyoon9686 2 ปีที่แล้ว +1

      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.

  • @arnotek
    @arnotek 3 หลายเดือนก่อน

    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.

  • @OrnatePixels
    @OrnatePixels 3 ปีที่แล้ว +1

    You are the best // Thanks a lot. Love Love Love.

  • @mabsonleo
    @mabsonleo 2 หลายเดือนก่อน

    nice explanation

  • @spicasimpson9554
    @spicasimpson9554 28 วันที่ผ่านมา

    Excellent tutorial, do you think it will be possible to use ESP32 instead of Arduino?

  • @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? :)

  • @TrillShatner
    @TrillShatner 3 ปีที่แล้ว +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 2 ปีที่แล้ว +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 2 ปีที่แล้ว +2

      @@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 2 ปีที่แล้ว +1

      @@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 ?

  • @carlosmagnoguerra
    @carlosmagnoguerra 3 ปีที่แล้ว

    Muito obrigado por ensinar. Parabéns pelo canal.

  • @chrisridd9423
    @chrisridd9423 3 ปีที่แล้ว +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  3 ปีที่แล้ว +1

      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.

  • @TheSchneidItworld
    @TheSchneidItworld 3 ปีที่แล้ว +1

    wooow, that's gonna be useful, thanks!

    • @DIYTECHBROS
      @DIYTECHBROS  3 ปีที่แล้ว

      Glad you think so :-)

  • @pattystep73
    @pattystep73 หลายเดือนก่อน

    🎉thx from german

  • @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 ?

  • @YigalBZ
    @YigalBZ 3 ปีที่แล้ว

    Thanks for a clear, easy to understand guide. It is working! Your investment is highly appreciated,

  • @fabianboshoven6146
    @fabianboshoven6146 3 ปีที่แล้ว +4

    I am going to buy a attiny85 it is a nice board

    • @DIYTECHBROS
      @DIYTECHBROS  3 ปีที่แล้ว +2

      It's really good! Amazingly enough, many of our projects don't require more pins.

  • @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.

  • @nicoshadjisofokli1725
    @nicoshadjisofokli1725 ปีที่แล้ว

    Hello, could you please give instructions for how to burn bootloader?
    Many thanks

  • @planker
    @planker 2 ปีที่แล้ว +1

    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.

  • @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).

  • @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

  • @RegisMichelLeclerc
    @RegisMichelLeclerc 4 หลายเดือนก่อน

    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.

  • @erfanghaemmaghami4707
    @erfanghaemmaghami4707 ปีที่แล้ว

    could you upload the library file somewhere and put the link here i cannot find the library as u instructed
    tnx

  • @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.

  • @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?

  • @cjones4433
    @cjones4433 3 ปีที่แล้ว +3

    Nice video! The simplest one yet! Is loading the core the same as loading the boot loader?

    • @DIYTECHBROS
      @DIYTECHBROS  3 ปีที่แล้ว +1

      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.

  • @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!

  • @chandansaxena5723
    @chandansaxena5723 10 หลายเดือนก่อน

    Thanks, I could do the programming, but code doesnt operate for long. It works only for 10-12 s. What to do..??

  • @johnvankampen2020
    @johnvankampen2020 10 หลายเดือนก่อน

    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?

  • @sankeerthanajijuk3018
    @sankeerthanajijuk3018 2 ปีที่แล้ว

    Sir ATtainy not require additional clock fruquncy

  • @BryanWhite77
    @BryanWhite77 3 ปีที่แล้ว

    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  3 ปีที่แล้ว

      Hi Bryan! Have a look at the HC-12. Long range, no libraries and simple hook up!

  • @theonlyalan731
    @theonlyalan731 3 หลายเดือนก่อน

    Do you have to program the Arduino before hooking it up with the other components as a programmer?

  • @antoniodias2776
    @antoniodias2776 10 หลายเดือนก่อน

    Excelente.

  • @GreyDeathVaccine
    @GreyDeathVaccine 3 ปีที่แล้ว

    Can I use as a programmer my Pro Micro (ATmega32U4 5V/16MHz) clone? It comes with Arduino Leonardo bootloader.

  • @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 ปีที่แล้ว +1

      I have tried 3 Volt, and it works ( ATTiny 85 with 8 MHz ).

    • @WistrelChianti
      @WistrelChianti 2 ปีที่แล้ว

      @@swyntopia yeh I've done 3v too

  • @peterarmitage5357
    @peterarmitage5357 3 ปีที่แล้ว

    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  3 ปีที่แล้ว

      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?

  • @Andrew-my1cp
    @Andrew-my1cp หลายเดือนก่อน

    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?

  • @33samogo
    @33samogo 6 หลายเดือนก่อน

    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 :)

  • @adidadi99
    @adidadi99 10 หลายเดือนก่อน

    i don't find the arduino as ISP(AttinyCore) Programmer

  • @brothers6704
    @brothers6704 ปีที่แล้ว

    Can I use another ic?

  • @DevXcode_P
    @DevXcode_P 4 หลายเดือนก่อน

    You mean, attiny85 has no USB connection? usb+ and usb- pins for whom? In them you can connect and flash the microcontroller through it

  • @marwahmtp6995
    @marwahmtp6995 2 ปีที่แล้ว

    Hey, my LED is full ON it isnt blinking with ATtiny, does anybody knows the reason behind

  • @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¤cy=NOK&cur_warehouse=CN&createTmp=1&ad_id=337428064977&gclid=Cj0KCQjw0caCBhCIARIsAGAfuMyjejda0PSi7Yap8-oj6BIV1iN-1-uFYNHqKE--HpdbYznPKH8JpXEaAgA4EALw_wcB

  • @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.

  • @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.

  • @alewarte
    @alewarte ปีที่แล้ว

    What about ATTINY13? :) any ideas?

  • @piratesofcarribean4211
    @piratesofcarribean4211 10 หลายเดือนก่อน

    Additional url not supporting in Arduino latest version 😢😢😢😢

  • @MrSpy007
    @MrSpy007 8 หลายเดือนก่อน

    thanksssssssssssss brrrooooooooooooo

  • @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

  • @khomo12
    @khomo12 หลายเดือนก่อน

    👍👍👍

  • @jilvirpaeste8258
    @jilvirpaeste8258 7 หลายเดือนก่อน +2

    Drazzy can't be access on my Arduino IDE

    • @kanzu3074
      @kanzu3074 5 หลายเดือนก่อน

      same, its down apparently

    • @aregjan
      @aregjan 4 หลายเดือนก่อน

      same here

  • @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 ปีที่แล้ว +1

      @@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!

  • @riohermawan110
    @riohermawan110 3 ปีที่แล้ว +1

    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  3 ปีที่แล้ว +1

      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 3 ปีที่แล้ว +1

      Thank you very much. I'm a totally newbie. Now I can play with Attiny85.

  • @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

  • @rasikasampath158
    @rasikasampath158 3 ปีที่แล้ว

    Ilnk please

  • @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!

  • @mr.x4477
    @mr.x4477 3 ปีที่แล้ว

    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  3 ปีที่แล้ว +1

      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 3 ปีที่แล้ว

      @@DIYTECHBROS Thank you sir for reacting so fast ... respect !

  • @TheSchneidItworld
    @TheSchneidItworld 3 ปีที่แล้ว

    ohhh

  • @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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      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!!

  • @EasyOne
    @EasyOne 3 ปีที่แล้ว

    Attiny13 Bootloader

    • @Ed19601
      @Ed19601 3 ปีที่แล้ว +1

      Attiny13 core from MCUdude/microcore at github

    • @EasyOne
      @EasyOne 3 ปีที่แล้ว +1

      @@Ed19601 thanks

    • @Ed19601
      @Ed19601 3 ปีที่แล้ว

      @@EasyOne my pleasure

  • @beqamikautadze1356
    @beqamikautadze1356 2 หลายเดือนก่อน

    1:30

  • @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. 😭

  • @armedbacon4169
    @armedbacon4169 3 ปีที่แล้ว +1

    can u use arduino ide version 1.8.13?

    • @DIYTECHBROS
      @DIYTECHBROS  3 ปีที่แล้ว +1

      Yes, just tested it!

  • @basmaal-ghali9174
    @basmaal-ghali9174 3 ปีที่แล้ว

    thank you. when I burned the bootloader, the error message appeared:
    avrdude: Version 6.3-20190619
    Copyright (c) 2000-2005 Brian Dean, www.bdmicro.com/
    Copyright (c) 2007-2014 Joerg Wunsch
    System wide configuration file is "C:\Users\2020\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1/avrdude.conf"
    Using Port : COM5
    Using Programmer : stk500v1
    Overriding Baud Rate : 19200
    Setting bit clk period : 5.0
    AVR Part : ATtiny85
    Chip Erase delay : 400000 us
    PAGEL : P00
    BS2 : P00
    RESET disposition : possible i/o
    RETRY pulse : SCK
    serial program mode : yes
    parallel program mode : yes
    Timeout : 200
    StabDelay : 100
    CmdexeDelay : 25
    SyncLoops : 32
    ByteDelay : 0
    PollIndex : 3
    PollValue : 0x53
    Memory Detail :
    Block Poll Page Polled
    Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
    ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
    eeprom 65 12 4 0 no 512 4 0 4000 4500 0xff 0xff
    flash 65 12 32 0 yes 8192 64 128 30000 30000 0xff 0xff
    signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
    lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
    lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
    hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
    efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
    calibration 0 0 0 0 no 2 0 0 0 0 0x00 0x00
    Programmer Type : STK500
    Description : Atmel STK500 Version 1.x firmware
    Hardware Version: 2
    Firmware Version: 1.18
    Topcard : Unknown
    Vtarget : 0.0 V
    Varef : 0.0 V
    Oscillator : Off
    SCK period : 0.1 us
    avrdude: AVR device initialized and ready to accept instructions
    Reading | ################################################## | 100% 0.02s
    avrdude: Device signature = 0xffffff (retrying)
    Reading | ################################################## | 100% 0.02s
    avrdude: Device signature = 0xffffff (retrying)
    An error occurred while uploading the sketch
    Reading | ################################################## | 100% 0.02s
    avrdude: Device signature = 0xfff8ff
    avrdude: Expected signature for ATtiny85 is 1E 93 0B
    Double check chip, or use -F to override this check.
    avrdude done. Thank you.
    thank you in advance

    • @DIYTECHBROS
      @DIYTECHBROS  3 ปีที่แล้ว +1

      Hi!
      Have you tried to use a different USB cable?
      Then, try redoing your wiring with different cables (especially if you are using ordinary jumper wires / dupont)

    • @basmaal-ghali9174
      @basmaal-ghali9174 3 ปีที่แล้ว +1

      @@DIYTECHBROS Thank you for your reply. well,I solved the problem by following the instructions in ArduinoISP example, I connected the ATTINY85 to the side pins (ICSP/SPI) that is, I replaced pin 13,12,11 with ICSP pins, only the reset(pin10) is connected to the attiny chip.

    • @DIYTECHBROS
      @DIYTECHBROS  3 ปีที่แล้ว +1

      @@basmaal-ghali9174 Thanks for informing us :-)

  • @hush7111
    @hush7111 ปีที่แล้ว

    i only get this:
    avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x03
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x03