user61013: 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.

user23644: To answer this you'd need to study the according data sheets:
ATmega32
ATmega32u4
ATmega328
ATmega328P
ATmega328PB
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.

user7508: 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.

user76611: I can't post comments.
One difference is that the ATmega32 has JTAG; ATmega328P has not.

61013: <p>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.</p>
 23644: <p>To answer this you'd need to study the according data sheets:</p>

<p><a href="https://www.microchip.com/wwwproducts/en/ATmega32" rel="nofollow noreferrer">ATmega32</a><br>
<a href="https://www.microchip.com/wwwproducts/en/ATmega32u4" rel="nofollow noreferrer">ATmega32u4</a><br>
<a href="https://www.microchip.com/wwwproducts/en/ATmega328" rel="nofollow noreferrer">ATmega328</a><br>
<a href="https://www.microchip.com/wwwproducts/en/ATmega328P" rel="nofollow noreferrer">ATmega328P</a><br>
<a href="https://www.microchip.com/wwwproducts/en/ATmega328PB" rel="nofollow noreferrer">ATmega328PB</a></p>

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

<p>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.</p>
 7508: <p>I cannot tell for sure, but from a cursory look at the datasheets, the
ATmega32 <em>looks</em> older:</p>

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

<p>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.</p>
 76611: <p>I can't post comments.
One difference is that the ATmega32 has <strong>JTAG</strong>; ATmega328P has not.</p>
