Making an arduino project as small as possible

(Read 159 times)
Making an arduino project as small as possible on: August 22, 2020, 10:26:03 PM
After watching the video "Burn bootloader to ATmega328p AU with Arduino NANO" I knew flashing the bootloader using an Ftdi was exactly what I needed for my tiny atmega328p-au project.

I'm making a small PCB and I don't want it to be re-flashable or require any USB functionality except for power.
So here's what I'm planning.


Basically I'm using the bare minimum to keep the ATmega running, the crystal and the 4 caps and the resistor, and I plan to flash the bootloader using the left test pins (pictured in yellow) and upload the code using the right test pins. All this using a test clip like in my second pic



Taking this into account I think it's safe to say this will work fine, right? The atmega doesn't need much more to work and I'm going to add an OPamp, a diode, pushbutton and a few leds, it's going to be an arduinoboy, my third pic.


I'm nervous because it's my first time doing an arduino project without the whole arduino, just the atmega chip by itself.
« Last Edit: August 22, 2020, 10:29:39 PM by Noob 2394 »



Re: Making an arduino project as small as possible Reply #1 on: August 24, 2020, 10:04:00 AM
Yes, with bare minimum the ATmega328 should work ok. You can flash once the code with an external FTDI and then it will always work with the minimum configuration. I do this all the time...



Re: Making an arduino project as small as possible Reply #2 on: August 24, 2020, 10:10:15 AM
Thanks for the quick reply! Off to finish the design and send off to JLCPCB