Difference between revisions of "Tutorial Basics"

From Sketching with Hardware at LMU Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
= Getting Started with MicroPyton and ESP32/ESP8266 =
 
= 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 software image on the microcontroller and how to use the python shell to interactively program the 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.
  
 
== Setting Up Software on Your Computer ==
 
== Setting Up Software on Your Computer ==
Line 6: Line 6:
 
* [[uPyCraft IDE]] which requires [[Python]] to be installed
 
* [[uPyCraft IDE]] which requires [[Python]] to be installed
 
* [https://www.putty.org/ Putty] terminal program on Windows or any other terminal program
 
* [https://www.putty.org/ Putty] terminal program on Windows or any other terminal program
 +
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 ==
 +
* We use the [[uPyCraft IDE]] to write the images to the microcontroller, alternatively [[esptool.py]] can be used
 +
* the firmware for the ESP32 is available at: http://micropython.org/download/esp32/
 +
* the firmware for the ESP8266 is available at: http://micropython.org/download/esp8266/
 +
In the video on Youtube (17:01) we show, how to write the firmware with the [[uPyCraft IDE]]: https://youtu.be/_TrKPDOReJc

Revision as of 10:26, 12 August 2020

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.

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