I like DIP because of the ease of swapping out the chip. What would be the advantage of an ATmega324 over ATmega328 to pay a premium for a tester based on it?
ATMega324 has more I/O ports than ATMega328 DIP. Therefore, you simply have more chanses and options for connecting peripheral sources for the tester. I don’t see any more advantages.
My thoughts about selecting MCU chips for scratch-built DIY Transistor Testers and also for upgrading/customizing
"factory built" Transistor Testers:
The OSHW Transistor Tester requires the MCU to have GPIO ports which fully support 5V logic levels for both input and output.There simply aren't many alternatives to the Atmel/Microchip AVR family.
The trend is for newer/faster/larger/cheaper MCU chips to operate
only at 3.3V (although some can accept 5V logic signals as
inputs on selected pins)
To review: Since the Transistor Tester generates its test signals directly from MCU GPIO pins this means the MCU
must be able to output a full 5V from its GPIO pins.
And with the OSHW Transistor Tester software gradually growing in features and size this makes it desirable to select an MCU with 64k (ATmega644) or 128k (ATmega1284) flash program memory.
Fortunately I already have ATmega644 and ATmega1284 on hand in 40-pin DIP packages I will use them for my scratch-built Transistor Tester.ATmega324 TQFP-44 (square SMT package) has 44 pins vs. mega328P (TQFP-32) with only 32 pins- The additional pins are useful GPIO ports.
- ATmega324 can be
directly replaced by ATmega644. No alteration of PC board is needed.
- So far none of the $1 USD Chinese MCU chips come in 44-pin TQFP.
- Therefore a Transistor Tester which contains a 44-pin TQFP MCU
is very likely to have a real ATmega324 (or ATmega644) MCU.
- In contrast, there are at least 2 different $1 USD Chinese MCU which come in 32-pin TQFP packages.
- This means Transistor Testers with 32-pin MCU chips could have
any one of 3 different MCU chips (Atmel ATmega328P, Lucky Green LGT8F328P, or AptChip APT32F172K8T6.