#161 Measuring weight using an ESP32, a strain gauge, and a HX711
Andreas Spiess
Let’s build a connected scale, which alarms us when the food bin is empty. Of course, we will be able to use the same principle to measure the weight of any other good like the honey in remote beehives, or even your own weight to visualize it somewhere in the cloud… So, today we will:
- Measure quite small weights with an Arduino like Microcontroller
- We will need some tricks to do that
- Then, we will build a bowl for our cat which is capable to detect if no food is available anymore
- And we will send a Twitter alarm to our Smartphone
We will also slow down the clock rate of the ESP32 to fit the timing of the HX711chip, and will use an OLED display and an MQTT library.
Links: Sketch: https://github.com/SensorsIot/Weight-Sensors
HX711 library: Based on https://github.com/bogde/HX711. Please use the one in my Github. Otherwise, you will get a compilation error HX711 module: http://bit.ly/2fBZ82W Strain Gauges: http://s.click.aliexpress.com/e/Jqb2biU
Supporting Material and Blog Page: http://www.sensorsiot.org Github: https://www.github.com/sensorsiot If you want to support the channel and buy from Banggood use this link to start your shopping: https://bit.ly/2jAQEf4 (no additional charges for you) Official Wemos Store: http://s.click.aliexpress.com/e/jUzBiIq https://www.facebook.com/SensorsIOT/ https://twitter.com/spiessa https://www.instructables.com/member/Andreas%20Spiess/ Please do not try to Email me or invite me on LinkedIn. These communication channels are reserved for my main job
Who is the first to buy me a coffee? https://www.paypal.me/AndreasSpiess ... https://www.youtube.com/watch?v=iywsJB-T-mU
125437200 Bytes