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

Поділитися
Вставка
  • Опубліковано 29 лис 2024

КОМЕНТАРІ • 26

  • @Dad-ij2qy
    @Dad-ij2qy Рік тому +3

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

  • @rickhunt3183
    @rickhunt3183 Рік тому +5

    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 8 місяців тому

      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.

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

      Indeed there are so many alternative ways to use the avr Products
      I sometimes use atTiny but on the other hand If I need More i o pins
      I²C or atmega1284 Big chip with lots of memory and many Timers

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

      You can program a lot of different AVR chips if you just use an ISP/ICSP programmer.

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

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

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

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

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

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

    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  11 місяців тому

      I'll take a look at AVR assembly :)

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

  • @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! :)

  • @BoloH.
    @BoloH. Рік тому +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  Рік тому

      Bootloaders are nice, but not necessary :)

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

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

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

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

    Mouser has Tmega328P dip 28 available

  • @pro.empire
    @pro.empire Рік тому

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

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

      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 11 місяців тому

    Why do I see an 8 MHz crystal?🤔

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

    👍