If you frequently use a 3D printer for your projects then you may experience issues calculating the material weight and length usage. If so, then you might be interested in this project using Arduino.
This can show up as various issues related to extrusion. Common issues like under-extrusion, inconsistent flow, and layers ...