atmega328p small (SMD) alternative with more memory?
-
You might want to consider the STM32F103 -- they're programmable over serial in much the same way that traditional ATMEGA chips are, are arduino-compatible, can be found for roughly the same price as the 1284p, are a ton faster, and most versions have a ton more memory and flash.
You can see the full lineup of chips here: http://www.st.com/en/microcontrollers/stm32f103.html?querycriteria=productId=LN1565 -- I've personally used the STM32F103CB and STM32F103RE in a handful of projects lately.
-
@alexsh1 Wouldn"t a teensy 3.sth fill all the requirements ? Or an ESP8266 if you don't need ADC mux. ESP32 is you do.
-
You might want to consider the STM32F103 -- they're programmable over serial in much the same way that traditional ATMEGA chips are, are arduino-compatible, can be found for roughly the same price as the 1284p, are a ton faster, and most versions have a ton more memory and flash.
You can see the full lineup of chips here: http://www.st.com/en/microcontrollers/stm32f103.html?querycriteria=productId=LN1565 -- I've personally used the STM32F103CB and STM32F103RE in a handful of projects lately.
@coddingtonbear interesting! Did you have any experience with STM32L0 (more suitable for battery power)? Do they have anything small enough?
-
@coddingtonbear said in atmega328p small (SMD) alternative with more memory?:
STM32F103
Does it have any advantages over the ARM used in the nRF52832? The nRF52832 SoC is built around a 32-bit ARM® Cortex™-M4F CPU with 512kB + 64kB RAM. Not sure about other features, but I believe the nRF52832 wins on flash and RAM size.
-
@coddingtonbear said in atmega328p small (SMD) alternative with more memory?:
STM32F103
Does it have any advantages over the ARM used in the nRF52832? The nRF52832 SoC is built around a 32-bit ARM® Cortex™-M4F CPU with 512kB + 64kB RAM. Not sure about other features, but I believe the nRF52832 wins on flash and RAM size.
-
@coddingtonbear interesting! Did you have any experience with STM32L0 (more suitable for battery power)? Do they have anything small enough?
@alexsh1 I'm afraid I've only used STM32F103 variants. Although the Arduino core I've used (https://github.com/rogerclarkmelbourne/Arduino_STM32) is STM32F103 specific, it does look like the official core has support for that chip, though: https://github.com/stm32duino/Arduino_Core_STM32. Just keep in mind that different chips have differing capabilities as far as programming is concerned; I do think the STM32F103 is the most limited of them, though -- you can find details about the bootloader version for each chip here: http://www.st.com/content/ccc/resource/technical/document/application_note/b9/9b/16/3a/12/1e/40/0c/CD00167594.pdf/files/CD00167594.pdf/jcr:content/translations/en.CD00167594.pdf .
-
@coddingtonbear said in atmega328p small (SMD) alternative with more memory?:
STM32F103
Does it have any advantages over the ARM used in the nRF52832? The nRF52832 SoC is built around a 32-bit ARM® Cortex™-M4F CPU with 512kB + 64kB RAM. Not sure about other features, but I believe the nRF52832 wins on flash and RAM size.
@neverdie Not sure -- I do know that the STM32 lineup goes as high as a whole megabyte of flash and 96k of ram -- just a little north of the numbers you've quoted for the nRF52832. I have to say that I haven't looked into that specific chip in much depth, though, given that my recent projects have needed low power consumption and lots of pins more than they do onboard BLE. I have used the ESP32 on a few projects in that category though!
-
@tochinet esp8266 and esp32 are hardly smaller than mega. Teensy is a good option. There is even an adapter to hook it up to Rfm69
-
@alexsh1 You didn't say which direction is too big. But another smaller alternative is also panstamp NRG. a bit pricey but it comes with its own RF component. I was actually thinking of asking about its support in another thread...
@tochinet I am just looking for something really small like some atmega328p boards, but more memory.
Like this - http://mklec.com/project-kits/kd-circuits/328-board-ATMEGA328P-microcontroller-board
or
https://www.openhardware.io/view/76/Stamp-size-MySensor-node
with (1) signing (2) encryption plus a few libs one can quickly run out of memory.

