Тёмный

ATmega8 bootloader, code, Arduino IDE 

Electronoobs
Подписаться 577 тыс.
Просмотров 129 тыс.
50% 1

Best & Fast Prototype ($2 for 10 PCBs): www.jlcpcb.com
Let's start with other AVR microcontrollers from Atmel. This time, the ATmega8. Butn the 16MHz bootlaoder and then upload codes using the FTDI programmer. More micros tutorials soon...
Help my projects on Patreon : / electronoobs
my Q&A page: electronoobs.com/eng_preguntas...
Canal en Español: / electronoobs en español
-----------------COUPONS-------------------
Oscilloscope: www.gearbest.com/other-instru...
PRINTERS
-------------------------------------
Ender 3(155€ AMAZING): www.gearbest.com/3d-printers-...
SparkMaker SLA: www.gearbest.com/3d-printers-...
Crealitu CR10: www.gearbest.com/3d-printers-...
Coupon code: "11CR10EU" or "11CR10US"
ANET E10 (219$): www.gearbest.com/3d-printers-...
Coupon code: "Anete10us"
TEVO Tarantula (175$): www.gearbest.com/3d-printers-...
Coupon code: "Tarantulaus"
Creality CR10 MINI: www.gearbest.com/3d-printers-...
COUPON: CR10MINI
Anet A8: www.gearbest.com/3d-printers-...
Coupon code: "A8KIDA"
-----------------LINKS-------------------
ATmega8 bootloader burn: www.electronoobs.com/eng_ardu...
Bootloader burn schematic: www.electronoobs.com/images/A...
FTDI schematic: www.electronoobs.com/images/A...
OptiLoader code: www.electronoobs.com/eng_ardu...
MiniCore GitHub: github.com/MCUdude/MiniCore
ATmega328-p-AU bootlaoder burn video: • Burn bootloader to ATm...
Like share and subscribe to motivate me. Thank you
#electronoobs #arduino #homemade

Наука

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

 

