Kick-Start to MicroPython using ESP32 / ESP8266 Front Cover

Kick-Start to MicroPython using ESP32 / ESP8266

  • Length: 52 pages
  • Edition: 1
  • Publication Date: 2020-07-01
  • ISBN-10: B08C8MJFB2
  • Sales Rank: #416721 (See Top 100 Books)
Description

MicroPython is the recreated version of Python 3 that runs in the memory restricted microcontrollers with a minimum of 256KB of ROM and 16KB of RAM. MicroPython supports chips like ESP32, ESP8266, STM32, nRF52, W600, etc. MicroPython follows Python 3 syntax which makes it easy to programme for microcontrollers. The hardware APIs are capable of handling GPIO pins in microcontrollers. In this course we discuss the ESP32 dev module as the main controller which has a high level of flexibility in connecting with sensors, on-chip capabilities with onboard WiFi.
The ebook includes links to YouTube videos ( only important videos) and code bundle(link to google drive).

Table of contents
Module1- Introduction to course
Why MicroPython?
Module2- Setting up software for the course
2.1 Installing Python 3
2.2 Installing Thonny IDE
2.3 Thonny IDE Interface
Module3- Flashing MicroPython firmware to ESP32
3.1 Downloading MicroPython firmware
3.2 Flashing Micropython to ESP32 using Thonny IDE
3.3 Commenting a line
Module4- Python 3 syntax, recap using Micropython
4.1 Print function
4.2 Type function
4.3 Input function
4.4 Help function
4.5 Conditional statements ( if, else, elif)
4.6 While loop
4.7 For loop
4.8 Creating your own function
Module5 – Controlling GPIO pins
5.1 Pinout diagram of ESP32
5.2 Blink an LED
5.3 Analog to digital conversion
5.4 Capacitive TouchPad
5.5 DHT11 for measuring temperature and humidity
5.6 ESP32 read internal temperature
5.7 ESP32 read internal hall effect sensor
5.8 MultiTreading
Module6- Connect to internet over WiFi
6.1 Auto connect to WiFi
6.2 Get weather data from OpenWeatherMap using API

Annexure-1
Resources

To access the link, solve the captcha.