Comments (1)
Enter the bootloader mode by holding the BOOT or 'B' and clicking the RESET or 'R' button once.
Then follow the following steps:
- Find your device port using device manage on Windows.
- Install esptool with
pip install esptool
. - Use the command
esptool --port COM9 erase_flash
to erase the flash on the ESP32 chip. - Use the command
python3 -m esptool --port COM9 write_flash -z 0x0 firmware.bin
to flash the chip with the CircuitPython firmware. - Once complete, connect to the board over Serial using an app like Putty with the correct port and baud rate. The default baud rate should be 115200.
- Create a new file called
settings.toml
with the following commands:
f = open("settings.toml", "w+")
f.write('CIRCUITPY_WIFI_SSID = "SSID"\n')
f.write('CIRCUITPY_WIFI_PASSWORD = "password"\n')
f.write('CIRCUITPY_WEB_API_PASSWORD = "api password"\n')
f.close()
CircuitPython is installed on the SEEED XIAO ESP32-C3!
Once connected to WiFi, use the following commands to find the IP address of the board;
import wifi
print(wifi.radio.ipv4_address)
Enter the IP address on a browser to view the connect to the web server. Where you can use the file browser, code editor and serial terminal directly on the web browser. Use the password set in CIRCUITPY_WEB_API_PASSWORD
to login. You can view the device type and other information on the web-page. Note that when prompted for a username and password, you must leave the username field blank.
Docs: https://learn.adafruit.com/circuitpython-with-esp32-quick-start/command-line-esptool
Firmware download link: https://circuitpython.org/board/seeed_xiao_esp32c3/
from hacktag.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hacktag.