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

    👍