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

Sdílet
Vložit
  • čas přidán 1. 07. 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...
    --
  • Věda a technologie

Komentáře • 25

  • @Dad-ij2qy
    @Dad-ij2qy Před 10 měsíci +2

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

  • @PhilipLozano_0
    @PhilipLozano_0 Před rokem +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 Před rokem +1

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

  • @mhavock
    @mhavock Před rokem +2

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

    • @SineLab
      @SineLab  Před rokem

      I'm glad you found it helpful! :)

  • @xzddakfdmiug5832
    @xzddakfdmiug5832 Před rokem +1

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

    • @SineLab
      @SineLab  Před rokem +1

      Glad you enjoyed it!

  • @UKsystems
    @UKsystems Před 4 měsíci

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

  • @BoloH.
    @BoloH. Před rokem +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  Před 11 měsíci

      Bootloaders are nice, but not necessary :)

  • @PainterVierax
    @PainterVierax Před rokem +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.

  • @rickhunt3183
    @rickhunt3183 Před 8 měsíci +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 Před 3 měsíci

      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 Před 25 dny

      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

  • @aarrevarppee4396
    @aarrevarppee4396 Před rokem +1

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

  • @LimbaZero
    @LimbaZero Před rokem

    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.

  • @saduniwathsala
    @saduniwathsala Před rokem +1

    👍

  • @edgeeffect
    @edgeeffect Před 7 měsíci

    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  Před 6 měsíci

      I'll take a look at AVR assembly :)

  • @ChristopherSmith-if9mi
    @ChristopherSmith-if9mi Před 4 měsíci

    Mouser has Tmega328P dip 28 available

  • @pro.empire
    @pro.empire Před 8 měsíci

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

    • @SineLab
      @SineLab  Před 8 měsíci

      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 Před 6 měsíci

    Why do I see an 8 MHz crystal?🤔