Coder Social home page Coder Social logo

Comments (1)

adityad0 avatar adityad0 commented on August 27, 2024

Enter the bootloader mode by holding the BOOT or 'B' and clicking the RESET or 'R' button once.

Then follow the following steps:

  1. Find your device port using device manage on Windows.
  2. Install esptool with pip install esptool.
  3. Use the command esptool --port COM9 erase_flash to erase the flash on the ESP32 chip.
  4. Use the command python3 -m esptool --port COM9 write_flash -z 0x0 firmware.bin to flash the chip with the CircuitPython firmware.
  5. 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.
  6. 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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.