Giter Club home page Giter Club logo

ac-sensor's Introduction

AC Sensor

An ESP32-based device that measures the amount of water in the reservoir and triggers SMS warnings when above a certain threshold.

Project gif

Circuit

Components

  • ESP32 board
  • 16x2 i2c LCD
  • HX711 weighing module
  • Small wire (touch sensor)
  • Breadboard power supply module

Connection

Project diagram

Calibration

Before getting the weight of objects, you first need to calibrate your load cell by obtaining the calibration factor. Run the file calibrate_scale.ino to calibrate the scale.

  1. Prepare an object with a known weight (i.e. a glass of water with 300g).
  2. Upload the calibration code to your ESP32.

Description

  • The HX711 weigh module (previously calibrated) weighs the AC water tank;
  • The weight is mapped: 200g -> 0% and 2000g -> 100%;
  • A task running in parallel sends the mapped weight to ThingSpeak every 16 seconds;
  • If the mapped weight exceeds 70 (%), an SMS is sent warning of the water tank level;
  • An LCD shows the measured weight; its backlight stays on for 5 seconds when a touch sensor is activated.

ac-sensor's People

Contributors

maglourenco avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.