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.
The MLX90821 is a SIP to measure fuel vapor pressure as low as 50 mbar and up to 700 mbar. This makes the MLX90821 suitable for EVAP systems designed for internal combustion engine or hybrid vehicles.