My new PYB Nano board is coming

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: My new PYB Nano board is coming

Post by Roberthh » Thu Aug 01, 2019 9:39 am

@nebenzahl
Is PYB NANO better than an ESP32?
It is different. Generally, the PYB NANo is based on the STM32F401CE, which has less RAM and flash memory than the ESP32. So code size is limited. And there is no WiFi or Bluetooth.
BUT, being based on the STM32, timing is much more dependable. If you have a need for precise timing and fast interrupt response, the ESP32 fails totally and Pyboard (lite) V1.x and PYB Nano are the ones to go for. I'm not sure about the PYBD, since these are also based on serial flash.
Edit: I just loaded the latest image to an Espruino Pico, which also has an STM32F401, but with 396 k Flash only. Micropython works well, leaving ~50k for heap, which is more than ESP8266, WiPy1 or WiPy2. And the current consumption is 9 mA @ 84MHz.

User avatar
nebenzahl
Posts: 26
Joined: Mon Jul 01, 2019 5:38 pm
Location: Uruguaiana, Brazil
Contact:

Re: My new PYB Nano board is coming

Post by nebenzahl » Thu Aug 01, 2019 2:59 pm

Roberthh wrote:
Thu Aug 01, 2019 9:39 am
@nebenzahl
Is PYB NANO better than an ESP32?
It is different. Generally, the PYB NANo is based on the STM32F401CE, which has less RAM and flash memory than the ESP32. So code size is limited. And there is no WiFi or Bluetooth.
BUT, being based on the STM32, timing is much more dependable. If you have a need for precise timing and fast interrupt response, the ESP32 fails totally and Pyboard (lite) V1.x and PYB Nano are the ones to go for. I'm not sure about the PYBD, since these are also based on serial flash.
Edit: I just loaded the latest image to an Espruino Pico, which also has an STM32F401, but with 396 k Flash only. Micropython works well, leaving ~50k for heap, which is more than ESP8266, WiPy1 or WiPy2. And the current consumption is 9 mA @ 84MHz.
Thanks for the explanations my master.
Eng. Luiz Nebenzahl

shaoziyang
Posts: 363
Joined: Sun Apr 17, 2016 1:55 pm

Re: My new PYB Nano board is coming

Post by shaoziyang » Thu Aug 01, 2019 3:25 pm

ESP32 is powerful, but STM32 is more easy to customized, with more pins and features.

I am plan to make a new pyboard with STM32L4xx, power consumption in deepsleep mode is less than 1uA.

jamesbao
Posts: 1
Joined: Mon Sep 23, 2019 6:37 am

Re: My new PYB Nano board is coming

Post by jamesbao » Mon Sep 23, 2019 6:40 am

shaoziyang wrote:
Sat Dec 29, 2018 2:58 pm
I have also made a STM32F405 board, it is bigger then pyb nano.

pybcn_v2.jpg
https://item.taobao.com/item.htm?id=570903196977

And I plan to design a new board, with very small size and lower cost, no onboard SD socket, no accelerometer.
the item from taobao can be bought on a english website as follow:
http://www.panlishop.com/product/detail ... 96977.html

Hope it is helpful.

Post Reply