Тёмный
No video :(

Running an Arduino on a breadboard with NO EXTERNAL COMPONENTS / How to FLASH an Arduino BOOTLOADER 

AlexInFlatland
Подписаться 1,2 тыс.
Просмотров 26 тыс.
50% 1

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

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 63   
@markharrisllb
@markharrisllb 3 года назад
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.
@MrChrissieleinchen
@MrChrissieleinchen 3 года назад
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 ;)
@kallgakr1273
@kallgakr1273 8 месяцев назад
this was insanely well explained and the only tutorial which is still up to date i cant thank u much enough
@MrZindozs
@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)
@margmargou3329
@margmargou3329 3 года назад
Well done! Just what i was looking for! the video could have been named "from one bootloader to another and "vice-versa""! Thank you!
@mrkripi2799
@mrkripi2799 2 года назад
best explanation available! Thanks mate!
@erikderuiter7475
@erikderuiter7475 2 года назад
Wow, you explanation is so good! This is exceptional. Seems like no word is wasted. Thank you!
@AlexInFlatland
@AlexInFlatland 2 года назад
Wow, thank you!
@Richie_
@Richie_ 2 года назад
I have an AVR ISP ZIF shield so no wires needed.. Great video. This video is a great help. Thanks.
@AlexInFlatland
@AlexInFlatland 2 года назад
Glad it helped! Thank you!
@drakaguo
@drakaguo 3 года назад
This guy deserves more likes. Absolutely well explained and detailed GG WP
@dulamahathantila9851
@dulamahathantila9851 7 месяцев назад
Thanks for helping me doing this because I was in a big trouble.Thanks very very very very very very much...............!
@plamenpetkov7132
@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
@swatun343
@swatun343 Год назад
1000th Subscriber! Congratulations!
@billglass5160
@billglass5160 3 года назад
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!!
@billglass5160
@billglass5160 3 года назад
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.
@billglass5160
@billglass5160 3 года назад
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.
@davids9139
@davids9139 5 месяцев назад
I noticed that you're using an ATmega168, will this work with the ATmega328p?
@christianeriksson4733
@christianeriksson4733 2 года назад
Pro tip: Disconnect your power supply while wiring and connecting a cirquit. Very pedagogical and informative video though!
@AlexInFlatland
@AlexInFlatland 2 года назад
That is a VERY good point! :)
@MrZindozs
@MrZindozs Год назад
Aleks, you saved my life!
@phenomen66
@phenomen66 3 года назад
Thank you for this Tutorial. It helped me a lot :)
@JBERGALIEN
@JBERGALIEN 2 года назад
Thank's Alex, Well done
@rajitheenbro4961
@rajitheenbro4961 2 года назад
Very useful video sir thank you for the good explanation
@AlexInFlatland
@AlexInFlatland 2 года назад
Glad you liked it! Thanks!
@DeadlyGamingKing
@DeadlyGamingKing 2 года назад
Thanks man, great video.
@vallabhair1369
@vallabhair1369 8 месяцев назад
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
@abbn100
@abbn100 3 года назад
Hi Can you show me where I can download the bootloader files. I can not find them. Thanks
@katogangstad
@katogangstad 3 года назад
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.
@abbn100
@abbn100 3 года назад
Yes but where is it.
@tgg163
@tgg163 3 года назад
@@abbn100 found it: www.arduino.cc/en/uploads/Tutorial/breadboard-1-6-x.zip ... its from the arduino website
@tgg163
@tgg163 3 года назад
also, you will need to download an older version of the ide... from www.arduino.cc/en/main/OldSoftwareReleases
@holandsoest
@holandsoest 3 года назад
@@tgg163 Thank you! i've been searching for a while... Thank you Thank you!
@naiksunil8361
@naiksunil8361 3 года назад
Awesome, Arduino tutorials be like this 👍
@ronmoz5815
@ronmoz5815 2 года назад
thanks a lot sir, I learned something
@leythecg
@leythecg 2 года назад
Great tutorial! Best regards!
@aalaz6913
@aalaz6913 11 месяцев назад
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
@Daniel_Mahlangu
@Daniel_Mahlangu 2 года назад
Do I need to supply 5 V to the chip or it can work at lower voltage?
@iloveplasticbottles
@iloveplasticbottles 3 года назад
On new version, burning from Arduino to board doesn't work. I think you have to burn directly to chip.
@aleemuddinkhan1813
@aleemuddinkhan1813 2 года назад
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.......
@Josueee7
@Josueee7 10 месяцев назад
Cómo cambiar el voltaje de 5v a 3.3v ?
@christianeriksson4733
@christianeriksson4733 2 года назад
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?
@AlexInFlatland
@AlexInFlatland 2 года назад
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.
@christianeriksson4733
@christianeriksson4733 2 года назад
@@AlexInFlatland Sounds reasonable. Thanks for taking the time, and good luck with any future projects!
@ljay0778
@ljay0778 3 года назад
I don't see where the "new bootloader" is found? ...
@AlexInFlatland
@AlexInFlatland 2 года назад
Sorry about that. And sorry about the long overdue response. I re-uploaded the files and updated the description.
@anmolgoel9740
@anmolgoel9740 2 года назад
best vid
@HaggmarkReloading
@HaggmarkReloading 3 года назад
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!
@HaggmarkReloading
@HaggmarkReloading 3 года назад
Never mind. got it working! :D wicked tutorial! thanks for doing stuff like this!
@projektowanie3ddruk3d99
@projektowanie3ddruk3d99 3 года назад
Will the atmega328p itself work like an Arduino? Digital / PWM pins and analog pins will work normally?
@AlexInFlatland
@AlexInFlatland 2 года назад
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.
@electrogasm
@electrogasm 8 месяцев назад
i am not gay but i mmmm ....just want to say i love you man .... your video made my day ... after many unsuccessful attempts i had lost my hope but. after watching your video i successfully burned the bootloader... thank you..... ( sorry for my bad English )😅
@larsniklassonhede3798
@larsniklassonhede3798 Год назад
Nice
@DiyintheGhetto
@DiyintheGhetto 2 года назад
Hello there is no link for the 8mhz bootloader files. Can you please share with us?
@AlexInFlatland
@AlexInFlatland 2 года назад
Sorry about that! I think RU-vid removed my external links. I re-uploaded them to my website and updated the description with the new links. Thanks for watching!
@DiyintheGhetto
@DiyintheGhetto 2 года назад
@@AlexInFlatland Thsnk you very much.
@shvideo1
@shvideo1 2 года назад
I don’t see any boot loader links! Where are the 3 links you mentioned?
@AlexInFlatland
@AlexInFlatland 2 года назад
Thank you for catching that! I think RU-vid 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.
@shvideo1
@shvideo1 2 года назад
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.
@InF3XioN
@InF3XioN Год назад
Without having a pull resistor in the RST, the circuit design is wrong. That's not stable.
@petermuller608
@petermuller608 8 месяцев назад
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
@jimmykessler8117
@jimmykessler8117 3 года назад
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......
@AlexInFlatland
@AlexInFlatland 2 года назад
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.
Далее
1-Day Project: Build Your Own Arduino Uno for $5
14:23
Arduino as ISP
8:56
Просмотров 338 тыс.
Bare-Metal MCU #4 - Bootloaders and Programmers
18:24
Make your own Arduino on a breadboard
6:25
Просмотров 4,3 тыс.
Bootloader and upload to Atmega328P-AU
7:28
Просмотров 71 тыс.
ATmega328 and PlatformIO - no Arduino!
16:21
Просмотров 11 тыс.
installing an arduino  bootloader
13:02
Просмотров 14 тыс.