17 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 192   
@ELECTRONOOBS
@ELECTRONOOBS 5 лет назад
Want to help my workshop: www.patreon.com/ELECTRONOOBS Thank you so much!
@jesusreignonhigh6732
@jesusreignonhigh6732 5 лет назад
Yo. You should make a tutorial on how to design a bootloader in the form of an Arduino Shield...
@gameboys248
@gameboys248 5 лет назад
I have one guestion. How about 328P in smd version is it same connections as in your tutoril arduino bare minimum or there is diference.
@DrexProjects
@DrexProjects 5 лет назад
So far I have bricked 2 of my 10 atmega 8's ..... 8 more to go. Then I can recycle them.
@rahilsaifi5660
@rahilsaifi5660 4 года назад
Sir, send your mail id.
@rahilsaifi5660
@rahilsaifi5660 4 года назад
Starting program mode failed result Sir whats is this problem
@Dragonmastur24
@Dragonmastur24 5 лет назад
Oh you are definitely staying awesome! I cant wait for all of these lessons about the different types of micro controllers you have :D
@PhG1961
@PhG1961 5 лет назад
Awesome video ! For a moment I thought you had forgotten the banana. Quite a relief to see it showing up at 4:30.
@isidoromunoz788
@isidoromunoz788 5 лет назад
Ha merecido la pena escucharte. Gracias
@MCsCreations
@MCsCreations 5 лет назад
Really fantastic work, dude! 😃 And it shouldn't be difficult to make special boards to burn the boot loader and to program it. 😊
@WahyuHidayat-my1ky
@WahyuHidayat-my1ky 5 лет назад
Thanks dude, this is work perfectly on atmega8
@andreaapostoli6878
@andreaapostoli6878 3 года назад
first attempt and immediately works, thanks
@winsrrow8125
@winsrrow8125 5 лет назад
Buen video, sigue así, siempre está interesante ver cosas nuevas (good video, cotinue that way, always is interesting see new things)
@msjaxp
@msjaxp 5 лет назад
Nice and well done illustration steps
@Zhaymoor
@Zhaymoor 5 лет назад
Thank you so much, the tutorial is so useful
@zaidhussain5206
@zaidhussain5206 5 лет назад
Thank you so much for sharing this video, really very informative to me , please keep the good work
@darkmedievil123
@darkmedievil123 5 лет назад
Woww awesome bro! I love this kind of videos. What about a similar tutorial with the attiny10?
@hemantmundhe6662
@hemantmundhe6662 5 лет назад
Nice information sir for atmega 16 bootloader.
@richardcreese
@richardcreese 5 лет назад
I use the Attiny85 a lot because of it's small size which I program from an Uno. Nice video.
@dawcio1pl
@dawcio1pl 5 лет назад
Very good channel with not enough subscriptions :) I watched your watch project and it was amazing, show more microcontrollers and describe them as for an electronoob like me, please :D
@sayantanmaiti2513
@sayantanmaiti2513 5 лет назад
Loved that a lot. I would also like to use the Attiny and the Atmega32A..
@edslab5383
@edslab5383 5 лет назад
Good tutorial. Can you make a video tutorial series about PIC microcontrollers? It would be awesome!
@electronicsguy9899
@electronicsguy9899 5 лет назад
Thanks for using pic microcontroller
@issaalqutaibi2085
@issaalqutaibi2085 5 лет назад
thank bro. ESP8266 next tutorial please. we appreciate your hard work and we are supporting you... *LOVE*
@sidyajv
@sidyajv 5 лет назад
This channel deserves subs.
@richardlighthouse5328
@richardlighthouse5328 4 года назад
Can't wait for PIC microcontrollers.
@user-uv2gu8wm6h
@user-uv2gu8wm6h 4 года назад
arduino ide always stuck at uploading while uploading blink to my atmega8
@KennethScharf
@KennethScharf 5 лет назад
The atmega88 is the newer version of the meg8. It's a better chip having more interrupt lines, and it works up to 20mhz vs 16mhz for the '8'. The mega8 might be cheaper, especially in surplus. BTW you CAN use the USBISP to program the optiloader on the chip. I've done it! (Via the command line with avrdude)
@alexandrebaux4042
@alexandrebaux4042 5 лет назад
Thanks a lot for this tutorial
@InputBlackBoxOutput
@InputBlackBoxOutput 5 лет назад
Very informative video Just a question. Do I have to always use a FTDI chip based programmer to program the ic or can I just replace the ic present on my uno permanently.
@mandelbro777
@mandelbro777 4 года назад
very informative and o the point. Thanks
@krishnamacharyp
@krishnamacharyp 3 года назад
Indeed.. good job dude !!
@electronic7979
@electronic7979 5 лет назад
Useful video
@themonkey4465
@themonkey4465 5 лет назад
Awesome! Can you do samd21 next?
@DEKAkrens
@DEKAkrens 5 лет назад
Thanks a lot, now I know about minicore 😉
@user-uv2gu8wm6h
@user-uv2gu8wm6h 4 года назад
4:30 how is the atmega8 being powered if it is not connected to any powersource?? how ever in thecircuit diagram it is connected to 5v and gnd of arduino
@actionoise
@actionoise 5 лет назад
thanks bro you permitted actionoise sistem......
@riyadhdigimation7741
@riyadhdigimation7741 5 лет назад
NICE WORK
@fayazbasapur8026
@fayazbasapur8026 4 года назад
Great video!
@saajidthakur6027
@saajidthakur6027 3 года назад
Thanks, Sir. for sharing your knowledge can the same procedure apply for ATMega16 bootloader burn?
@HSRMF
@HSRMF 5 лет назад
nice work .. keep it up ...
@ianthehunter3532
@ianthehunter3532 3 года назад
Thanks! This also works same with uploading to ATmega328?
@TrueDetectivePikachu
@TrueDetectivePikachu Год назад
This video is 4 years old, yet is more useful than anything around recently. Thanks man! Exactly what I was searching when hitting a brick wall with my atmega32u chip (this one in particular are the ones Leonardo boards uses)
@hebrewhammer1000
@hebrewhammer1000 5 лет назад
Thank you for sharing. Could you also do a video on stm32?
@dnyaneshwarshingare1403
@dnyaneshwarshingare1403 5 лет назад
Sir, please Make a video on pic microcontroller
@hozefaesper513
@hozefaesper513 5 лет назад
nice video thank you verey much.....but what is the board we have use it in opition when burning the bootloader
@chinmoytahbildar3278
@chinmoytahbildar3278 5 лет назад
Great job...
@vantage8294
@vantage8294 11 месяцев назад
you are the best sir
@sukantasutradhar9217
@sukantasutradhar9217 3 года назад
Good information
@user-uv2gu8wm6h
@user-uv2gu8wm6h 4 года назад
pls help.. what to do if i dont have dtr pin?
@albanprada7183
@albanprada7183 2 года назад
Gracias por el tutorial. Cómo configurar el oscilador interno de 8MHz del Atmega8?
@nam_8bit904
@nam_8bit904 5 лет назад
i love this video ! although it only uses arduino NG
@ZulfiqarAadil
@ZulfiqarAadil 4 года назад
I do as you describe and its work but I observe very important thing the "startup delay THE INBUILT LED BLINK 3 TIMES IN A SECOND THEN OFF FOR TWO SECONDS " so total about 3~4 second startup delay and how to get rid of it ?
@TooSlowTube
@TooSlowTube 9 месяцев назад
The ATmega8 vs ATmegaXX8 table you've shown seems to show 2 SPI interfaces, for most of the chips listed, including the 328P. That's wrong, isn't it? The Uno has two sets of pins connected to SPI (the 6 pin ISP and some of the D pins), but they're just wired together, aren't they? I now realise how difficult it is to get a decent high resolution schematic of the Uno, as an image. I'd saved several, over the years, but they're mostly too blurry to actually read properly.
@amnlabz
@amnlabz 4 года назад
Good Video!!
@joeblow7374
@joeblow7374 3 года назад
You just glided over that "if you get an error...." I am always getting an error, no matter how many times I press the reset button or type G.
@garethronaldo8692
@garethronaldo8692 5 лет назад
it is so usefull
@pedroaledo6069
@pedroaledo6069 5 лет назад
Is compatible for Atmega16-A?
@eliasgeorge8534
@eliasgeorge8534 4 года назад
AtTiny841 is also a really great microcontroller.
@startobytes
@startobytes 4 года назад
Hi, does someone know at witch age you can make a Website?
@certified-forklifter
@certified-forklifter 5 лет назад
why that banana?! lol, nice video as always!
@ayush91225h
@ayush91225h 4 года назад
Thanks bro
@addiction-69
@addiction-69 5 лет назад
Why you didn't make a video on program to pic Microcontroller easily like you did on Atmega8A or Atmega 328.
@Lightchaser-yk7zu
@Lightchaser-yk7zu 2 года назад
I was about yeet my chip across the room until your video saved it.
@wachannel7082
@wachannel7082 4 года назад
Thank you
@YugoZex
@YugoZex 2 года назад
I bought Atmega8 16pu and I have a question? Can I use another arduino Uno and put this chip in instead of 328 and to burn bootloader that way, using 2 arduino uno's?
@confusedengineer7424
@confusedengineer7424 5 лет назад
nice video
@ravivashatkar5585
@ravivashatkar5585 5 лет назад
Good one
@paulspark7287
@paulspark7287 29 дней назад
There's definitely a gap in the explanation of configuring the FTDI board to load the chip on the breadboard. I've tried uploading blink to the COM port of my FTDI programmer and I'm seeing "avrdude warning: attempt 1 of 10: not in sync". I have no idea what the loading baudrate is supposed to be?
@ram_creativan
@ram_creativan 2 года назад
please make a video example of a simple tft lcd program using an atmega 16 chip.
@hugowoesthuis
@hugowoesthuis 5 лет назад
I would like to see an AVR programming troubleshoot video. I have multiple chips that get DID 0x000000 for some reason, preventing from programming them. I simply can't find the right solution
@MaxintRD
@MaxintRD 5 лет назад
The chips maybe locked. Some cheap suppliers sell pre-burned chips. A high voltage programmer may allow you to reset the fusebits. They could alse be fakes. See the video on my channel for more about that...
@edelweishurt2059
@edelweishurt2059 2 года назад
Is it possible to display characters with a 16X2 I2C LCD?
@mikelor84
@mikelor84 5 лет назад
Great video! It was very useful. But I have a question: how did you chose a 10kohm pull up resistor for the reset pin? why that value? I'm trying to learn how to calculate the right size for pull up/down resistors for logic CMOS digital circuits
@thebluemarauder
@thebluemarauder 5 лет назад
10k is pretty much the default value for pull-ups and pull-downs. There isn't any precise value or formula to follow, pretty much anything from around 4.7k to 22k, maybe higher, will do. 10k just tends to be a value in that range that most people have on hand most of the time, so it kind of feeds back on itself and everyone just uses them by default and keeps them handy whenever a pull-up is needed. Pretty much the idea is to be a large enough resistance to be easily overridden by a connection to the other rail while being small enough that there will be enough current to maintain the desired input level. In general unless a datasheet specifies a different value, just assume 10k will do.
@mikelor84
@mikelor84 5 лет назад
thank you very much
@michaelward402
@michaelward402 2 года назад
Too big a resistor can lead to noise problems where the current is so small that the gate can be affected by power supply noise. Too low a value resistor can lead to latching, where something trying to pull the line high or low cannot overcome the current, because of device limitations. So this is very dependent on what is attached to a gate. in general, anything between 4K7 and 10K should suffice.
@mikelor84
@mikelor84 2 года назад
@@michaelward402 lol I had forgotten this comment from 3 years ago. But thank you. It's useful information
@rockbappino1354
@rockbappino1354 5 лет назад
Nice bro
@Arvinthhh
@Arvinthhh 4 года назад
Is the tutorial same for atmel32L Chip ?
@davidrubio8673
@davidrubio8673 5 лет назад
have you ever use the awesome attiny85 pd: also v-usb for avr is really cool
@ELECTRONOOBS
@ELECTRONOOBS 5 лет назад
A future video will be on attiny85!
@cybermsantos
@cybermsantos 4 месяца назад
Is possible do this without the 16Mhz Xtal, using only 8MHz internal oscillator ?
@turutzi
@turutzi 5 лет назад
Nice Video But litte "fun fact" you could allready use an atmega8 whit the basic board libarry. Under the "arduino NG" bord you coud choose between a atmega8 oder atmega168. So theoretical you dont have to add new boards to your libarry but still nice to have.
@ELECTRONOOBS
@ELECTRONOOBS 5 лет назад
Thanks. I've tried that and for some reason didn't work...
@TooSlowTube
@TooSlowTube 9 месяцев назад
Where does that atmega8 vs atmegaxx8 table come from? It would be nice to be able to read it properly, instead of just being shown glimpses of it, or being shown it all but at too low a resolution to read it.
@rafaelcabelo6616
@rafaelcabelo6616 5 лет назад
Atmega16? Stepping back. I do recommend to get Atmega168 for projects that don’t need more than 16K of flash and Atmega32A that is more chipper than Atmega328. Try to use STM8S instead Atmega8. You will love it.
@chinmaykulkarni7835
@chinmaykulkarni7835 4 года назад
Can we use Arduino in place of usb to Serial converter
@alattar6568
@alattar6568 3 года назад
how can burn the bootloader for internal 8MHZ crystal through arduino ?
@tunahankaratay1523
@tunahankaratay1523 5 лет назад
Of course the atmega16 and those pics would be interesting. I can't find any good tutorial about the PIC MCUs.
@DavidFromMars
@DavidFromMars 10 месяцев назад
Why do you need to connect all those components to the microcontroller between programming it with Arduino?
@MrWilliam932
@MrWilliam932 5 лет назад
I would like to see the Parallax Propeller (P8X32A-D40) a 32-bit 8-core microcontroller capable of running at 80MHz and generating It's own video output if needed
@josuecrespo8386
@josuecrespo8386 5 лет назад
Hey friend I like to male my owm version of this can it be done
@mayankjain4734
@mayankjain4734 5 лет назад
can we use same optiloader code for atmega328 ic
@sayantanpal7953
@sayantanpal7953 5 лет назад
Can I use Arduino as ISP method to program atmega8 ??🤔
@adamsucksatyt
@adamsucksatyt 4 года назад
If I change the ATMEGA8's bootloader, will it work with ATMEGA8 only codes? I'm making a battery capacity tester designed by Danyk666 (DiodeGoneWild), and it needs a ATMEGA8 microcontroller And can you reprogram a ATMEGA328P to work like the ATMEGA8? Please reply fast
@tswoshman0016
@tswoshman0016 4 года назад
Can someone help ! The library doesn´t stay in my IDE ! Everytime I Install anoter library the old one is gone ! Why is that ? How can I make them stay ???
@electroniclover5589
@electroniclover5589 3 года назад
Do you have pic microcontroller tutorial?
@alfinurhasanuddin8708
@alfinurhasanuddin8708 5 лет назад
Bro,can you share the atmega8 fusebit for this tutorial? Thanks before :)
@ajaikumarnadar5005
@ajaikumarnadar5005 4 года назад
is it possible to burn bootloader using usb to ttl converter ?
@shantoislam8223
@shantoislam8223 4 года назад
can i use this bootloader,code in Atmega8A-pu
@shubhampotdar7573
@shubhampotdar7573 5 лет назад
Thanku so much
@matrixdexter270
@matrixdexter270 5 лет назад
hey can you do the atmega 2560 ???
@Axlg
@Axlg 4 года назад
Can I do the same for atmega328p-pu?
@HSRMF
@HSRMF 5 лет назад
dear ... i keep getting this error: avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xa0 !!
@ex844_surajkumar_sharma4
@ex844_surajkumar_sharma4 2 года назад
Please make a video on PIC microcontroller also...
@adonispeo
@adonispeo Год назад
Hey this was a great video btw, but can you make a video on how to make a AVR ISP using atmega8 pls...
@satyanarayanalanka6453
@satyanarayanalanka6453 4 года назад
hi actually I'm facing a problem while uploading the bootloader to atmega8, it's showing (Starting Program Mode - Failed, result = 0xFFFF )like
@Bharatiy007
@Bharatiy007 3 года назад
Thank you so much for this video. I tried this at my home but didn't worked. I have uploaded "OptiLoader" code. But while uploading the Blink code it was giving me below error. "Access is denied. exit status 1 Error compiling for board ATmega8. " I tried with same settings as you shown. Please help me with this issue.
@mihaelpanjkrc7870
@mihaelpanjkrc7870 5 лет назад
Awesome
@Askofifeanyi
@Askofifeanyi Год назад
Plz🙏🙏 can I use atmega8L Instead of atmega8
@sayalijoshi5010
@sayalijoshi5010 2 года назад
I want to upload arduino code on atmega2560. Do I follow the same method?.. I tried it but it doesn't work.
Далее
Bootloader для AVR
15:08
Просмотров 11 тыс.
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
ЛУЧШАЯ ПОКУПКА ЗА 180 000 РУБЛЕЙ
28:28
Sensors - which one to use
17:06
Просмотров 1,3 млн
Display examples - which one to use?
12:41
Просмотров 251 тыс.
I built my own computer. by hand.
13:03
Просмотров 1,1 млн
Подключаем энкодер к ардуино
14:39
Bootloader and upload to Atmega328P-AU
7:28
Просмотров 68 тыс.
How to Burn bootloader and sketch on ATMEGA8L-8PU ?
6:22
iPhone 15 Pro в реальной жизни
24:07
Просмотров 355 тыс.
Собери ПК и Получи 10,000₽
1:00
Просмотров 2,7 млн
Wylsa Pro: опять блокировка YouTube?
17:49
Самый быстрый пылесос!
0:30
Просмотров 19 тыс.