Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 593 Bytes

File metadata and controls

32 lines (23 loc) · 593 Bytes

About

This project consists in a Rust (no_std) driver for DHT11 temperature and humidity sensor, using Embassy framework. The example runs on an ESP32-C3 microcontroller.

Wiring

image info

How to launch

Make sure Rust is installed.

Set the target:

rustup target add riscv32imc-unknown-none-elf

Install libudev-dev

sudo apt install libudev-dev

Install espflash to be able to flash the binary to ESP32 device:

cargo install espflash

Then you can run the project:

cargo run --release