How to Use USBasp Programmer with Arduino Boards

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024
  • In this video I show you how to program your Arduino boards using USBasp programmer. In the video I connect an USBasp programmer to an Arduino board and using Arduino IDE I upload a sketch, but before I show you how to install drivers for the programmer on Windows 10. I also show you how to burn back the bootloader because without that you won’t be able to program your Arduino boards using USB. I also recommend you to upgrade your USBasp programmers to the latest firmware, see: • How to Upgrade Firmwar... .
    You can download drivers for USBasp programmer on zadig.akeo.ie/.
    🛠 Tools which I use in the video 🛠
    ➟ USBasp Programmer
    s.click.aliexp...
    ➟ 10-Pin to 6-Pin Adapter
    s.click.aliexp...
    ➟ 10-Pin Ribbon Cable
    s.click.aliexp...
    ➟ Multimeter UNI-T UT120A
    s.click.aliexp...
    ➟ Arduino Uno
    s.click.aliexp...
    Stay creative and keep on tinkering 😊

Комментарии • 138

  • @leandrordrummer3463
    @leandrordrummer3463 3 месяца назад

    Nossa cara, você não é um youtuber não, você é um PAI! 🥺 Muito Obrigado, Procurei em diversos vídeos, mas nenhum mostrava dessa forma, aqui deu bom demais! Obrigado pelo vídeo! 🙌🏼🙏🏼

  • @Bestcuriosity_1
    @Bestcuriosity_1 4 года назад +54

    "yaa" that good one "yeah"

  • @jamesrodemeyer7544
    @jamesrodemeyer7544 4 года назад +1

    I was a little slow catching on, but I finally was able to program a Nano with the USB/ASP and then re-burn the Bootloader. Thank you.

    • @zeroampselectronics
      @zeroampselectronics  4 года назад

      Congratulation! :-) I takes time especially when you do that for the first time.

  • @XanCraft21
    @XanCraft21 5 дней назад

    Is there an alternative way to get the drivers for this? I’m not sure how safe Zadig is. Even though i looked up the safety i’m still not sure. If i can just use windows update that will be fine for me.

  • @ThePROJECTKB
    @ThePROJECTKB 5 месяцев назад

    Thank you from Cyprus. 2 key takaways... connecting the usbasp to the board and the firmware.

  • @tigercrazy5261
    @tigercrazy5261 8 месяцев назад

    Thanks a lot, you are the one who explained clearly

  • @Bertto1
    @Bertto1 9 месяцев назад

    thanks for the tutorial for me libusb-win32 and Programmer USBtinyISP worked.

  • @amalmathew8190
    @amalmathew8190 5 лет назад +1

    Useful video , I got stucked while using usbasp and this video helped me, thankyou , good content keep going on 👍👍

  • @sanjaybatra6593
    @sanjaybatra6593 2 года назад +2

    Sir, I have few doubt . Please clarify. It will be great help.
    1. If we will use USB ASP AVR programmer to download a sketch , then it will Erase the bootloader ? Is it correct ? ( You told this in your video)
    2. If an independent ATMEGA328 don't have a bootloader, still we will be able to download SKETCH to CHIP with the help of USB ASP AVR programmer ? (Using Arduino ide )
    ( independent I mean , ATMEGA328 with Basic component like power supply, crystal etc on breadboard)
    3. If I have purchased independent ATMEGA328 CHIP without bootloader, we can burn bootloader to this new chip , with the help of USBASP AVR programmer ? (Using Arduino ide )
    Please share a nice explanation to explain .

    • @nychthemeronprayog606
      @nychthemeronprayog606 2 года назад

      After watching the vdo in my mind also same questions are arising...
      Please reply.. Sir.

    • @Khushit1404
      @Khushit1404 21 день назад

      @@nychthemeronprayog606 ask chatgpt

  • @hollowhelmet13
    @hollowhelmet13 3 года назад +3

    thank you very much ...YEAH?
    very nice video i really like the details

    • @zeroampselectronics
      @zeroampselectronics  3 года назад

      Glad you like it!

    • @hollowhelmet13
      @hollowhelmet13 3 года назад +2

      @@zeroampselectronics you helped me fix my arduino
      i wish there was a way to update the firmware without having to use another usbasp
      happy new year brother

  • @mayankgupta460
    @mayankgupta460 3 года назад +2

    Thank you so much, mate. Really needed this

  • @kitengo1
    @kitengo1 16 дней назад

    Thank you from tanzania

  • @dimitra.d792
    @dimitra.d792 3 месяца назад

    hi can i read write the flash of atmega 8 with the above programmer ?
    thanks on advcance

  • @denissearellanogonzalez9930
    @denissearellanogonzalez9930 2 года назад

    thank you very much from Mexico

  • @hendritresnahadi4146
    @hendritresnahadi4146 Год назад

    Im doing just like this, but why usbasp cant detected by arduino? Is there something to doit with preference.txt or a anything else? Tx mr

  • @ahmedarduino4089
    @ahmedarduino4089 3 года назад +2

    Thank you, you have a good explanation method....

  • @mandeeshs
    @mandeeshs 3 года назад +1

    Struck here :
    avrdude: auto set sck period (because given equals null)
    avrdude: warning: cannot set sck period. please check for usbasp firmware update.
    avrdude: error: program enable: target doesn't answer. 1
    avrdude: initialization failed, rc=-1
    Double check connections and try again, or use -F to override
    this check.
    avrdude done. Thank you.
    the selected serial port
    does not exist or your board is not connected

    • @zeroampselectronics
      @zeroampselectronics  2 года назад

      Did you connect it correctly?

    • @mandeeshs
      @mandeeshs 2 года назад +1

      @@zeroampselectronics thanks fixed the issue long back

  • @TYGAMatt
    @TYGAMatt 2 года назад

    Excellent tutorial. Cleared up a few things for me.

  • @randywetzler5976
    @randywetzler5976 4 года назад

    I tried using a similar programming board off ebay (looks identical to yours) and and get this error: program enable: target doesn't answer. 1
    avrdude: initialization failed, rc=-1.
    I tried switching among the different Zadig drivers with no luck. Probably because uploading to a clone Arduino Pro Mini? Then I tried to a UNO board, same problem. It was still fun trying. Thanks for sharing the video!

    • @zeroampselectronics
      @zeroampselectronics  4 года назад

      Hi, could you tell me how you tested it? Perhaps you just did something incorrectly easy to fix.

  • @slazbiq3858
    @slazbiq3858 Год назад

    Very helpful, thanks

  • @jumbo999614
    @jumbo999614 4 года назад +1

    download zadig and 0 device found. USBASP is not even in the list in zadig program and windows's device manager.
    please help.

    • @zeroampselectronics
      @zeroampselectronics  4 года назад

      Hmmmm, Windows generally should notice if you plug-in any USB device even if don't have a driver to it and you should see it in the device manager like an unknown device.

  • @TheFandiahmad
    @TheFandiahmad 2 года назад

    how many port we need for programming atmega328 smd? 6 or less ?

  • @paulguy5368
    @paulguy5368 2 года назад

    Thanks for an excellent instructional video.

  • @mtalhakhalid1679
    @mtalhakhalid1679 Год назад

    Thanks for tut helped a lot

  • @AdrianDucao
    @AdrianDucao 2 года назад

    how to use usbasp avr programmer if i don't have a 10 pin to 6 pin adapter? can i diy it or directly use a female to female dupont wires?

  • @wingedrhinotv
    @wingedrhinotv 4 года назад

    Can you use a USBASP to program 3.3v devices like the Arduino Due? What about naked chips like Atmega8A or Atmega16A?

    • @zeroampselectronics
      @zeroampselectronics  4 года назад

      Hi, I think this article could help you: create.arduino.cc/projecthub/billy-cheung/3-3v-usbasp-modification-c20557

  • @MohammedAyazQuadri
    @MohammedAyazQuadri 2 года назад

    bro I have USBasp programmer that I bought for 8051 chips (AT89s5X X=1 or 2). It has part number HW-437 printed on it. I asked vendor if it compatible with ATmega328p, he said no, only 8051, and chips like ATmega16, ATmega32.
    So can it program ATmega328p? can it be be used for ISP programming of Arduino boards?

  • @mubasheer5584
    @mubasheer5584 4 года назад

    Hi thank you for this informative video..
    I have an usbasp programmer how do I upload a program to a atmega8a microcontroller..
    Can you suggest me all time best way to do this..
    Even I have Arduino mega 2560 and nano as well .

    • @zeroampselectronics
      @zeroampselectronics  4 года назад +2

      Hi, I need more information.
      Do you have a standalone atmega8a or is it placed on any board?
      How do you write your code, pure C language or do you use Arduino IDE?
      Please, write me your intention with the MCU because there are many ways how to do the same thing.

    • @mubasheer5584
      @mubasheer5584 4 года назад

      @@zeroampselectronics hi.
      Sure ..
      I have board where atmega8a is located with basic components also have provided like 16Mhz crystal,power supply..
      I am writing in language..
      And Its good if possible if use Arduino ide.
      Thank you sir for the quickest reply.

    • @zeroampselectronics
      @zeroampselectronics  4 года назад +1

      Hi, so your intention is to write code in Arduino IDE and ideally program your ATmega8A which is already on the board with USBasp programmer from Arduino IDE. Do I understand that correctly?

    • @mubasheer5584
      @mubasheer5584 4 года назад

      @@zeroampselectronics anything is fine sir..
      I have usbasp programmer and as well as Arduino board Also..
      I tried writing a code with atmel studio and try to burn the hex file with avrdude but it was unsuccessful..
      May be I have done a mistake somewhere..
      But it's okay if can burn the program with Arduino and ide and as well write the code from the same also it's fine.

    • @zeroampselectronics
      @zeroampselectronics  4 года назад +1

      Hi, so we can stay with avrdude programming which is how I always do that except for my Arduino boards. What was the problem with avrdude then?

  • @reinaldodefante
    @reinaldodefante 4 года назад +1

    this video is the best it helps me to recover 3 one thanks

  • @elderartifactresearchlab
    @elderartifactresearchlab 4 года назад +1

    thanks mate, you absolute legend.

  • @sayalijoshi5010
    @sayalijoshi5010 2 года назад

    Hello sir. I am using arduino mega.
    When I try uploading, the message uploaded is displayed.
    But, the blinking does not happen there is a constant yellow light glowing.

    • @zeroampselectronics
      @zeroampselectronics  2 года назад

      It looks you just uploaded the bootloader you have to upload also the blink program.

  • @lurkingcorsa10
    @lurkingcorsa10 2 года назад

    jumper slow sck is on JP 3.. bro??

  • @hendritresnahadi4146
    @hendritresnahadi4146 Год назад

    Why there error massage while uploading using usbasp :
    ' error avrdude : ...etc
    ' erorr avr dude : ...etc
    Error while .....etc '
    Can anybody tell me why? Tx u

  • @shreechandansamal5206
    @shreechandansamal5206 3 года назад

    Sir, I am using Arduino pro micro for bootloading but when I click the burn bootloader the error coming that..
    avrdude: warning: cannot set sci period. Please check for usbasp firmware update.
    avrdude:error: program enable: target doesn't answer.1
    avrdude: initialization failed, RC=-1
    Double check connection and try again, or use -F to override
    This check.
    Sir, please response me 😭what can I do... please 🙏🙏🙏...

    • @zeroampselectronics
      @zeroampselectronics  3 года назад

      Hi, what exactly are you trying to do? I need to know more details to help you.

    • @shreechandansamal5206
      @shreechandansamal5206 3 года назад

      @@zeroampselectronics yah.yaaaa...😂 I do that..❤️

  • @ddjazz
    @ddjazz 3 года назад

    Can you use this to upload micronucleus bootloader to an attiny85 ?

    • @zeroampselectronics
      @zeroampselectronics  3 года назад

      Yes, the ATtiny85 microcontroller is possible to program via that programmer.

  • @scottwilliams8539
    @scottwilliams8539 3 года назад

    You, my friend, are a fucking legend.

  • @chinmaykulkarni3358
    @chinmaykulkarni3358 2 года назад

    is this process same for arduino pro/ pro mini

    • @zeroampselectronics
      @zeroampselectronics  2 года назад

      Yes, you can use it but pay attention to PRO Micro has 3.3V and 5V versions.

  • @scriptdemons1347
    @scriptdemons1347 2 года назад

    Thank you!

  • @rakeshkaku
    @rakeshkaku 3 года назад

    100% Working. Good.

  • @YO3HJV
    @YO3HJV 4 года назад +3

    Nice video! Loose the "ya" 's please.

  • @incxxxx
    @incxxxx 4 года назад +1

    Nice! good job.

  • @Anderlon_Oliveira
    @Anderlon_Oliveira 3 года назад

    Thank you very much.

  • @stinmw4621
    @stinmw4621 2 года назад +1

    Ya, ya, ya

  • @keithforbes2326
    @keithforbes2326 4 года назад

    can I burn the arduino bootloader onto a ATMEGA32 with this? without hooking up to an arduino. And then program it with the arduino IDE

    • @zeroampselectronics
      @zeroampselectronics  4 года назад +1

      Hi, of course you can connect the programmer to your microcontroller. See video: ruclips.net/video/92TCZe4MUig/видео.html in which I connect my USBasp to ATtiny10, but it's very similar for all AVR microcontrollers. Don't forget to tell your Arduino IDE which programmer and microcontroller you use. It would require a little tweaking if you want to use Arduino IDE. I usually use for programming Visual Studio Code.

  • @alishah106
    @alishah106 2 года назад

    Perfect
    Thanks

  • @andersdoverud9046
    @andersdoverud9046 4 года назад +3

    Those "ja" are very irritating, sorry I'm not trying to be mean. I know it's common to replace "uhm" with other words like "ja" or "ok", but it's better to train to not use any.

    • @zeroampselectronics
      @zeroampselectronics  4 года назад

      You're absolutely right. You're not the only person who noticed that :-)

  • @guidovogel8643
    @guidovogel8643 3 года назад +2

    I like the part where he said 'yaaa'

  • @Shabbymannen
    @Shabbymannen 2 года назад +1

    Ja.

  • @roussosgeorgiadis6184
    @roussosgeorgiadis6184 2 года назад

    Celkem slusny popis👍

  • @Ernstdu
    @Ernstdu 4 года назад +3

    yaa yaa yaa yaa yaa yaa thanks

  • @ramakrishnamishra8179
    @ramakrishnamishra8179 4 года назад +4

    Yaa

  • @StudentCompanion
    @StudentCompanion 4 года назад

    Thanks

  • @tanoryjakaperdana1419
    @tanoryjakaperdana1419 3 года назад +1

    Yea

  • @eddyed6875
    @eddyed6875 9 месяцев назад

    I understand ya

  • @tomik9868
    @tomik9868 4 года назад +3

    Yeah..... :D

  • @karolgoluch
    @karolgoluch 3 года назад +1

    YEA

  • @abcdef-bf6zh
    @abcdef-bf6zh 4 года назад

    i got error while burning bootloader

    • @zeroampselectronics
      @zeroampselectronics  4 года назад

      Hi, you didn't say what was the error. Could you be more specific?

  • @stayjuveneil2066
    @stayjuveneil2066 3 года назад

    How to copy hex code

  • @Fogaata
    @Fogaata 3 года назад +1

    Disturbing "yeah"s can't watch it.

    • @zeroampselectronics
      @zeroampselectronics  3 года назад

      Hi, that's a mental training :-)))

    • @Fogaata
      @Fogaata 3 года назад +1

      @@zeroampselectronics understand, the video is very good, but the yeahs are so distracting that we the people stop listening to the content and are just waiting for the next yeah. It's actually funny but very distracting. Please don't feel bad, this is only constructive criticism, thank you for caring to help us!
      All the best to you.

  • @marianocapone8576
    @marianocapone8576 2 года назад +4

    Please stop saying "Ya!" at the end of every sentence.

  • @andersenssandersenss8979
    @andersenssandersenss8979 2 года назад +2

    jaa

  • @Liampanto
    @Liampanto 9 месяцев назад

    "yah"

  • @francescostrano8314
    @francescostrano8314 Год назад

    Buongiorno, ho comparto anche io un USBASP speravo di poter programmare un atmega64 che dicevano che supportasse..ma dopo aver installato i driver e molte suit per AVR sono rimasto deluso non programma un tubo....qualcuno sa dirmi se sono un coglione io?..ho non serve a nulla se non utilizzato con arduino?
    vorrei divulgarmi ma alcune cose devo scriverle..la suit che utilizzo con collegato MISO,MOSI, RESET E SCK E' EXTREME AVR... invece con collegato D0,D1,SCK,RESET uso PROGISP....ma nessun risultato..chi puo' aiutarmi a programmare un atmega64... grazie

  • @pesking6088
    @pesking6088 2 года назад

    This will work in Xbox 360

  • @shreechandansamal5206
    @shreechandansamal5206 3 года назад

    Please 🥺 sir help me..🙏🙏🙏🙏

  • @michakrawczuk7922
    @michakrawczuk7922 Год назад

    ja.

  • @chen7262
    @chen7262 4 года назад +1

    Yaa, yaa, yaa only yaa stupid YAA.

  • @peterromanov2484
    @peterromanov2484 3 года назад

    К сожалению я как новичек ничего не понял.

  • @michaanonim9072
    @michaanonim9072 25 дней назад

    JA.......JA.......JA...........JA...............JA