Tutorial Basics

From Sketching with Hardware at LMU Wiki
Revision as of 21:58, 12 August 2020 by Skwhadmin (talk | contribs)
Jump to navigation Jump to search

Getting Started with MicroPyton and ESP32/ESP8266

In this part of the tutorial, we explain how to get started with MicroPyton and ESP32/ESP8266. This includes how to write the firmware image on the microcontroller and how to use the python shell to interactively program the ESP32/ESP8266.

Success criteria

  • you have installed the uPyCraft IDE on your computer
  • you have a serial line terminal working on your computer (e.g. Putty)
  • you have written the firmware onto the ESP32 and the ESP8266 module
  • you could connect via serial line to the ESP32 and the ESP8266 module and let the onboard LEDs blink from the python prompt

Instructional Videos

Setting Up Software on Your Computer

For developing we use in our class the following software:

There is a short video on Youtube (4:20) that shows the software: https://youtu.be/DnBBB8AcvBg

Writing the MicroPython Firmware Image to the ESP32/ESP8266

In the video on Youtube (17:01) we show, how to write the firmware with the uPyCraft IDE: https://youtu.be/_TrKPDOReJc

What could possibly go wrong when setting it up?

In the video on Youtube (10:32) we discuss different things that can go wrong when setting up MicroPython for ESP32/ESP8266. https://youtu.be/jhfURkMZVE