8000 GitHub - ajwinkworth/AcidScale: A scale for diluting acid for the pool. · GitHub
[go: up one dir, main page]

Skip to content
ajwinkworthPublic

About

A scale for diluting acid for the pool.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

AcidScale

A Python project for creating a digital scale using HX711 load cell amplifier and Raspberry Pi.

Hardware Requirements

  • Raspberry Pi (any model)
  • HX711 Load Cell Amplifier
  • Load Cell (strain gauge)
  • Jumper wires
  • Power supply

Wiring

Connect the HX711 to the Raspberry Pi as follows:

  • VCC -> 3.3V
  • GND -> GND
  • DT (Data) -> GPIO 21 (or your chosen GPIO)
  • SCK (Clock) -> GPIO 20 (or your chosen GPIO)

Connect the load cell to the HX711:

  • E+ -> Load cell E+
  • E- -> Load cell E-
  • A+ -> Load cell A+
  • A- -> Load cell A-

Setup

  1. Create a virtual environment:
python -m venv venv
  1. Activate the virtual environment:
  • Windows:
venv\Scripts\activate
  • Unix/MacOS:
source venv/bin/activate
  1. Install dependencies:
pip install -r requirements.txt

Usage

  1. Calibrate the scale:
python calibrate.py
  1. Run the scale:
python scale.py

Development

The project consists of the following components:

  • hx711 5209 .py: Core HX711 driver implementation
  • calibrate.py: Calibration utility
  • scale.py: Main scale application
  • config.py: Configuration settings

License

MIT License

About

A scale for diluting acid for the pool.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0