forked from roaldarbol/beehive-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add MicroPython section to "getting started"
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#### Getting you ESP32 ready | ||
|
||
To start programming ESP32 in MicroPython, you should consider downloading Thonny IDE and the (latest build of ESP32 MicroPython distribution)[https://micropython.org/download/ESP32_GENERIC/] (.bin file). Thonny installation is more or less straightforward. MicroPython distribution for ESP32, however, needs to be installed onto the board through Thonny IDE. | ||
|
||
To flash your firmware: | ||
|
||
1. Connect ESP32 via USB cable. | ||
2. In Thonny you navigate to Tools > Options > Interpreter. | ||
3. For the interpreter, select Micropython for ESP32. | ||
4. For the port, use the option that says “Silicon lab”. | ||
5. Press “install or update the firmware”. | ||
6. Find the file you had downloaded earlier. | ||
|
||
A detailed guide on installation procedure can be found at (Random Nerd Tutorials)[https://randomnerdtutorials.com/getting-started-thonny-micropython-python-ide-esp32-esp8266/]. | ||
|
||
#### Programming basics | ||
|
||
There are tons of great sources and one of the places to start might be (our course)[https://beehive-org.github.io/courses/intro_to_electronics/]. It covers most of the basics and comes with a supplementary data in a form of codes that were used during (the course exercises)[https://github.com/BeeHive-org/BeeHive/tree/master/workshops/2022_autum/code]. | ||
|