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.
In all but the most pedestrian of cases, you really should consider some form of input protection between your sensors and your computational platform. In my “Beginner’s Guide to Sensor Interfacing ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results