Adjustable LED Weight Limit Indicator With HX711 Scale Using Visuino
This smart weighing scale, built with Visuino, allows you to set a custom weight limit using a rotary encoder. As you weigh an item, the scaleâs intuitive LED system indicates whether the weight is within the limit (green LED) or exceeds it (red LED). This project combines the HX711 load cell with the user-friendly Visuino platform for quick and seamless assembly and operation.
Watch the video!
Arduino board (or any other board)BreadboardOne Weight Load CellOne HX711 ADC Sensor Module for Load CellsOLED DisplayBreadboardRotary encoderGreen LEDRed LED2X 1K ohm resistorJumper wiresVisuino program: Download Visuino
Note: You can purchase online Weight Load Cell and HX711 ADC Sensor Module together already as a kit.
Please check this tutorialon how to calibrate the scale, especially Part 8: Set the Weight Zero Offset for the HX711 Component
Add "Weight Scale HX711" component and do the calibration like in this tutorialAdd "Analog Multi Source" componentAdd "Integer Multi Source" componentAdd 2X "Integer To Analog" componentAdd 2X "Compare Analog Range" componentAdd "OLED I2C" componentAdd "Rotary Encoder Sensor" component
Select "MultiSource1" and in the properties window set "Output Pins" to 3Select "MultiSource2" and in the properties window set "Output Pins" to 3Select "CompareRange1" and in the properties window set "Is Outside Range" to True, "Range" > "Max" to 1, select "Range" > "Max" and click on the pin icon and select "Float SinkPin"Select "CompareRange2" and in the properties window set "Include Limits" to True, "Range" > "Max" to 1 and "Range" > "Min" to 1, select "Range" > "Max" and click on the pin icon and select "Float SinkPin"
Double click on the "DisplayOLED1" and in the "Elements" window drag "Draw Text" to the left side and in the "Properties" window set "Size" to 1 and "Text" to "Weight (g)"In the "Elements" window drag "Text Field" to the lefty side and in the "Properties" window set "Size" to 3 and "Y" to 15 in the "Elements" window drag "Draw Text" to the left side and in the "Properties" window set "Size" to 1 and "Text" to "LIMIT:" and "Y" to 48In the "Elements" window drag "Text Field" to the lefty side and in the "Properties" window set "Size" to 2 and "Y" to 48 and "X" to 40Close the "Elements" window
Congratulations! You have completed your project with Visuino. Also attached is the Visuino project, that I created for this tutorial, you can download it and open it in Visuino: https://www.visuino.eu