raspi-oled demo in rust
Go to file
2023-09-24 12:36:32 +02:00
images Colored events + ... 2022-05-06 11:00:17 +02:00
src Automatic formatting 2022-09-24 21:01:58 +02:00
.gitignore Colored events + ... 2022-05-06 11:00:17 +02:00
Cargo.lock Update dependencies 2023-09-24 12:36:32 +02:00
Cargo.toml Update dependencies 2023-09-24 12:36:32 +02:00
circuit.cddx Circuit diagram 2022-10-05 13:18:40 +02:00
events_weekly.json Colored events + ... 2022-05-06 11:00:17 +02:00
LICENSE Various changes.. 2022-05-06 11:00:10 +02:00
README.md Add link to post in README 2022-10-05 13:19:52 +02:00
rustfmt.toml Reformat code 2022-05-06 11:00:10 +02:00
shell.nix fix cross compile 2022-07-26 22:04:40 +02:00

Raspberry Pi calendar/temperature monitoring station

For more details see https://fliegendewurst.github.io/raspberry-pi-temperature-monitoring.html

The used OLED display is from Waveshare

Quick start

> nix-shell
> rustup target add arm-unknown-linux-musleabihf
> cargo build --release --target arm-unknown-linux-musleabihf
> scp target/arm-unknown-linux-musleabihf/release/{display_all,display_off,refresh_json,take_measurement,status_check_example} 'pi@raspberrypi:~'
> # on the Pi, create sensors.db and events.json
> ./status_check_example > /run/user/1000/status.json
> patchelf --set-interpreter /lib/ld-linux-armhf.so.3 display_all
> ./display_off on
> ./display_all sensors.db events.json temps

Example

temperature graph

events

(the blue text seen in the second image is bright enough on the real OLED display)