Micro Python
Micro Python
Raspberry Pi
Primera Sesión. (30 min)
Orden del día:
● Contexto IOT.
● ¿Qué es el Firmware?
● Hardware: Esp8266 y derivados.
● ¿Qué es MicroPython?
● ¿Micropython vs Arduino?
● Fundamentos MicroPython:
1. Gpio
2. Wifi
3. Interrupciones
4. Librerías overview
¿Internet of Things?
“IOT solutions can record observations in the form of data
from one or more sensors and make them available for
viewing by anyone anywhere via internet. ”
-Microsoft Blog
¿Qué es el Firmware?
“El firmware es un programa que contiene una serie de
instrucciones que permite al hardware (dispositivo físico)
interactuar con el software (programa).
-SoftDoit
Hardware: Pyboard, Microbit, Lopy y muchas Más
Accelerometer, RTC, 4 LEDs, 2 16kb RAM, 256kb flash, Cortex LoRa + Python
switches, 30 GPIO M0 @ 16 MHz
Hardware: Esp8266 (NodeMcu)
Hardware:
Esp8266 (NodeMcu)
Mapa de Pines:
¿Qué es MicroPython?
● Nace en Kickstarter
● Damien George
● Simple Python
¿Qué es MicroPython?
https://github.com/micropython/micropython-lib
“Currently you can access GPIO pins, connect to a WiFi
network, and talk to the internet using a low-level socket-like
interface with MicroPython on the ESP8266. Access to I2C,
SPI, or other parts of hardware are not yet supported”
-Adafruit
Fundamentos de uPython: Librerías (Módulos)
Fundamentos de uPython: Requerimientos Físicos
● Pc (obviamente)
● Board de Desarrollo (esp32, esp826, etc)
● Cable Usb tipo C (Celulares)
● Cableado utp, leds, sensores, relays, etc
● Herramientas como alicates, pinzas, etc.
● Conocimiento en Electrónica (poco)
Fundamentos de uPython: Requerimientos SW