ATmega8 bootloader, code, Arduino IDE

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ธ.ค. 2024

ความคิดเห็น • 195

  • @ELECTRONOOBS
    @ELECTRONOOBS  6 ปีที่แล้ว +13

    Want to help my workshop: www.patreon.com/ELECTRONOOBS
    Thank you so much!

    • @jesusreignonhigh6732
      @jesusreignonhigh6732 6 ปีที่แล้ว

      Yo. You should make a tutorial on how to design a bootloader in the form of an Arduino Shield...

    • @gameboys248
      @gameboys248 6 ปีที่แล้ว

      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 5 ปีที่แล้ว

      Sir, send your mail id.

    • @rahilsaifi5660
      @rahilsaifi5660 5 ปีที่แล้ว

      Starting program mode failed result
      Sir whats is this problem

  • @शिवणकला
    @शिवणकला 5 ปีที่แล้ว

    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

  • @Dragonmastur24
    @Dragonmastur24 6 ปีที่แล้ว

    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 6 ปีที่แล้ว

    Awesome video ! For a moment I thought you had forgotten the banana. Quite a relief to see it showing up at 4:30.

  • @शिवणकला
    @शिवणकला 5 ปีที่แล้ว +1

    arduino ide always stuck at uploading while uploading blink to my atmega8

  • @isidoromunoz788
    @isidoromunoz788 5 ปีที่แล้ว

    Ha merecido la pena escucharte. Gracias

  • @शिवणकला
    @शिवणकला 5 ปีที่แล้ว

    pls help.. what to do if i dont have dtr pin?

  • @KennethScharf
    @KennethScharf 6 ปีที่แล้ว +1

    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)

  • @TooSlowTube
    @TooSlowTube ปีที่แล้ว

    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.

  • @mikelor84
    @mikelor84 6 ปีที่แล้ว +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 6 ปีที่แล้ว +2

      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 6 ปีที่แล้ว

      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

  • @ianthehunter3532
    @ianthehunter3532 3 ปีที่แล้ว +1

    Thanks! This also works same with uploading to ATmega328?

  • @dnyaneshwarshingare1403
    @dnyaneshwarshingare1403 6 ปีที่แล้ว +4

    Sir, please Make a video on pic microcontroller

  • @joeblow7374
    @joeblow7374 4 ปีที่แล้ว +2

    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.

  • @paulspark7287
    @paulspark7287 6 หลายเดือนก่อน

    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?

  • @winsrrow8125
    @winsrrow8125 6 ปีที่แล้ว

    Buen video, sigue así, siempre está interesante ver cosas nuevas
    (good video, cotinue that way, always is interesting see new things)

  • @sidyajv
    @sidyajv 5 ปีที่แล้ว

    This channel deserves subs.

  • @DavidFromMars
    @DavidFromMars ปีที่แล้ว

    Why do you need to connect all those components to the microcontroller between programming it with Arduino?

  • @andreaapostoli6878
    @andreaapostoli6878 4 ปีที่แล้ว

    first attempt and immediately works, thanks

  • @TrueDetectivePikachu
    @TrueDetectivePikachu 2 ปีที่แล้ว

    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)

  • @muhammadaarif3019
    @muhammadaarif3019 6 ปีที่แล้ว +6

    How did you make that banana IC😁

  • @TooSlowTube
    @TooSlowTube ปีที่แล้ว

    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.

  • @ram_creativan
    @ram_creativan 2 ปีที่แล้ว

    please make a video example of a simple tft lcd program using an atmega 16 chip.

  • @richardlighthouse5328
    @richardlighthouse5328 4 ปีที่แล้ว

    Can't wait for PIC microcontrollers.

  • @issa_ood
    @issa_ood 6 ปีที่แล้ว +5

    thank bro.
    ESP8266 next tutorial please.
    we appreciate your hard work and we are supporting you... *LOVE*

  • @saajidthakur6027
    @saajidthakur6027 3 ปีที่แล้ว

    Thanks, Sir. for sharing your knowledge
    can the same procedure apply for ATMega16 bootloader burn?

  • @albanprada7183
    @albanprada7183 2 ปีที่แล้ว

    Gracias por el tutorial. Cómo configurar el oscilador interno de 8MHz del Atmega8?

  • @hugowoesthuis
    @hugowoesthuis 6 ปีที่แล้ว +1

    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 6 ปีที่แล้ว

      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...

  • @hozefaesper513
    @hozefaesper513 5 ปีที่แล้ว

    nice video thank you verey much.....but what is the board we have use it in opition when burning the bootloader

  • @WahyuHidayat-my1ky
    @WahyuHidayat-my1ky 5 ปีที่แล้ว

    Thanks dude, this is work perfectly on atmega8

  • @cybermsantos
    @cybermsantos 9 หลายเดือนก่อน

    Is possible do this without the 16Mhz Xtal, using only 8MHz internal oscillator ?

  • @startobytes
    @startobytes 4 ปีที่แล้ว +1

    Hi, does someone know at witch age you can make a Website?

  • @zwtsch
    @zwtsch 3 หลายเดือนก่อน

    is this can be applied for the SMD version (Atmega8 AU) too?

  • @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?

  • @InputBlackBoxOutput
    @InputBlackBoxOutput 6 ปีที่แล้ว

    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.

  • @alattar6568
    @alattar6568 4 ปีที่แล้ว

    how can burn the bootloader for internal 8MHZ crystal through arduino ?

  • @ZulfiqarAadil
    @ZulfiqarAadil 5 ปีที่แล้ว

    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 ?

  • @sayantanmaiti2513
    @sayantanmaiti2513 6 ปีที่แล้ว +1

    Loved that a lot. I would also like to use the Attiny and the Atmega32A..

  • @electroniclover5589
    @electroniclover5589 3 ปีที่แล้ว

    Do you have pic microcontroller tutorial?

  • @chinmaykulkarni7835
    @chinmaykulkarni7835 4 ปีที่แล้ว

    Can we use Arduino in place of usb to Serial converter

  • @richardcreese
    @richardcreese 6 ปีที่แล้ว

    I use the Attiny85 a lot because of it's small size which I program from an Uno. Nice video.

  • @Askofifeanyi
    @Askofifeanyi 2 ปีที่แล้ว

    Plz🙏🙏 can I use atmega8L Instead of atmega8

  • @kumarghatfun7397
    @kumarghatfun7397 3 ปีที่แล้ว

    How to upload Hex file atmega8?

  • @mahedihassan7611
    @mahedihassan7611 3 ปีที่แล้ว +1

    Can i burn atmeg328p by using the same code???

    • @lambert8443
      @lambert8443 2 ปีที่แล้ว

      j'ai la même question que vous mais je pense qu'elle restera sans réponse.

  • @salazar.eduardo
    @salazar.eduardo 6 ปีที่แล้ว +2

    Good tutorial. Can you make a video tutorial series about PIC microcontrollers? It would be awesome!

  • @vantage8294
    @vantage8294 ปีที่แล้ว

    you are the best sir

  • @sayalijoshi5010
    @sayalijoshi5010 3 ปีที่แล้ว

    I want to upload arduino code on atmega2560. Do I follow the same method?.. I tried it but it doesn't work.

  • @sayantanpal7953
    @sayantanpal7953 6 ปีที่แล้ว

    Can I use Arduino as ISP method to program atmega8 ??🤔

  • @Edson_Staack
    @Edson_Staack 6 ปีที่แล้ว +2

    Great video as always!
    But can anyone explain the meaning of the banana? :)

    • @barrymayson2492
      @barrymayson2492 6 ปีที่แล้ว +1

      Its used for scale.

    • @Edson_Staack
      @Edson_Staack 6 ปีที่แล้ว +1

      Nice! Thank you!

    • @jparky1972
      @jparky1972 6 ปีที่แล้ว

      Banana's are awesome fruits.
      Simple.

  • @MCsCreations
    @MCsCreations 6 ปีที่แล้ว +1

    Really fantastic work, dude! 😃
    And it shouldn't be difficult to make special boards to burn the boot loader and to program it. 😊

  • @wachannel7082
    @wachannel7082 4 ปีที่แล้ว

    What is const alias_t aliases[] in Atmega32

  • @tunahankaratay1523
    @tunahankaratay1523 5 ปีที่แล้ว

    Of course the atmega16 and those pics would be interesting. I can't find any good tutorial about the PIC MCUs.

  • @mayankjain4734
    @mayankjain4734 5 ปีที่แล้ว

    can we use same optiloader code for atmega328 ic

  • @Lightchaser-yk7zu
    @Lightchaser-yk7zu 2 ปีที่แล้ว

    I was about yeet my chip across the room until your video saved it.

  • @krishnamacharyp
    @krishnamacharyp 4 ปีที่แล้ว

    Indeed.. good job dude !!

  • @bamrahelectronics6176
    @bamrahelectronics6176 2 ปีที่แล้ว

    hello brother ,can we upload code in Atmega8-16

  • @dawcio1pl
    @dawcio1pl 5 ปีที่แล้ว +1

    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

  • @theKongston
    @theKongston 2 ปีที่แล้ว

    I have a broken(temp sensor not working)non-programmable thermostat with atmega8l

  • @edelweishurt2059
    @edelweishurt2059 3 ปีที่แล้ว

    Is it possible to display characters with a 16X2 I2C LCD?

  • @rimmersbryggeri
    @rimmersbryggeri 4 ปีที่แล้ว

    Why not use assembly code rather than arduino code?

  • @AravindAnirudh595
    @AravindAnirudh595 5 ปีที่แล้ว

    Is the tutorial same for atmel32L Chip ?

  • @Axlg
    @Axlg 4 ปีที่แล้ว

    Can I do the same for atmega328p-pu?

  • @msjaxp
    @msjaxp 6 ปีที่แล้ว

    Nice and well done illustration steps

  • @kvamsidharvamsi5800
    @kvamsidharvamsi5800 3 ปีที่แล้ว

    hello 👋 bro ,
    i follow as you told ,all works good but program is not uploading with usb ttl (cp2102) black colour board , i don't know why usb ttl is not working to upload program to atmega 8 ,its uploading to atmega328p but atmega8 is not supporting... is there any other way to upload program to atmega8

  • @ex844_surajkumar_sharma4
    @ex844_surajkumar_sharma4 2 ปีที่แล้ว

    Please make a video on PIC microcontroller also...

  • @betech2879
    @betech2879 5 ปีที่แล้ว

    HI CAN YOU SAND THE CODE IN 4:35

  • @ajaikumarnadar5005
    @ajaikumarnadar5005 5 ปีที่แล้ว

    is it possible to burn bootloader using usb to ttl converter ?

  • @kursadturkmenoglu9593
    @kursadturkmenoglu9593 6 ปีที่แล้ว

    What is thee meaning of banana?

  • @MrWilliam932
    @MrWilliam932 6 ปีที่แล้ว

    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

  • @tswoshman0016
    @tswoshman0016 5 ปีที่แล้ว

    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 ???

  • @hemantmundhe6662
    @hemantmundhe6662 6 ปีที่แล้ว

    Nice information sir for atmega 16 bootloader.

  • @HSRMF
    @HSRMF 6 ปีที่แล้ว

    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
    !!

  • @davidrubio8673
    @davidrubio8673 6 ปีที่แล้ว +1

    have you ever use the awesome attiny85
    pd: also v-usb for avr is really cool

    • @ELECTRONOOBS
      @ELECTRONOOBS  6 ปีที่แล้ว +2

      A future video will be on attiny85!

  • @electronicsguy9899
    @electronicsguy9899 6 ปีที่แล้ว +1

    Thanks for using pic microcontroller

  • @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

  • @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

  • @shantoislam8223
    @shantoislam8223 5 ปีที่แล้ว

    can i use this bootloader,code in Atmega8A-pu

  • @darkmedievil123
    @darkmedievil123 6 ปีที่แล้ว +2

    Woww awesome bro! I love this kind of videos. What about a similar tutorial with the attiny10?

  • @pedroaledo6069
    @pedroaledo6069 6 ปีที่แล้ว

    Is compatible for Atmega16-A?

  • @hebrewhammer1000
    @hebrewhammer1000 6 ปีที่แล้ว

    Thank you for sharing. Could you also do a video on stm32?

  • @turutzi
    @turutzi 6 ปีที่แล้ว +1

    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  6 ปีที่แล้ว

      Thanks. I've tried that and for some reason didn't work...

  • @josuecrespo8386
    @josuecrespo8386 6 ปีที่แล้ว

    Hey friend I like to male my owm version of this can it be done

  • @zaidhussain5206
    @zaidhussain5206 6 ปีที่แล้ว

    Thank you so much for sharing this video, really very informative to me , please keep the good work

  • @electronic7979
    @electronic7979 6 ปีที่แล้ว

    Useful video

  • @kryptocat4240
    @kryptocat4240 5 ปีที่แล้ว +1

    Bro i beg please please please make a video on how to burn proggram in atmega 32 and 16

  • @fuentescgabriel
    @fuentescgabriel 6 ปีที่แล้ว

    Can you upload the Banana bootloader?.

  • @themonkey4465
    @themonkey4465 6 ปีที่แล้ว +2

    Awesome! Can you do samd21 next?

  • @HobbyHomeWorkshop
    @HobbyHomeWorkshop 3 ปีที่แล้ว

    This is not working for me at all. I try do this for several days.

  • @Bharatiy007
    @Bharatiy007 4 ปีที่แล้ว

    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.

  • @fayazbasapur8026
    @fayazbasapur8026 5 ปีที่แล้ว

    Great video!

  • @Zhaymoor
    @Zhaymoor 6 ปีที่แล้ว

    Thank you so much, the tutorial is so useful

  • @sabapathi.ssabapathi.s9738
    @sabapathi.ssabapathi.s9738 6 ปีที่แล้ว

    How to bootloader atmega328p_pu to atmega328_pu plz help

  • @roghibashfahani15
    @roghibashfahani15 ปีที่แล้ว

    hello brother, can you make standalone programmer for arduino without PC. maybe the arduino using SDcard and just like click the push button and flash the atmega

  • @TechnologyWithSaikat
    @TechnologyWithSaikat 4 ปีที่แล้ว

    Sir, if I use atmega8a instead of 8, process will be same or not? And pls make a video on difference between 8 and 8a. Pls sir. I didn't got 8 in market, so took 8a. So, I dunno the procedure is same or not, that's why I can't use it, in fear of it may burn.

    • @tuxinal5661
      @tuxinal5661 4 ปีที่แล้ว

      Its the same process

  • @mwale3d
    @mwale3d 4 ปีที่แล้ว

    Make a video on bootloading PIC16f877A with TTL converter....

  • @kartikrajurkar3708
    @kartikrajurkar3708 6 ปีที่แล้ว

    Please teach us about HID VUSB boot loader with atmega chips.. please help us 🙂in your upcoming tutorials.

  • @rafaelcabelo6616
    @rafaelcabelo6616 6 ปีที่แล้ว

    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.

  • @eliasgeorge8534
    @eliasgeorge8534 5 ปีที่แล้ว

    AtTiny841 is also a really great microcontroller.

  • @matrixdexter270
    @matrixdexter270 6 ปีที่แล้ว

    hey can you do the atmega 2560 ???

  • @sameerhejen
    @sameerhejen 6 ปีที่แล้ว

    Robot can make these arduin?

  • @Hasitier
    @Hasitier 6 ปีที่แล้ว

    I often use the Attiny 85 and 84 chips and would like to see some projects done with them. Because they are dirt cheap 😬

    • @MaxintRD
      @MaxintRD 6 ปีที่แล้ว

      Then you may find the ATtiny13A interesting to. Less memory but much cheaper. Equally interesting is the ATtiny44A. Half the price (and memory) of the ATtiny85, but as many pins as the 84.