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 😊
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! 🙌🏼🙏🏼
"yaa" that good one "yeah"
yaah
You can have a shot for each my "Yeah" in the video :-) but play with friends that's recommended :-)))
Yeaaaah :-)))
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.
Congratulation! :-) I takes time especially when you do that for the first time.
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.
Thank you from Cyprus. 2 key takaways... connecting the usbasp to the board and the firmware.
Thanks a lot, you are the one who explained clearly
thanks for the tutorial for me libusb-win32 and Programmer USBtinyISP worked.
Useful video , I got stucked while using usbasp and this video helped me, thankyou , good content keep going on 👍👍
Thank you!
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 .
After watching the vdo in my mind also same questions are arising...
Please reply.. Sir.
@@nychthemeronprayog606 ask chatgpt
thank you very much ...YEAH?
very nice video i really like the details
Glad you like it!
@@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
Thank you so much, mate. Really needed this
You're welcome!
Thank you from tanzania
hi can i read write the flash of atmega 8 with the above programmer ?
thanks on advcance
thank you very much from Mexico
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
Thank you, you have a good explanation method....
Thank you!
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
Did you connect it correctly?
@@zeroampselectronics thanks fixed the issue long back
Excellent tutorial. Cleared up a few things for me.
Great to hear!
@@zeroampselectronics need contact number please
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!
Hi, could you tell me how you tested it? Perhaps you just did something incorrectly easy to fix.
Very helpful, thanks
download zadig and 0 device found. USBASP is not even in the list in zadig program and windows's device manager.
please help.
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.
how many port we need for programming atmega328 smd? 6 or less ?
Thanks for an excellent instructional video.
Thanks for tut helped a lot
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?
Yes, exactly like that use DuPont wires.
@@zeroampselectronics it did worked
Can you use a USBASP to program 3.3v devices like the Arduino Due? What about naked chips like Atmega8A or Atmega16A?
Hi, I think this article could help you: create.arduino.cc/projecthub/billy-cheung/3-3v-usbasp-modification-c20557
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?
Frankly, no idea I've never had 8051 in my hands.
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 .
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.
@@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.
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?
@@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.
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?
this video is the best it helps me to recover 3 one thanks
I'm glad it helped!
thanks mate, you absolute legend.
Thank you!
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.
It looks you just uploaded the bootloader you have to upload also the blink program.
jumper slow sck is on JP 3.. bro??
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
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 🙏🙏🙏...
Hi, what exactly are you trying to do? I need to know more details to help you.
@@zeroampselectronics yah.yaaaa...😂 I do that..❤️
Can you use this to upload micronucleus bootloader to an attiny85 ?
Yes, the ATtiny85 microcontroller is possible to program via that programmer.
You, my friend, are a fucking legend.
Hehehe :-)
is this process same for arduino pro/ pro mini
Yes, you can use it but pay attention to PRO Micro has 3.3V and 5V versions.
Thank you!
100% Working. Good.
Great!
Nice video! Loose the "ya" 's please.
Yeaaah, thanks for the tip :-)))
Nice! good job.
Thank you!
@@zeroampselectronics yaa
Yeeeeeeaaaaaaah! :-)
Thank you very much.
I'm glad it helped.
Ya, ya, ya
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
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.
Perfect
Thanks
You're welcome!
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.
You're absolutely right. You're not the only person who noticed that :-)
I like the part where he said 'yaaa'
Yeaaaah! :-)
Ja.
Celkem slusny popis👍
yaa yaa yaa yaa yaa yaa thanks
Yeeeeeeeeeeaaaaaaah, welcome to our channel :-)
Yaa
Yeeeeaaaaah...... :-)
@@zeroampselectronics great channel by the way! :)
Thanks
np :-)
Yea
Yeah! :-)
I understand ya
Yeah..... :D
Yeaaah :-)
YEA
Yeaaaaaah! :-)
i got error while burning bootloader
Hi, you didn't say what was the error. Could you be more specific?
How to copy hex code
Hi, where do you want copy the hex code?
Attiny 48
Disturbing "yeah"s can't watch it.
Hi, that's a mental training :-)))
@@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.
Please stop saying "Ya!" at the end of every sentence.
jaa
Yeaaaaaah!
"yah"
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
This will work in Xbox 360
Please 🥺 sir help me..🙏🙏🙏🙏
Already answered.
ja.
Yaa, yaa, yaa only yaa stupid YAA.
Hi, have a shot for each yeah :-)))
К сожалению я как новичек ничего не понял.
Hmmmm :-)
JA.......JA.......JA...........JA...............JA