Measuring weight using an ESP32, a strain gauge, and a HX711 (Re-published No. 161)



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 HX711 chip (no more needed now), and will use an OLED display and an MQTT library
I am a proud Patreon of @GreatScott!, @ElectroBOOM , @Electronoobs , @EEVblog , and others. No Docker, No Microsoft Teams, Zoom

Links
HX711 module and weight sensors: https://s.click.aliexpress.com/e/_AVtfb7 or https://amzn.to/3xfV6mN
Sketch: https://github.com/SensorsIot/Weight-Sensors
HX711 library: https://github.com/bogde/HX711

The links above usually are affiliate links that support the channel (no additional cost for you).
Supporting Material and Blog Page: http://www.sensorsiot.org
Github: https://www.github.com/sensorsiot
My Patreon Page: https://www.patreon.com/AndreasSpiess
Discord: https://discord.gg/JfgDSa8
If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission of your purchases to buy new stuff for the channel
My Amazon.com shop: https://www.amazon.com/shop/andreasspiess
For Banggood https://bit.ly/2jAQEf4
For AliExpress: http://bit.ly/2B0yTLL
For Amazon.de: http://amzn.to/2r0ZCYI
For Amazon UK: http://amzn.to/2mxBaJf
For ebay.com: http://ebay.to/2DuYXBp

https://www.facebook.com/profile.php?id=100013947273409
https://twitter.com/spiessa
https://www.instructables.com/member/Andreas%20Spiess/
Please do not try to email me. This communication channel is reserved for my primary job
As an Amazon Associate, I earn from qualifying purchases
#no#midroll#ads

source

100 thoughts on “Measuring weight using an ESP32, a strain gauge, and a HX711 (Re-published No. 161)

Leave a Reply

Your email address will not be published.