Skip to content

A simple STD binary for the development board ESP32-C3-DevKit-RUST

License

Notifications You must be signed in to change notification settings

andber1/esp-rs-demo

Repository files navigation

Demo Application for ESP32-C3-DevKit-RUST

A simple STD binary for the development board ESP32-C3-DevKit-RUST.

Features

  • Control of RGB LED
  • Temperature and humidity measurement (via SHCT3 sensor)
  • Webserver that shows svg plots of temperature and humidity

Example plot (thanks to poloto crate)

Getting Started

export ESP32_DEMO_WIFI_SSID=<ssid>
export ESP32_DEMO_WIFI_PASS=<password>
cargo espflash flash --release --baud 921600 --monitor 

After flashing the ESP32 will provide a webserver that generates plots of the measured temperature and humidity. Open <ip>/temperature or <ip>/humidity in your webbrowser.

Prerequisites

sudo apt install -y pkg-config libudev-dev clang python3-virtualenv
rustup install nightly
rustup component add rust-src --toolchain nightly
cargo install ldproxy
cargo install cargo-espflash

see also: https://github.com/esp-rs/esp-idf-template#prerequisites

Further Reading

About

A simple STD binary for the development board ESP32-C3-DevKit-RUST

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages