Burn Bootloader and Program ATmega16/32 with Arduino IDE using FTDI Programmer like Arduino Uno!

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2022
  • How to program your ATmega16/ Atmega32 Board using Arduino IDE as like you program your Arduino Boards. You can program Atmega16/32 using FTDI Programmer. So watch each and every step so that you can make it arduino compatible.
    Key Moments of this Video:
    0:32 Features of Atmega16/32 and Why it is batter than Atmega328 Arduino Uno
    1:34 List of the components to design ATmega32/16 Board compatible to Arduino IDE
    2:11 Circuit Diagram to ATmega32/16 Board to design Arduino compatible
    2:36 How to install Atmega16/32 external board library in Arduino IDE
    3:51 How to upload bootloader to Atmega16/32 Ic Board using Arduino Uno
    4:55 Circuit Diagram of Arduino Uno connection with Atmega16/32 IC to upload Bootloader
    6:57 FTDI Programmer connection with Atmega16/32 IC with circuit
    7:15 Program Uploading to Atmega16/32 board using FTDI Programmer with Arduino IDE
    7:55 Live testing of Atmega16/32 IC board with led blinking- Successful
    Important Links:
    MightyCore Board Manage Link:
    drive.google.com/file/d/1dyO0...
    How to upload bootloader to Atmega328 IC:
    • How to upload bootload...
    How to program any customized Board:
    • How to program Customi...
    How to install ESP32 board in Arduino IDE: www.nuttyengineer.com/how-to-...
    How to install NodeMCU ESP8266 board in Arduino IDE: www.nuttyengineer.com/nuttyfi...
    Link to download winzip: www.winzip.com/en/download/wi...
    Link to download WinRAR: www.win-rar.com/download.html...
    Arduino IDE Software: www.arduino.cc/en/software
    Contact link for Nutty Engineer Company: www.nuttyengineer.com/contact...
    Contact link for SME: www.smedehradun.com/contact/
    Our Other Video on TH-cam: / smedehradun
    Join us at Social Platform:
    Github: github.com/itsbhupendrasingh
    Twitter: / itsbhupendra
    LinkedIn: / schematics-micro-elect...
    Facebook: / schematicslab
    Instagram: / itsbhupendrasingh
    #atmega16witharduino #progamatmega16usingftdi #arduino #atmega16Arduino #avrArduino #ArduinoIDE #smedehradun #makeinindia
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @ismailsinapli
    @ismailsinapli 7 หลายเดือนก่อน +1

    Perfect bro

  • @lukemarkg.carino5861
    @lukemarkg.carino5861 ปีที่แล้ว +1

    Great video man

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

    It's worked !
    But for every fresh code to upload into ATMega16/32 chip, we need to burn the bootloader using arduino uno as ISP.

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

      No.
      You can upload any code through FTDI programmer & it will work.

  • @sanjaybatra6593
    @sanjaybatra6593 9 หลายเดือนก่อน +1

    have you tried to program atmega32A using usbasp ?

    • @SMEDehradun
      @SMEDehradun  8 หลายเดือนก่อน

      Yes.
      Use the same method shown in the video

  • @alraed45
    @alraed45 10 หลายเดือนก่อน +1

    Thank you Thank you thank you ❤❤

    • @SMEDehradun
      @SMEDehradun  10 หลายเดือนก่อน

      Most welcome 🙏

  • @sanjaybatra6593
    @sanjaybatra6593 9 หลายเดือนก่อน +1

    have you ever programed atmega64 or atmega128 using usbasp ?

    • @SMEDehradun
      @SMEDehradun  8 หลายเดือนก่อน

      The Same method may work.

    • @sanjaybatra6593
      @sanjaybatra6593 8 หลายเดือนก่อน +1

      @@SMEDehradun NO Sir same method will not work here......... its different and more complex to program ....

    • @SMEDehradun
      @SMEDehradun  8 หลายเดือนก่อน

      It must work otherwise try using AVR studio to program it.

    • @sanjaybatra6593
      @sanjaybatra6593 8 หลายเดือนก่อน +1

      @@SMEDehradun atmega16/32 or atmega64/128 are little different from programming point of view. programming pins are different . I haven't tried because , atmega64 pcb is not available with me right now. it come to me next week.

    • @SMEDehradun
      @SMEDehradun  8 หลายเดือนก่อน

      I think you haven’t watched the video completely. I have shown the programming method to program Atmega16/32 through Arduino after burning the bootloader.
      All the ATmel ics are compatible with AVR Studio as well as Arduino IDE. But it’s depend on your hardware connection.

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

    Cheers. I have an Atmega 1284 and I can't install botlander or any other program. I keep getting chibu. Thank you in advance for your help.

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

    I have a question, so i have atmega 16A and i have the code to control DC motor with switch and PWM from atmega, when i press the switch the DC motor rotate but i need to always press it, i just want 1 press and the dc motor can always rotate, i already include the delay but still doesn't work, do you think i need to burn the atmega 16A first? Idk what burn bootloader mean for, sorry.
    Im using Code Vision AVR to program my atmega with isp usb

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

      You can control it easily through the ATmel AVR studio or Arduino IDE. It’s simple. You need to modify the program.

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

      @@SMEDehradun owh ok, and 1 question again, do i just need to burn bootloader once? I mean like if i change the code for atmega 16 i don't need to burn it again right?

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

      If you are using Arduino IDE then need to burn the bootloader otherwise it can directly program using SPI programmer

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

    hi sir
    very help full video
    i do but some error
    exec: "cmd": executable file not found in %PATH%
    Error compiling for board ATmega32.

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

      Hi,
      You need to select the right Com port for your Atmega32 board.

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

    Cheers. Can the Atmega 1284 be programmed this way? Because I have already tried many options and none of them worked. I'll try your option here and then I'll get back to you.

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

      Yes. This will also support the Atmega1284 IC.

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

      @@SMEDehradun Hello. Thank you for your reply. My programmer does not write Mighty core, only Arduino and ISP. My board is Atmel 1284.

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

      Then you can use AVR Studio to program your IC if you don’t want to use Arduino IDE.

  • @luisisraelgutierrezalvarez9764
    @luisisraelgutierrezalvarez9764 4 หลายเดือนก่อน +1

    Hello sir, very good video but I have a problem in the programmer option, "Arduino as ISP MightyCore" option does not appear, it only says "Arduino as ISP" and I cannot program the bootloader.

    • @SMEDehradun
      @SMEDehradun  4 หลายเดือนก่อน

      Install the night core board in your Arduino ide then you will get this option.

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

    Nice sir

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

    When I try to burn the bootloader, it shows up this error:
    avrdude main() error: Yikes! Invalid device signature.
    avrdude main() error: expected signature for ATmega32 is 1E 95 02. Failed chip erase: uploading error: exit status 1.
    Could you please help me to fix this

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

      It may due to wrong IC selection, connectivity issue of the Crystal oscillator with the IC.

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

      @@SMEDehradun I have atmega32A, but i have selected the board as atmega32. That shouldn't be a problem right? bcz both are functionally same right. Is that causing the issue? bcz i checked the connection of the oscillator

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

      It’s only issue of connectivity nothing else.

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

    Sir can i just upload the code using arduino as isp if you don't have ftdi?

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

      Yes you can. This tutorial can help you to upload sketch using ISP-
      docs.arduino.cc/retired/boards/arduino-isp

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

    How to get USBasp (mightyCore) in programmer.

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

      it only has USBasp slow, USBasp

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

      @@yashsaxena3739 you can use it by connecting USBasp pins directly to the IC or you can use any external software to write the hex file to the IC.

  • @unknown-ix2gj
    @unknown-ix2gj ปีที่แล้ว +1

    What does it means burn bootloader .
    I am beginner pls tell ne

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

      Means write the bootloader in IC

  • @mohsenmehrabi298
    @mohsenmehrabi298 10 หลายเดือนก่อน +1

    Hi, I have some project can you do it for me

    • @SMEDehradun
      @SMEDehradun  10 หลายเดือนก่อน

      😂😂 if I do your project then what favour you can do for me?

    • @mohsenmehrabi298
      @mohsenmehrabi298 29 วันที่ผ่านมา +1

      @@SMEDehradun I pay for your time

    • @SMEDehradun
      @SMEDehradun  29 วันที่ผ่านมา

      Let me know, how can I help.

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

    apakah atmega162 juga bisa seperti ini?

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

      English please!

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

      @@SMEDehradun is atmega162 can be like this? i mean i wanna try it but using atmega162

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

      Hi,
      This will not support atmwga162.

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

      @@SMEDehradun why?

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

      i found a page that says atmega162 can be used, but i need more knowledge. that's why I came here

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

    Cheers. I have an Atmega 1284 and I can't install botlander or any other program. I keep getting chibu. Thank you in advance for your help.