Description
MicroPython is a re-implementation of Python 3 programming language targeted for microcontrollers and embedded systems. The content provided throughout this eBook is compatible with both the ESP32 and ESP8266 boards.
This eBook has approximately 360 pages. You can check the current Table of Contents below.
- Introducing MicroPython
- Introducing the ESP8266 Board
- Introducing the ESP32 Board
- Installing Thonny IDE
- Installing MicroPython Firmware
- Running Your First Program
- Basic MicroPython Syntax
- Functions in MicroPython
- Classes, Objects, and Modules
- String Formatting
- Blinking an LED
- Digital Inputs and Digital Outputs
- Analog Inputs
- PWM - Pulse Width Modulation
- ESP32 Touch Pins
- Interrupts
- Timers
- Timer Interrupts
- Deep Sleep and Wake Up Sources
- Web Server Introduction
- "Hello, World!" Web Server
- Web Server – Control Outputs
- Web Server with Slider Switch
- Web Server - Display Temperature and Humidity Readings
- Send Sensor Readings via Email
- Getting Data using an API (OpenWeatherMap)
- Introducing MQTT
- Installing Mosquitto MQTT Broker on a Raspberry Pi
- MQTT – Establishing a Two-way Communication
- Installing Node-RED and Node-RED Dashboard on a Raspberry Pi
- MQTT - Connect ESP32/ESP8266 to Node-RED
- Display data on OLED Display
- Control a DC Motor
- Control an Addressable RGB LED Strip
- Introducing Bluetooth with the ESP32
- The ESP32 as a BLE Central Device