Like someone else said this is exactly what I was looking for, though I don’t know if they’re a newbie like myself. Clear, concise, simple language that even I understood. Thank you.
@MrChrissieleinchen4 жыл бұрын
You also can upload sketches to your standalone avr.chips in the same configuration you used to burn the bootloader. just select your target chip in the menu and then choose sketch -> "upload using programmer" (ctrl+shift+u), in this case your "arduino as isp" will send your sketch to your target chip ;)
@MrZindozs Жыл бұрын
RESPECT absolutely the folers containing the standalone files!!! I lost 3 hours of my life before see that. There was the "containing" archive folder to remove... (Breadboard1-6-x)
@kallgakr127311 ай бұрын
this was insanely well explained and the only tutorial which is still up to date i cant thank u much enough
@mrkripi27992 жыл бұрын
best explanation available! Thanks mate!
@swatun343 Жыл бұрын
1000th Subscriber! Congratulations!
@erikderuiter74753 жыл бұрын
Wow, you explanation is so good! This is exceptional. Seems like no word is wasted. Thank you!
@AlexInFlatland3 жыл бұрын
Wow, thank you!
@margmargou33294 жыл бұрын
Well done! Just what i was looking for! the video could have been named "from one bootloader to another and "vice-versa""! Thank you!
@Richie_3 жыл бұрын
I have an AVR ISP ZIF shield so no wires needed.. Great video. This video is a great help. Thanks.
@AlexInFlatland3 жыл бұрын
Glad it helped! Thank you!
@plamenpetkov7132 Жыл бұрын
I have two GM328 transistor testers (from Aliexpress), based on ATMEGA328P (28 pin DIP). During brightness adjustment (through the menus) they became dark (one after the other). The consumption is fine, the clock is running (8 MHz crystal), the LCD control pins are active (transitions seen by scope) i.e. the hardware is fine. I presume the manufacturer locked the code. A soldered wires from the board pins 1(RST), 2(RXD),3(TXD), 7(+5V), 8 (GND) and terminated them with a header, fitting my FTDI (GND,CTS,Vcc,TX,RX,DTR), taking care to cross link TX, RX (of the baord) to RX, TX on the FTDI. I also inserted a 0.1uF cap in the DTR to RST line. On the board there is just a 10k pull up on RST. When trying to load a sketch via FTDI, it cannot open the port. I guess there is no boot-loader either. How do I determine if there is a boot-loader and if the code is locked? Do I buy new chips or somehow unlock the present ones. Apart of FTDI, I have several NANOs if that is of help. Thanks Plamen
@drakaguo3 жыл бұрын
This guy deserves more likes. Absolutely well explained and detailed GG WP
@dulamahathantila985111 ай бұрын
Thanks for helping me doing this because I was in a big trouble.Thanks very very very very very very much...............!
@billglass51603 жыл бұрын
Thank you for this tutorial. You have done a good job of clearly explaining all the necessary details. I will probably try this so that I can simplify my project which is to create a remote 3V battery-powered sensor. I am actually using the 16 mHz 5V option which requires a lot of additional components and additional battery. Well done!!
@billglass51603 жыл бұрын
I tried it and was able to burn the bootloader but with the following warning (with or without the crystals&caps): "avrdude: WARNING: invalid value for unused bits in fuse "efuse", should be set to 1 according to datasheet. This behaviour is deprecated and will result in an error in future version. You probably want to use 0xfd instead of 0x05 (double check with your datasheet first)." I can burn the standard bootloader for 16mHz Arduino board configuration. Do you have that WARNING too? I wasn't able to catch the message on your video.
@billglass51603 жыл бұрын
To AlexInFlatland: As nothing was working even with the blink sketch and the avrdude warning, I used www.gammon.com.au/forum/?id=11637 . All works fine. ATmega328p 8 mHz internal oscillator and everything at 3.3V. Thought you might want to know and for what it's worth.
@MrZindozs Жыл бұрын
Aleks, you saved my life!
@christianeriksson47333 жыл бұрын
Pro tip: Disconnect your power supply while wiring and connecting a cirquit. Very pedagogical and informative video though!
@AlexInFlatland3 жыл бұрын
That is a VERY good point! :)
@JBERGALIEN2 жыл бұрын
Thank's Alex, Well done
@rajitheenbro49613 жыл бұрын
Very useful video sir thank you for the good explanation
@AlexInFlatland3 жыл бұрын
Glad you liked it! Thanks!
@DeadlyGamingKing2 жыл бұрын
Thanks man, great video.
@leythecg3 жыл бұрын
Great tutorial! Best regards!
@davids91399 ай бұрын
I noticed that you're using an ATmega168, will this work with the ATmega328p?
@naiksunil000473 жыл бұрын
Awesome, Arduino tutorials be like this 👍
@phenomen663 жыл бұрын
Thank you for this Tutorial. It helped me a lot :)
@vallabhair136911 ай бұрын
I have one question What if I burn bootloader of the Atmega328 on arduino Board and then use it on breadboard after removing it from the arduino board onto the breadboard? Pls reply I need for my Project
@abbn1004 жыл бұрын
Hi Can you show me where I can download the bootloader files. I can not find them. Thanks
@katogangstad4 жыл бұрын
The essential download link for the 8 MHz breadboard is missing. And it’s much easier to also download the sketch the same way you downloaded the bootloader.
@abbn1003 жыл бұрын
Yes but where is it.
@tgg1633 жыл бұрын
@@abbn100 found it: www.arduino.cc/en/uploads/Tutorial/breadboard-1-6-x.zip ... its from the arduino website
@tgg1633 жыл бұрын
also, you will need to download an older version of the ide... from www.arduino.cc/en/main/OldSoftwareReleases
@holandsoest3 жыл бұрын
@@tgg163 Thank you! i've been searching for a while... Thank you Thank you!
@ronmoz58152 жыл бұрын
thanks a lot sir, I learned something
@aalaz6913 Жыл бұрын
Hello. Is it possible for me to upload the sketch to the external atmega328 (attach on the breadboard) without removing the stand-alone or orginal atmega328p from the arduino uno? Cuz I heard that removing it from the arduino will ruin it. Thank you for your response
@aleemuddinkhan18132 жыл бұрын
Dear......Can You help me in loading bootloader into a Atmega328 u . I use your procedure but getting following error Arduino: 1.8.19 (Windows 10), Board: "ATmega328 on a breadboard (8 MHz internal clock)" Error while burning bootloader. avrdude: Expected signature for ATmega328P is 1E 95 0F Double check chip, or use -F to override this check. Invalid library found in C:\Users\Aleemuddin\Documents\Arduino\libraries\Digistump: no headers files (.h) found in C:\Users\Aleemuddin\Documents\Arduino\libraries\Digistump This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. Please help me.......
@Daniel_Mahlangu2 жыл бұрын
Do I need to supply 5 V to the chip or it can work at lower voltage?
@ljay07783 жыл бұрын
I don't see where the "new bootloader" is found? ...
@AlexInFlatland3 жыл бұрын
Sorry about that. And sorry about the long overdue response. I re-uploaded the files and updated the description.
@iloveplasticbottles3 жыл бұрын
On new version, burning from Arduino to board doesn't work. I think you have to burn directly to chip.
@Josueee7 Жыл бұрын
Cómo cambiar el voltaje de 5v a 3.3v ?
@HaggmarkReloading3 жыл бұрын
I have done just as you did(with a blank chip), and the bootloader burn was completed but IDE sent me a warning "***failed; avrdude: WARNING: invalid value for unused bits in fuse "efuse", should be set to 1 according to datasheet This behaviour is deprecated and will result in an error in future version You probably want to use 0xfd instead of 0x05 (double check with your datasheet first)", tried to burn the chip again, and it says "Invalid device signature". nothing works. PLEASE SAVE ME FROM MY STUPIDITY!
@HaggmarkReloading3 жыл бұрын
Never mind. got it working! :D wicked tutorial! thanks for doing stuff like this!
@christianeriksson47333 жыл бұрын
A question for you Alex: Do you see any way to use the existing oscillator from the arduino UNO pcb for the ATmega chip for this operation? Or just placing the ATmega chip in the UNO for the burning of bootloader and programming?
@AlexInFlatland3 жыл бұрын
Hmmm, as far as I'm aware, you can't program a bootloader while the ATmega is in the Arduino. At least I haven't been able to find anything on the subject. And I think you wouldn't be able to use the onboard oscillator as well, since there are no direct pins on the Arduino output connected to the oscillator itself. That is, unless you would to desolder it, but that kind of defeats the purpose.
@christianeriksson47333 жыл бұрын
@@AlexInFlatland Sounds reasonable. Thanks for taking the time, and good luck with any future projects!
@projektowanie3ddruk3d993 жыл бұрын
Will the atmega328p itself work like an Arduino? Digital / PWM pins and analog pins will work normally?
@AlexInFlatland3 жыл бұрын
As far as I'm aware things should work. I've used this setup for a few projects myself. Although that might depend on exactly what your project involves. The Arduino board DOES include a few more components, so I can't say with a 100% certainty that some of those aren't required for some of the pins/functionality.
@anmolgoel97402 жыл бұрын
best vid
@shvideo13 жыл бұрын
I don’t see any boot loader links! Where are the 3 links you mentioned?
@AlexInFlatland3 жыл бұрын
Thank you for catching that! I think KZbin must have removed them as they were external links. I uploaded the files to my website and updated the description with the links. Let me know if those work out for you.
@shvideo13 жыл бұрын
Thank you very much for your quick response. You can find these files on the Internet but then you don’t know if they are the right ones or will mess things up. I want to do it two ways: Using the file you have provided and also by setting the Fuse Low Byte using Avrdude. I love this video. The content is precise and comprehensive and very well explained. Thank you for your hard work and for sharing it.
@larsniklassonhede3798 Жыл бұрын
Nice
@InF3XioN Жыл бұрын
Without having a pull resistor in the RST, the circuit design is wrong. That's not stable.
@petermuller60811 ай бұрын
Why should an external pull up be necessary? The processor has an internal one and since the signal is active low, a induced signal is quite unlikely
@jimmykessler81173 жыл бұрын
I don't really like how the video says "NO EXTERNAL COMPONENTS" but I still have to use them anyways to use the internal clock......
@AlexInFlatland3 жыл бұрын
Hey Jimmy! Are you referring to needing them during the setup process? Because after you set all of this up, you essentially just need to provide power and no other components really.
@DiyintheGhetto3 жыл бұрын
Hello there is no link for the 8mhz bootloader files. Can you please share with us?
@AlexInFlatland3 жыл бұрын
Sorry about that! I think KZbin removed my external links. I re-uploaded them to my website and updated the description with the new links. Thanks for watching!