These demos were built using the SOMM-STM32H7 by EarthLCD.
The following project demonstrates how to turn an ezLCD product into a scale and is a good jumping off point for your own applicaiton. The application monitors a load cell to detect the weight of an attached load. The weight of the load is displayed on the screen as well as graphed vs time. The max load is logged so that the scale can be used for pull testing. A tare button is provided to tare the scale. A clear button is provided to clear the graph as well as the max weight readings.
Currently this project has only been tested with the ezLCD-5035 product. It may be ported to other products in the future.
- Touch Screen Button Handling
- Displaying BMP Images
- Displaying True Type Fonts
- Plotting data
- Serial Communications in Lua
- I2C Communications in Lua
- [EarthLCD ezLCD-5035-RT 3.5"] (https://earthlcd.com/products/ezlcd-5x)
- [SparkFun Qwiic Scale - NAU7802] (https://www.sparkfun.com/products/15242) (or equivilant)
- Adafruit Strain Gauge Load Cell - 4 Wires - 20Kg (or equivilant)
- GRN to Green Wire
- WHT to White Wire
- BLK to Black Wire
- RED to Red Wire
This project has also been used to make a planetary scale that can tell you your weight on any planet in the solar system. Below is the menu for the planetary scale: