User Tools

Site Tools


proyectodatos:micropython

This is an old revision of the document!


IDE editor: https://thonny.org/

https://github.com/thonny/thonny/releases

Firmware for Generic ESP32 module http://micropython.org/download/esp32/

Se usa la versión 1.14 por estabilidad: https://micropython.org/resources/firmware/esp32-idf4-20210202-v1.14.bin

Packages: https://pypi.org/

Libraries:http://docs.micropython.org/en/latest/library/uos.html Uos(operating systems module)

Archivo descargable: final_course_scripts_udemy.zip

Differencias entre Python (cPython) y Micropython (uPython)

Criterio cPython uPython
espacios entre números literales y palabras clave No
Mensajes de error - cantidad de argumentos No Se cuenta a sí mismo como argumento
Formato exponencial
Start/end no entendí
Json no identifica las excepciones

Recursos de MicroPython

uPython compatible boards

  • Pyboard (Pyboard 1, Pyboard D-series,the original MicroPython microcontrollers)
  • Espressif ESP-based beards (ESP 8266, ESP32 -almost fully supported by Micropython and its community-exc bluetooth)
  • RP2040 beards(Raspberry Pi Pico - Easiest for Python learning), Feather 2040, ItsyBitsy 2040, Tiny 2040,…)
  • BBC Micro:Bit - designed for education - https://microbit-micropython.readthedocs.io/en/v1.0.1/ -
  • STM32 (STM32 Nucleo&Discovery, Espruino Pico - Makers, more- https://micropython.org/stm32/)

Proceso 1. Instalar el firmware de ESP32 de Micropython 2. Configurar el “interpreter” en ESP32 (tools/options/interpreter)

proyectodatos/micropython.1620432827.txt.gz · Last modified: 2021/05/08 00:13 by elmago116