I used an ESP8266/Wemos D1 Mini. It’s less than $10 in parts. I made it for my 3D printer so I can know how much filament is left, but of course you can weigh anything.
Tha article also links to the original version that only had a weight scale. The original does have a little more detail on the project. I would have liked to do this with ESPHome, but I wanted people with a 3D printer, but no HA to be able to use it.
I also wrote an OctoPrint plug to pull data into that.
Please let me know if you have any questions or comments about it.