Skip to content

Latest commit

 

History

History
67 lines (46 loc) · 2.64 KB

README.md

File metadata and controls

67 lines (46 loc) · 2.64 KB

Hot Tub Water Quality Sensor

  • Battery powered ORP, pH sensor for Hot Tub/SPA
  • Free Chlorine/Total Bromine estimate from pH and ORP values
  • Home Assistant Integration
  • pH ATC (Automatic Temperature Compensation)
  • 2024 update: Added Solar Panel

Hardware

Optional Solar Panel Components

Wiring

Firmware

FC (Free Chlorine) ppm Model

Predict Free Chlorine/Total Bromine ppm from pH and ORP sensors.

Build the model: fc_model.ipynb.

Prebuilt model:

Basic script to load and run the model. usage:

python3 predict.py  model_fc.h5 ORP_VALUE PH_VALUE

Convert tflite model to tflite-micro

make gen

Execute tflite-micro model on Native Hardware

make tflite
make
./a.out