Discussion about this post

User's avatar
lcamtuf's avatar

As for the differences between models:

AVR DA is the all-around baseline. It's available in packages between 28 and 64 pins and goes up to 128 kB of flash. It has a good mix of digital and analog peripherals.

AVR DB is essentially identical, except for small changes to accommodate some additional signal processing use cases. The chips are interchangeable in most uses and cost about the same. On the DB series, you lose one I/O pin (PD0), gain an op-amp, and have a separate voltage domain for one port. You also have support for a high-frequency crystal, whereas DA only supports a 32.768 kHz timekeeping one.

AVR DD is a stripped-down version of DB, available in smaller packages (14-32 pins) and with less program memory (64 kB). It's a reasonable choice when you want something small and cheap - the series starts around 90 cents, and can do a lot more than ATtiny.

AVR DU is a flavor of AVR DD that has an on-die USB 2.0 subsystem that requires no external components; this includes no need for an external crystal. It's great for HID accessories and such - and likewise, it's pretty darn cheap.

Expand full comment
milek7's avatar

megaAVR/tinyAVR 0-series are similar too.

Expand full comment
6 more comments...

No posts