Remove the ATmega from your Arduino! - Standalone AVRs and ICSP Programming - Beyond Arduino #3

Поділитися
Вставка
  • Опубліковано 13 тра 2024
  • You are likely familiar with the Arduino environment. But there will come a time when you need to use a microcontroller that isn't supported directly by Arduino...
    -- Links --
    My Website: sinelab.net
    Buy me a coffee: www.buymeacoffee.com/thesinelab
    Bitcoin Address: bc1qwlfr2ml9km4r5vhpfh7f3m60k80whhcq3ysths
    Ethereum Address: 0x7e8B8Ff8D6bD8DfB48b4A139694BB343f040Bb3f
    Fuse Calculator: eleccelerator.com/fusecalc/fu...
    Microchip Studio: www.microchip.com/en-us/tools...
    ATmega328p: www.digikey.com/en/products/d...
    (or ATmega8A): www.digikey.com/en/products/d...
    ATmega328p Datasheet: sinelab.net/pdf/ATmega328p_da...
    --
  • Наука та технологія

КОМЕНТАРІ • 24

  • @Dad-ij2qy
    @Dad-ij2qy 9 місяців тому +1

    Thank you, Sine Lab, for showing clear, concise instructions that never leave out a key step. Keep up the good work!

    • @SineLab
      @SineLab  9 місяців тому

      Thank you!

  • @JohnVance
    @JohnVance Рік тому +1

    Really great video, well laid out. Keep it up!

  • @PhilipLozano_0
    @PhilipLozano_0 Рік тому +1

    I love this video and this series! There is just something really nice about having more control of form factor and features, as a result of breaking away from Arduino. Nice Stuff!

  • @rickhunt3183
    @rickhunt3183 7 місяців тому +3

    The ATmega 328 is top dog in the microcontroller world. There are a lot of haters out there, but the facts are out. The best way to program these chips are to take an Arduino that uses a dip package and remove the controller and replace it with a Zif socket. program the Arduino as normal, test, then remove from the socket. Forget all those other methods. My way works great and I've been programming these chips with my method for years. Save your money boys. Don't turn something easy into something hard. If you need a boot loader you can chain a Arduino to one of the chips and copy the boot to the device. Unless you're an advanced user and you have a need to change factory presets. Leave them alone. The original Arduino programing environment is probably the best way to program these devices for a beginner.

    • @basilhsgr5018
      @basilhsgr5018 Місяць тому

      I 'm thinking to make something similar with a spare arduino pro-mini (5V16MHz) I have. I will put it in a breadboard and installed a ZIF socket and 2 female pins for the XTALs so I can change them using 16MHz or 8Mhz instead.

  • @xzddakfdmiug5832
    @xzddakfdmiug5832 Рік тому +1

    Another excellent video. Thanks for showing us what tools you use to program.

    • @SineLab
      @SineLab  Рік тому +1

      Glad you enjoyed it!

  • @mhavock
    @mhavock Рік тому +2

    good stuff! thats a quick way to learn more about it. 😄

    • @SineLab
      @SineLab  Рік тому

      I'm glad you found it helpful! :)

  • @aarrevarppee4396
    @aarrevarppee4396 Рік тому +1

    Just tried to get to programming mode with ATMEGA328P. Looking for your next vid.

  • @PainterVierax
    @PainterVierax Рік тому +2

    The argument about the lack of Arduino support in the intro falls a bit flat when there are plenty of Arduino bootloaders for almost all of the AVR chips, even the ATtiny and the last Dx series. Sure it's not mainstream support but those still keep most of the Arduino/Wiring code compatibility on a minimalist board.
    About the HVP, you really just need some FuseDoctor or RescueAVR that will set to default the fuses to re-enable serial line and reset pin. No need for a complete HV programmer. In most cases, even no need to use HV just for a bad clock source fuse setting, as some fancy ISP sketches for Arduino also provide an external clock signal to connect to the xtal pin of the target.
    Other than that, AVRdudess is a GUI for AVRdude, for those who don't like CLI.

  • @BoloH.
    @BoloH. 11 місяців тому +1

    Incredibly good video! I've felt intimidated about the thought of not having a bootloader (I'm new to embedded and use RPi Picos), apparently for no reason.

    • @SineLab
      @SineLab  9 місяців тому

      Bootloaders are nice, but not necessary :)

  • @UKsystems
    @UKsystems 2 місяці тому

    also note the cable pin outs have a standard so you can put a programing idc headder on your project

  • @LimbaZero
    @LimbaZero Рік тому

    If I understand right MPLAB SNAP should support AVR and SAMD chips and also microchip chips. It's supported by microchip studio. It cost around 11e without tax in distributors. Some ESD safety may be needed because it's bare pcb like AVR Dragon was. It should also support debugging like AVR Dragon or Atmel ICE. I think it's more hobby friendly because it have 0.1" female pin header.

  • @edgeeffect
    @edgeeffect 5 місяців тому

    I bought a bunch of ATTiny chips and put all my Arduino Nano's on E. Bay and haven't looked back since.... D'you wanna try some assembly language... AVRs have one of the nicest and easiest to use assembly languages I've ever used.

    • @SineLab
      @SineLab  5 місяців тому

      I'll take a look at AVR assembly :)

  • @ChristopherSmith-if9mi
    @ChristopherSmith-if9mi 3 місяці тому

    Mouser has Tmega328P dip 28 available

  • @pro.empire
    @pro.empire 6 місяців тому

    hey man im new too allof this. do i need to use uno?

    • @SineLab
      @SineLab  6 місяців тому

      If you are a complete beginner, then yes an Arduino Uno would be a good starting spot. This video is meant for intermediate/advanced viewers who want to expand beyond the Arduino ecosystem.

  • @omkarbhatt2729
    @omkarbhatt2729 4 місяці тому

    Why do I see an 8 MHz crystal?🤔

  • @saduniwathsala
    @saduniwathsala Рік тому +1

    👍