Have you seen that there is no more AtMega328P, but there is new version, AtMega328PB?
- Two more 16-bit timer/counters. This is a big deal when you're writing code that's not backed up by an operating system and relies on the hardware for jitter-free timing.
- Two of each USART, SPI, and I2C serial instead of one of each. Good when you use I2C devices that have limited address spaces, or when you need to push the bits out really fast over SPI.
- Ten PWM channels instead of six. This (along with the extra 16-bit timers) is good news for anyone who uses PWM — from driving servos to making music.
- Onboard capacitive sensing hardware: Peripheral Touch Controller. This is entirely new to the ATmega328PB chip, and looks like it'll be interesting for running capacitive sense buttons without additional ICs. It relies on Atmel's QTouch software library, though, so it looks like it's not a free-standing peripheral as much as an internal multiplexer with maybe some hardware-level filtering.
What I see is that min. current went up also
Are you sure 328p is obsolete ? 328PB is not pin compatible and can't replace 328P
On the microchip website (https://www.microchip.com/wwwproducts/en/ATmega328P) :
QuoteATmega328P
In Production
Quote from: Uncle Buzz on March 01, 2018, 12:36:39 PM
Are you sure 328p is obsolete ? 328PB is not pin compatible and can't replace 328P
On the microchip website (https://www.microchip.com/wwwproducts/en/ATmega328P) :
From what I have seen, on pro mini, two pads need to be removed and you can solder PB right onto it again. Also have read, that the same HEX file from P work on PB. It seems that some clones from China can come with PB version
Sorry, there is only 2 differents pins between TQFP32 (I checked 32 pins 328PB vs 28 pins 328P...)
Quote from: LukaQ on March 01, 2018, 10:59:49 AM
Have you seen that there is no more AtMega328P, but there is new version, AtMega328PB?
No worries Luka, it's alive and well, still very much in active production status ;)