Hi everyone,
I’m working on a battery-powered data logging project using an Arduino Pro Mini. The current prototype uses the Pro Mini with a DS3231 RTC module and a microSD card (SPI) to store timestamped sensor data. Since the breadboard prototype is working, I’m trying to design a custom PCB using the ATmega328P directly instead of the Pro Mini module so the board can be smaller and optimized for low power.
While studying the Pro Mini schematic and starting the PCB layout, I ran into a few questions:
Thanks!
I’m working on a battery-powered data logging project using an Arduino Pro Mini. The current prototype uses the Pro Mini with a DS3231 RTC module and a microSD card (SPI) to store timestamped sensor data. Since the breadboard prototype is working, I’m trying to design a custom PCB using the ATmega328P directly instead of the Pro Mini module so the board can be smaller and optimized for low power.
While studying the Pro Mini schematic and starting the PCB layout, I ran into a few questions:
- Clock configuration – The Pro Mini comes in both 8 MHz and 16 MHz versions. For a battery-powered design, is it better to run the ATmega328P at 8 MHz with the internal oscillator, or should I still use an external crystal for better stability?
- Programming interface – Since the Pro Mini is usually programmed through an FTDI adapter, do I only need to expose the TX, RX, VCC, GND, DTR, and RESET pins on a header to keep the same programming workflow?
- Decoupling capacitors – The reference designs show multiple 0.1 µF capacitors near the ATmega328P power pins. How critical is the placement distance of these capacitors from the MCU?
- PCB mounting holes – I added a couple of mounting holes to fix the board in a small enclosure. Should these holes typically be connected to ground or kept electrically isolated?
- Minimum drill size for vias – My PCB tool currently uses 0.25–0.3 mm via drills. Are these sizes generally safe for standard PCB manufacturers, or should I increase them to avoid fabrication problems?
Thanks!