envsensor-demo

Crates.ioenvsensor-demo
lib.rsenvsensor-demo
version0.2.0
created_at2025-10-15 04:47:40.725415+00
updated_at2025-10-16 03:00:28.190811+00
descriptionAn application for fetching and visualizing data from environment sensors.
homepage
repository
max_upload_size
id1883757
size706,128
Hermes Zhang (ChenhuiZhang)

documentation

README

envsensor-demo

Build Latest Release License: MIT Last Commit Built with egui Rust Version Platform


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).
Commit count: 0

cargo fmt