STM32G431KB · RTIC 2.1 · Embassy HAL
H₂S Gas Sensor
Technical Documentation
Embedded Rust firmware for an electrochemical hydrogen sulfide sensor. Two-point calibration, real-time UART interface, and live sensor dashboard.
⚡
Hardware Reference
STM32G431KB pinout, peripheral configuration, signal chain from sensor to ADC.
🎯
Calibration System
Two-point linear calibration with DAC-based offset and gain control.
🦀
Firmware Architecture
RTIC 2.1 task model, shared state, Embassy HAL drivers.
📡
UART Interface
ASCII command protocol at 115200 baud — commands, responses, and error codes.
📊
Signal Analysis
Noise floor, stability metrics, T90 response time, and testing methodology.
📺
Live Dashboard
Real-time ADC readings, calibration status, and historical data charts.