#161 Measuring weight using an ESP32, a strain gauge, and a HX711
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
Видео #161 Measuring weight using an ESP32, a strain gauge, and a HX711 канала Andreas Spiess
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
Видео #161 Measuring weight using an ESP32, a strain gauge, and a HX711 канала Andreas Spiess
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![#194 IKEA Saltviken Scale Hack: Create a 150kg Scale Connected to Google Firebase (ESP32, ESP8266)](https://i.ytimg.com/vi/14YmiEycup4/default.jpg)
![HX711 with a Four Wire Load Cell and Arduino | Step by Step Guide.](https://i.ytimg.com/vi/sxzoAGf1kOo/default.jpg)
![#285 ESP32 Cameras: Comparison and Test (OV2640) and I2S MEMS microphone test](https://i.ytimg.com/vi/5IhhyJjjCxo/default.jpg)
![#126 Cheap MQTT Broker on Raspberry Zero W / DietPi / MQTT Message Logger SQlite / PHPliteAdmin](https://i.ytimg.com/vi/bpg6RSHS4Zc/default.jpg)
![#153 A Cheap Intelligent, and Connected Power Supply: The DPS5005 Communication Function](https://i.ytimg.com/vi/QxR-_ZnREQQ/default.jpg)
![#9 Arduino Data Logger with Direct Input to Excel](https://i.ytimg.com/vi/AgJegJ30Pj4/default.jpg)
![Electronic Basics #33: Strain Gauge/Load Cell and how to use them to measure weight](https://i.ytimg.com/vi/lWFiKMSB_4M/default.jpg)
![ESP32 WiFi Range Testing - 10km using Directional Antenna](https://i.ytimg.com/vi/yCLb2eItDyE/default.jpg)
![How STRAIN GAUGE Works | Precision SCALE With Arduino](https://i.ytimg.com/vi/LRd3W_p8PJ4/default.jpg)
![Measure Propane, CO2, Salt, and so much more with this DIY MQTT Weight Sensor using Tasmota](https://i.ytimg.com/vi/ofHqZJTxBnE/default.jpg)
![#188 Antenna Tutorial incl. cheap DIY Antenna Tester (LoRa, ESP32)](https://i.ytimg.com/vi/J3PBL9oLPX8/default.jpg)
![#321 7 Sensors tested: Measuring Current with Microcontrollers (Arduino, ESP32, ESP8266)](https://i.ytimg.com/vi/cG8moaufmQs/default.jpg)
![Strain gage (gauge) installation on Concrete](https://i.ytimg.com/vi/N-FdzDciAZI/default.jpg)
![DIY scale using HX711 and arduino with 0.01/0.001 g resolution for less than 20 USD](https://i.ytimg.com/vi/GjNk2_j021g/default.jpg)
![Will China's 18650 Battery Beat LG, Samsung, Sony & Panasonic? Let's find out!](https://i.ytimg.com/vi/qMZuHMlRw_0/default.jpg)
![](https://i.ytimg.com/vi/T7-IBdUWgPY/default.jpg)
![#163 Wi-Fi Sniffer as Sensor for Humans](https://i.ytimg.com/vi/fmhjtzmLrg8/default.jpg)
![#32 Load Cell Coffee Cup Coaster (Part 2) - the code](https://i.ytimg.com/vi/ldwCY-koNyA/default.jpg)
![#179 Was it worth waiting for Bluetooth? How Much Current Needs the ESP32 Bluetooth in BLE?](https://i.ytimg.com/vi/nyWMaAF4dRQ/default.jpg)
![#360 Tracking and Chasing Weather Balloons with TTGO LoRa board and Raspberry Pi. Fun and adventure](https://i.ytimg.com/vi/vQfztG60umI/default.jpg)