Тёмный

How to Use USBasp Programmer with Arduino Boards 

Zero Amps Electronics
Подписаться 3,1 тыс.
Просмотров 110 тыс.
50% 1

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 😊

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 137   
@marianocapone8576
@marianocapone8576 2 года назад
Please stop saying "Ya!" at the end of every sentence.
@Bestcuriosity_1
@Bestcuriosity_1 4 года назад
"yaa" that good one "yeah"
@womacko
@womacko 4 года назад
yaah
@zeroampselectronics
@zeroampselectronics 4 года назад
You can have a shot for each my "Yeah" in the video :-) but play with friends that's recommended :-)))
@zeroampselectronics
@zeroampselectronics 4 года назад
Yeaaaah :-)))
@Bertto1
@Bertto1 9 месяцев назад
thanks for the tutorial for me libusb-win32 and Programmer USBtinyISP worked.
@andersdoverud9046
@andersdoverud9046 4 года назад
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 :-)
@sanjaybatra6593
@sanjaybatra6593 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 8 дней назад
@@nychthemeronprayog606 ask chatgpt
@TYGAMatt
@TYGAMatt 2 года назад
Excellent tutorial. Cleared up a few things for me.
@zeroampselectronics
@zeroampselectronics 2 года назад
Great to hear!
@gigamaxnetwork
@gigamaxnetwork Год назад
​@@zeroampselectronics need contact number please
@guidovogel8643
@guidovogel8643 3 года назад
I like the part where he said 'yaaa'
@zeroampselectronics
@zeroampselectronics 2 года назад
Yeaaaah! :-)
@mandeeshs
@mandeeshs 3 года назад
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 года назад
@@zeroampselectronics thanks fixed the issue long back
@Fogaata
@Fogaata 3 года назад
Disturbing "yeah"s can't watch it.
@zeroampselectronics
@zeroampselectronics 3 года назад
Hi, that's a mental training :-)))
@Fogaata
@Fogaata 3 года назад
@@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.
@hollowhelmet13
@hollowhelmet13 3 года назад
thank you very much ...YEAH? very nice video i really like the details
@zeroampselectronics
@zeroampselectronics 3 года назад
Glad you like it!
@hollowhelmet13
@hollowhelmet13 3 года назад
@@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
@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
@YO3HJV
@YO3HJV 4 года назад
Nice video! Loose the "ya" 's please.
@zeroampselectronics
@zeroampselectronics 4 года назад
Yeaaah, thanks for the tip :-)))
@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
@jumbo999614
@jumbo999614 4 года назад
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.
@dimitra.d792
@dimitra.d792 3 месяца назад
hi can i read write the flash of atmega 8 with the above programmer ? thanks on advcance
@ahmedarduino4089
@ahmedarduino4089 3 года назад
Thank you, you have a good explanation method....
@zeroampselectronics
@zeroampselectronics 3 года назад
Thank you!
@andersenssandersenss8979
@andersenssandersenss8979 2 года назад
jaa
@zeroampselectronics
@zeroampselectronics 2 года назад
Yeaaaaaah!
@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
@kitengo1
@kitengo1 4 дня назад
Thank you from tanzania
@tanoryjakaperdana1419
@tanoryjakaperdana1419 3 года назад
Yea
@zeroampselectronics
@zeroampselectronics 3 года назад
Yeah! :-)
@scriptdemons1347
@scriptdemons1347 2 года назад
Thank you!
@mayankgupta460
@mayankgupta460 3 года назад
Thank you so much, mate. Really needed this
@zeroampselectronics
@zeroampselectronics 3 года назад
You're welcome!
@ThePROJECTKB
@ThePROJECTKB 4 месяца назад
Thank you from Cyprus. 2 key takaways... connecting the usbasp to the board and the firmware.
@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?
@zeroampselectronics
@zeroampselectronics 2 года назад
Frankly, no idea I've never had 8051 in my hands.
@Shabbymannen
@Shabbymannen 2 года назад
Ja.
@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! 🙌🏼🙏🏼
@pesking6088
@pesking6088 2 года назад
This will work in Xbox 360
@jamesrodemeyer7544
@jamesrodemeyer7544 4 года назад
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.
@incxxxx
@incxxxx 4 года назад
Nice! good job.
@zeroampselectronics
@zeroampselectronics 4 года назад
Thank you!
@debasish2205
@debasish2205 3 года назад
@@zeroampselectronics yaa
@zeroampselectronics
@zeroampselectronics 3 года назад
Yeeeeeeaaaaaaah! :-)
@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.
@TheFandiahmad
@TheFandiahmad 2 года назад
how many port we need for programming atmega328 smd? 6 or less ?
@amalmathew8190
@amalmathew8190 4 года назад
Useful video , I got stucked while using usbasp and this video helped me, thankyou , good content keep going on 👍👍
@zeroampselectronics
@zeroampselectronics 4 года назад
Thank you!
@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..❤️
@eddyed6875
@eddyed6875 9 месяцев назад
I understand ya
@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?
@zeroampselectronics
@zeroampselectronics 2 года назад
Yes, exactly like that use DuPont wires.
@AdrianDucao
@AdrianDucao 2 года назад
@@zeroampselectronics it did worked
@chen7262
@chen7262 4 года назад
Yaa, yaa, yaa only yaa stupid YAA.
@zeroampselectronics
@zeroampselectronics 4 года назад
Hi, have a shot for each yeah :-)))
@lurkingcorsa10
@lurkingcorsa10 2 года назад
jumper slow sck is on JP 3.. bro??
@ramakrishnamishra8179
@ramakrishnamishra8179 4 года назад
Yaa
@zeroampselectronics
@zeroampselectronics 4 года назад
Yeeeeaaaaah...... :-)
@ramakrishnamishra8179
@ramakrishnamishra8179 4 года назад
@@zeroampselectronics great channel by the way! :)
@tigercrazy5261
@tigercrazy5261 8 месяцев назад
Thanks a lot, you are the one who explained clearly
@reinaldodefante
@reinaldodefante 4 года назад
this video is the best it helps me to recover 3 one thanks
@zeroampselectronics
@zeroampselectronics 4 года назад
I'm glad it helped!
@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.
@denissearellanogonzalez9930
@denissearellanogonzalez9930 2 года назад
thank you very much from Mexico
@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
@mtalhakhalid1679
@mtalhakhalid1679 Год назад
Thanks for tut helped a lot
@StudentCompanion
@StudentCompanion 4 года назад
Thanks
@zeroampselectronics
@zeroampselectronics 4 года назад
np :-)
@Liampanto
@Liampanto 9 месяцев назад
"yah"
@tomik9868
@tomik9868 4 года назад
Yeah..... :D
@zeroampselectronics
@zeroampselectronics 4 года назад
Yeaaah :-)
@slazbiq3858
@slazbiq3858 Год назад
Very helpful, thanks
@michakrawczuk7922
@michakrawczuk7922 Год назад
ja.
@elderartifactresearchlab
@elderartifactresearchlab 4 года назад
thanks mate, you absolute legend.
@zeroampselectronics
@zeroampselectronics 4 года назад
Thank you!
@karolgoluch
@karolgoluch 3 года назад
YEA
@zeroampselectronics
@zeroampselectronics 3 года назад
Yeaaaaaah! :-)
@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.
@paulguy5368
@paulguy5368 2 года назад
Thanks for an excellent instructional video.
@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.
@zeroampselectronics
@zeroampselectronics 3 года назад
Hehehe :-)
@Ernstdu
@Ernstdu 4 года назад
yaa yaa yaa yaa yaa yaa thanks
@zeroampselectronics
@zeroampselectronics 4 года назад
Yeeeeeeeeeeaaaaaaah, welcome to our channel :-)
@shreechandansamal5206
@shreechandansamal5206 3 года назад
Please 🥺 sir help me..🙏🙏🙏🙏
@zeroampselectronics
@zeroampselectronics 3 года назад
Already answered.
@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?
@Anderlon_Oliveira
@Anderlon_Oliveira 3 года назад
Thank you very much.
@zeroampselectronics
@zeroampselectronics 3 года назад
I'm glad it helped.
@alishah106
@alishah106 2 года назад
Perfect Thanks
@zeroampselectronics
@zeroampselectronics 2 года назад
You're welcome!
@rakeshkaku
@rakeshkaku 3 года назад
100% Working. Good.
@zeroampselectronics
@zeroampselectronics 3 года назад
Great!
@stayjuveneil2066
@stayjuveneil2066 3 года назад
How to copy hex code
@zeroampselectronics
@zeroampselectronics 3 года назад
Hi, where do you want copy the hex code?
@stayjuveneil2066
@stayjuveneil2066 3 года назад
Attiny 48
@roussosgeorgiadis6184
@roussosgeorgiadis6184 2 года назад
Celkem slusny popis👍
@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 года назад
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 года назад
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 года назад
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?
@stinmw4621
@stinmw4621 2 года назад
Ya, ya, ya
@peterromanov2484
@peterromanov2484 3 года назад
К сожалению я как новичек ничего не понял.
@zeroampselectronics
@zeroampselectronics 2 года назад
Hmmmm :-)
@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 года назад
Hi, of course you can connect the programmer to your microcontroller. See video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-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.
@michaanonim9072
@michaanonim9072 13 дней назад
JA.......JA.......JA...........JA...............JA
Далее
How to Upgrade Firmware in USBasp Programmer
6:19
Просмотров 63 тыс.
Airpod Through Glass Trick! 😱 #shorts
00:19
Просмотров 1,7 млн
I Made a Tool for DIY Electronics
12:44
Просмотров 41 тыс.
Bare-Metal MCU #9 - Review; ATTiny85 from scratch
14:25
How To - Burn a custom bootloader to your Arduino
16:04
Try these 16 Brilliant ESP32 projects!!!
11:18
Просмотров 584 тыс.
USBasp Programmer - Firmware Update
5:11
Просмотров 2,2 тыс.