Editing Tutorial Basics

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
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 firmware 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.
 
== 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 ==
 
== Setting Up Software on Your Computer ==
Line 17: Line 9:
  
 
<youtube>DnBBB8AcvBg</youtube>
 
<youtube>DnBBB8AcvBg</youtube>
 
Alternatively you can use:
 
* Jetbrains [https://www.jetbrains.com/pycharm/download Pycharm] IDE or [https://www.jetbrains.com/idea/download IntelliJ] IDE with the [https://plugins.jetbrains.com/plugin/631-python Python plugin]
 
* [https://plugins.jetbrains.com/plugin/9777-micropython Micropython plugin] to flash a file or a directory to the device and run the python terminal (REPL) on the device
 
  
 
== Writing the MicroPython Firmware Image to the ESP32/ESP8266 ==
 
== Writing the MicroPython Firmware Image to the ESP32/ESP8266 ==
Line 27: Line 15:
 
* the firmware for the ESP8266 is available at: http://micropython.org/download/esp8266/
 
* 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 [https://github.com/DFRobot/uPyCraft uPyCraft IDE]: https://youtu.be/_TrKPDOReJc
 
In the video on Youtube (17:01) we show, how to write the firmware with the [https://github.com/DFRobot/uPyCraft uPyCraft IDE]: https://youtu.be/_TrKPDOReJc
 +
  
 
<youtube>_TrKPDOReJc</youtube>
 
<youtube>_TrKPDOReJc</youtube>
 
 
Here is a version that shows how to burn the firmware onto the ESP8266 D1 Mini board
 
 
<youtube>BkAhWlHeXqA</youtube>
 
 
 
And how to control the on-board LED on the ESP8266 D1 Mini board
 
 
<youtube>LYsFbSTZMBY</youtube>
 
 
== 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
 
 
<youtube>jhfURkMZVEs</youtube>
 
 
== Unboxing the [[LMUBox]] ==
 
In this video (10:19), we have a look at the components that we are going to work in this course. We look a the selection of microcontrollers, input, and output components included the [[LMUBox]]: https://youtu.be/e3No4wGGQas
 
 
We also have a [[Hardware List]] where the components are described and where there are links to the individual pages.
 
 
<youtube>e3No4wGGQas</youtube>
 

Please note that all contributions to Sketching with Hardware at LMU Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see My wiki:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)