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
Could have been a decent book, but there are too many errors, and the graphics are poor quality. In particular, the graphic showing the pin out of the board is unreadable making the rest of the book useless unless you look up the board online. That’s a completely unacceptable mistake, hence my 1 star review. The book badly needs proof reading then it might be OK.
Some grammar and word choice problems but the fastest “how to get started” book I have come across. You will need other material to get to the point of writing your on code for your own purposes. That said, you can easily modify most of these small programs to do a other interesting things. It really is a great place to get started!!