Skip to content

ESP32 C3 LED Light Demo

Piyush Shah edited this page Feb 10, 2021 · 3 revisions

ESP32-C3 LED Light Demo

The demo application image flashed on the ESP32-C3-DevKit-C boards is based on the RainMaker LED Light example. You can find a prebuilt image here: esp32c3_rainmaker_led_light_demo.bin. The application was built against esp-idf master branch. If you already have the ESP IDF set up, you can flash this image as below:

export ESPPORT=/dev/tty.SLAB_USBtoUART #Replace with your board's serial port
esptool.py -p $ESPPORT erase_flash
esptool.py -p $ESPPORT write_flash 0x0 esp32c3_rainmaker_led_light_demo.bin

Building the demo example

If you want to build the exact same firmware as the one pre flashed on the ESP32-C3-DevKit-C board, follow these steps:

  • Set up ESP RainMaker as per the guide here.
  • Download this demo specific patch: esp32c3-demo.patch and apply it using
cd esp-rainmaker/examples/led_light
patch -p1 < esp32c3-demo.patch
  • Build and flash the application
idf.py set-target esp32c3
idf.py build flash monitor

Other examples

ESP RainMaker has many other examples that you can build and flash in a similar manner.

Clone this wiki locally