Filament spool weight measurements: plugin and hardware design
resam last edited by resam
I finally pulled all pieces together into a single project and wrote a README to have a nicely integrated filament weight sensor:
It contains a DCS plugin to expose an HTTP endpoint, which returns a simple weight measurement in the style of
approx. 762g filament leftand displays that via a DWC plugin in the top menu bar in the browser - which makes it easy to prevent out-of-filament pauses or failed prints.
The sensor itself is based on a 1kg load cell, mounted with a small bracket to my printer frame. The load cell gets read by an HX711 chip, which gets read by an Arduino Nano, which gets read over I2C by my Raspberry Pi / Duet SBC, which gets read by the DCS & DWC plugins.
The Arduino Nano / ATmega168 firmware code is included and can be compiled & flashed via PlatformIO.
Check out the README for more details!