Page 5 of 5

Re: My new PYB Nano board is coming

Posted: Thu Aug 01, 2019 9:39 am
by Roberthh
@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.

Re: My new PYB Nano board is coming

Posted: Thu Aug 01, 2019 2:59 pm
by nebenzahl
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.

Re: My new PYB Nano board is coming

Posted: Thu Aug 01, 2019 3:25 pm
by shaoziyang
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.