I'm new in electronics. Just playing with Arduino boards.I just wanted to program ATMEGA328 micro-controller and use it without Arduino for compact design for my personal hobby project. I found there are ATMEGA32 and ATMEGA328 micro controllers in my local store. So, I wanted to know can I use ATMEGA32 instead of ATMEGA328 ? Which one is latest and whats are benefits. Thanks in advance.

  • 1
    The ATMega32 looks to be essentially the "big brother" of the ATMega328. Just the same chip internally, but with more IO pins. I don't know about register / code compatibility, or Arduino core API support, having never used one. – Majenko Nov 20 '19 at 12:12
  • 1
    you can't put ATmega32 into the DIP socket on Uno. the DIP version has a different size – Juraj Nov 20 '19 at 12:36

I cannot tell for sure, but from a cursory look at the datasheets, the ATmega32 looks older:

  • 16 MHz maximum frequency v.s. 20 MHz for the ATmega328
  • 4.5 V minimum supply voltage v.s; 1.8 V for the ATmega328
  • only one PWN channel per 8-bit timer

From an Arduino-programming point of view, I would prefer the 328, as it would allow you to prototype your code on an Uno, and then move it to the bare MCU, knowing it would work identically. The ATmega32 would be worth consideration if you need more IO than the Uno can provide.


To answer this you'd need to study the according data sheets:


Despite a similar name, the chips are quite different.
32u4 for examle has USB built in.
328PB has more 16-bit Timer/Counters.
... and many more differences.

They only differ on the hardware features and can be programmed in more or less the same way. It is up to you to choose which one you want to use.

  • The only nearly identical ones are 328 and 328P. If you don't care about the "picopower" feature you just have to know they have different signatures. To easiest move from an arduino (UNO or NANO) to a standalone controller, atmega328p is your choice. – DataFiddler Nov 20 '19 at 15:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.