Skip to content

doofin/esp32cam_rs

 
 

Repository files navigation

esp32cam-rs

actions

Rust esp32-cam examples

Requirements

Follow the instructions on the esp-idf page to install the toolchain and the esp-idf, since esp32 chip is based on xtensa or risc-v architecture which is not supported by the default rust toolchain.

Usage

After cloning the repo, download the esp32-camera component

git submodule update --init

then copy cfg.toml.example into cfg.toml and fill in the correct values

Telegram bot

cargo run --example telegram_bot

Insert the correct token and owner id, then use the /photo command to take a picture

image

Webserver

cargo run --example webserver

Connect to the ip in the log output, then access the /camera.jpg path to take a picture and have it delivered to your browser

IDotMatrix

cargo run --example idotmatrix

If you have an idotmatrix display, the esp32-cam will deliver an image to it every few seconds

image

credits:

https://github.com/esp-rs/std-training

https://github.com/jlocash/esp-camera-rs

https://github.com/ChenHuaYou/esp-cam-rs

debug

invalid toolchain name: 'esp' means that the toolchain xtensa is not installed esp-rs/rust-build#218

About

Rust examples for esp32-cam

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.9%
  • C 0.1%