Search found 12 matches

by 35p32fan
Sat Jan 06, 2024 4:21 pm
Forum: Rust
Topic: esp32c6 - SHA-256 comparison failed
Replies: 0
Views: 45927

esp32c6 - SHA-256 comparison failed

rustup target add riscv32imac-unknown-none-elf

cargo generate esp-rs/esp-idf-template cargo
cd esp32c6
. ~/export-esp.sh
cargo check
cargo run --release


fn main() {
// It is necessary to call this function once. Otherwise some patches to the runtime
// implemented by esp-idf-sys might not ...
by 35p32fan
Sat Jan 06, 2024 4:18 pm
Forum: Rust
Topic: ESP32 + SSD1306 + DHT22 - how output temp & humidity on Display ???
Replies: 3
Views: 81192

Re: ESP32 + SSD1306 + DHT22 - how output temp & humidity on Display ???

cargo generate --git https://github.com/esp-rs/esp-idf-template cargo
cd esp32-ssd1306-dht22
cargo add esp-idf-svc
cargo add ssd1306
cargo add esp-idf-hal
cargo add embedded-svc
cargo add embedded-graphics
cargo add anyhow
cargo add esp-idf-sys
cargo add epd-waveshare
cargo add dht_sensor ...
by 35p32fan
Thu Dec 21, 2023 7:40 am
Forum: Rust
Topic: ESP32 + SSD1306 + DHT22 - how output temp & humidity on Display ???
Replies: 3
Views: 81192

Re: ESP32 + SSD1306 + DHT22 - how output temp & humidity on Display ???

@liaifat85

thank you but I need a Rust solution not Arduino
by 35p32fan
Sun Dec 17, 2023 7:58 am
Forum: Rust
Topic: ESP32 + SSD1306 + DHT22 - how output temp & humidity on Display ???
Replies: 3
Views: 81192

ESP32 + SSD1306 + DHT22 - how output temp & humidity on Display ???

Hi,
found some code and try to combine this Codes to one.

Here you can see an play with the Code: https://wokwi.com/projects/384345803812527105

But had no success to display the: temprature & humidity on the display !

Could someone be so kind an help me with this ?
by 35p32fan
Sat Dec 16, 2023 12:44 pm
Forum: Rust
Topic: ESP32 + SSD1306 - called `Result::unwrap()` on an `Err` value: BusWriteError
Replies: 1
Views: 61767

Re: ESP32 + SSD1306 - called `Result::unwrap()` on an `Err` value: BusWriteError

changed the gpio 21 with 22 and 22 with 21
now it works
by 35p32fan
Sat Dec 16, 2023 12:32 pm
Forum: Rust
Topic: ESP32 + SSD1306 - called `Result::unwrap()` on an `Err` value: BusWriteError
Replies: 1
Views: 61767

ESP32 + SSD1306 - called `Result::unwrap()` on an `Err` value: BusWriteError

Hi,
found the Source Code at: https://github.com/andy31415/rust-esp32-c3-demos

Compile works, but did not run on my ESP-WROOM-32D

Console Output:

ELF file SHA256: 0000000000000000

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP ...
by 35p32fan
Tue Oct 17, 2023 11:24 am
Forum: Rust
Topic: esp32-2432s028r - how to get Display to work ?
Replies: 2
Views: 67365

Re: esp32-2432s028r - how to get Display to work ?

@bidrohini

thanks for your help!

using: Debian 12 on x86_64

here is what I tryed

$ sudo apt install python3-virtualenv
$ rustup toolchain install nightly --component rust-src
$ cargo install cargo-generate
$ cargo install ldproxy
$ cargo install espflash
$ cargo install cargo-espflash


$ cargo ...
by 35p32fan
Tue Oct 17, 2023 6:12 am
Forum: Rust
Topic: esp32-2432s028r - how to get Display to work ?
Replies: 2
Views: 67365

esp32-2432s028r - how to get Display to work ?

Hi,
like to have output on the display of a esp32-2432s028r 2,8" Touch TFT 240x320

somebody here can tell me how
example code I found did not get compiled

thanks
by 35p32fan
Tue Oct 17, 2023 6:09 am
Forum: Rust
Topic: how to get ping response ?
Replies: 0
Views: 71265

how to get ping response ?

Hi,
I try to get a ping respose from my ESP32 (esp32-2432s028)

Using the Wifi Code from: https://medium.com/@rajeshpachaikani/connect-esp32-to-wifi-with-rust-7d12532f539b

The Device conntet to the WiFi but did not response to ping.

Could somebody be so kind an tell me
add code to get a ping ...
by 35p32fan
Thu Oct 12, 2023 1:08 pm
Forum: General Discussion
Topic: espflash - No target specified in cargo configuration - how to fix it ?
Replies: 0
Views: 2610

espflash - No target specified in cargo configuration - how to fix it ?

Hi,
using Debian 12 (x86_64)

Device: ESP32-2432S028R

but did not get it work.... what did I wrong ?

cargo install espup
git clone https://github.com/esp-rs/esp-idf-hal
cd esp-idf-hal


$ cargo espflash board-info
[2023-10-12T12:56:16Z INFO ] Serial port: '/dev/ttyUSB0'
[2023-10-12T12:56:16Z ...

Go to advanced search