Smallest MCU for micropython

Showroom for MicroPython related hardware projects.
Target audience: Users wanting to show off their project!
Post Reply
sim222
Posts: 2
Joined: Wed Nov 27, 2019 12:04 am

Smallest MCU for micropython

Post by sim222 » Sun Mar 15, 2020 4:50 pm

Hi guys,

I am looking for the smallest mcu for runing micropython.
I only need one or two uart and one I2C.
plz guide me.

Thanks in advance~

User avatar
deshipu
Posts: 1359
Joined: Thu May 28, 2015 5:54 pm

Re: Smallest MCU for micropython

Post by deshipu » Sun Mar 15, 2020 7:33 pm

Do you need it to be small in physical dimensions, or by any other criteria, like simplicity of the minimal working circuit, or unit price?

The NRF51822 that is used to run MicroPython on Micro:bit is both small physically (a 32-pin QFN package, IIRC), small in terms of available flash and RAM, and relatively cheap, for example.

sim222
Posts: 2
Joined: Wed Nov 27, 2019 12:04 am

Re: Smallest MCU for micropython

Post by sim222 » Tue Mar 24, 2020 9:07 am

I need the smallest platform and robust stability and price isn't my concern.

How can I install Micropython to the MCU if I select that MCU you mentioned?

User avatar
deshipu
Posts: 1359
Joined: Thu May 28, 2015 5:54 pm

Re: Smallest MCU for micropython

Post by deshipu » Thu Mar 26, 2020 11:08 pm

Same as you would flash any other firmware on that particular MCU—usually using a programmer device supporting the particular protocol that MCU uses. In case of NRF51 I think it's the SWIM protocol, so any programmer that handles that should work.

If you don't care about price and stability, only physical size, then I would look at the STM32 and SAMD chips in QFN packages. For example ATSAMD21E18A-MU is pretty small and only requires two capacitors as extra components.

chrismas9
Posts: 139
Joined: Wed Jun 25, 2014 10:07 am

Re: Smallest MCU for micropython

Post by chrismas9 » Sat Mar 28, 2020 1:44 am

The STM32L432 in QFN32 is supported via the NUCLEO_L432KC port. It should be well supported because it is derived from the Pyboard port.

chrismas9
Posts: 139
Joined: Wed Jun 25, 2014 10:07 am

Re: Smallest MCU for micropython

Post by chrismas9 » Sat Mar 28, 2020 1:51 am

Also the STM32L072. Use the L073 port. This chip is memory limited (192k flash) and sometimes gets broken when new features are added. If cost is more important than size I have MicroPython running on STM32F030. It's just over $US1 in volume.

Post Reply