2 unstable releases
Uses new Rust 2024
| 0.2.0 | Oct 16, 2025 |
|---|---|
| 0.1.0 | Oct 15, 2025 |
#887 in GUI
495KB
817 lines
envsensor-demo
A cross-platform environment sensor demo application built with Rust and egui.
It demonstrates real-time serial communication, data visualization, and basic UI layout using the egui framework.
✨ Features
- 📡 Read sensor data from a serial port
- 📊 Display live environmental metrics (CO, NO, etc.)
- 💾 Save the data in CSV file
- 🎨 Simple and responsive UI built with
egui - ⚙️ Runs on both Linux and Windows
🚀 Getting Started
Prerequisites
- Rust 1.80+
- A working serial device that outputs sensor data
Build & Run
# Clone the repository
git clone https://github.com/ChenhuiZhang/envsensor-demo.git
cd envsensor-demo
# Build and run
cargo run --release --bin egui_demo
## 🧭 TODO
- [ ] Implement real-time chart updates
- [ ] Package builds for Windows & Linux
- [ ] Add unit tests for data parsing
- [ ] Implement slim UI
---
## 📄 License
This project is licensed under the [MIT License](LICENSE).
Dependencies
~34–62MB
~1M SLoC