Skip to main content

Building a watt-meter esp-rs and a rocket backend

UB2.252A (Lameere) | Day 1 | 11:15 - 11:35 | Speakers: Santiago Saavedra

Building a watt-meter esp-rs and a rocket backend
A picture of a devroom at FOSDEM 2024
Open in browser

Notes

Abstract

I wanted to have a watt-meter that I could plug into my electrical supply to ensure I didn't trip the max rating at my granparents' when charging an EV. I could have bought a "smart-balancing charger" to handle this for me, but I wanted to keep costs low and learn embedded Rust.

On this talk I'll go over how to manage side-projects, keep objectives reasonable and the technical details and how easy it is to build an API backend using Rocket, handling serialization and parallelism, as well as using Rust on the embedded device, including flashing, demonstrated how this is all integrated into cargo as a build tool.

Wattmeter code: https://github.com/ssaavedra/esp32-amp-sensor Backend: https://github.com/ssaavedra/amp-sensor-backend

Speakers

Santiago Saavedra

Notice: The placeholder video image is licensed under CC BY-SA 4.0. The original image can be found hereChanges made to the image are: Cropped the image to a new ratio, part of the image was cut off.