492 views|0 replies

21

Posts

0

Resources
The OP
 

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.


The firmware download address is as follows: adafruit-circuitpython-adafruit_feather_esp32s3_tft-zh_Latn_pinyin-8.2.3.uf2 (2.69 MB, downloads: 4)
This post is from DigiKey Technology Zone
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list