Digi-Key Follow me Phase 2 Task Submission - Development Environment Installation
[Copy link]
This post was last edited by pildio on 2023-10-24 15:55
Digi-Key Follow me Phase 2 Task Submission - Development Environment Installation
I was very excited when I received the board. After learning how to use CircuitPython to perform basic control of the development board, I started learning it immediately. I am honored to participate in this event and experience the joy of using Python for embedded development. Below I will give a project summary.
Device used this time: Adafruit ESP32-S3 TFT Feather
The development boards received are divided into the following modes
Factory Mode
UF2 Mode
CircuitPython Run Mode
Burn-in mode
1: As shown in the picture, the development board we received is in factory mode. First, press RES when the board is powered on. During the startup process, press RES again to enter the UF2 firmware mode.
At this time, a disk named FTHRS3BOOT should be displayed on the computer. Download the firmware from Feather ESP32-S3 TFT Download (circuitpython.org) (the file should be downloaded in UF2 format) and copy and paste it directly into the FTHRS3BOOT disk. At this time, the development board enters the burn-in mode as shown in the figure (the firmware download address is provided at the end of the article)
Wait for the development board to restart again and the CircuitPython interface will be displayed.
The development tool I chose is vscode+Circuitpython plug-in to program the development board
Click Extensions on the vscode interface to install the following plugins
Then connect the development board to the computer and use vscode to open the development board USB disk folder.
Enter the following code in the code.py file (official test code)
import board
import digitalio
import time
led = digitalio.DigitalInOut(board.LED)
led.direction = digitalio.Direction.OUTPUT
while True:
led.value = True
time.sleep(0.5)
led.value = False
time.sleep(0.5)
You can observe the following situation: the red LED on the board starts flashing after the development board restarts.
|