If you are a DIY'er you probably have a 3D printer. How do you know if you have enough filament for your next job? This filament meter will let you know. As jobs pritnt, the display will show total filament remaining, filament used, and the filament cost for the current print job. The device saves the remaining filament to the EEPROM memory. A button on the device let's you reset the filament when a new roll is used. This project includes source code, parts lists, and 3D STL files so you can your own 3D printer filament meter. The case for the meter is designed to fit an Ender Pro, so you may have to adjust the CAD model to fit your own printer.
Teensy LC implementation, (with rotary encoder, menu, more options)
Parts list
Display
https://www.amazon.com/gp/product/B07QGCWJMV/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
Pulse (Speed) sensor
https://www.amazon.com/gp/product/B0776RHKB1/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
NANO
https://www.amazon.com/gp/product/B09HBY89QJ/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
Buzzer
https://www.amazon.com/gp/product/B07VP6BTMV/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
Switch
https://www.amazon.com/gp/product/B01MG5PPNV/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
Bearing
https://www.amazon.com/Winter-Evening-Oversized-Bearings-20x32x7mm/dp/B09NX399HH/ref=sr_1_1_sspa?crid=H8MLF8ZN7LH3&keywords=6804+Ball+Bearing&qid=1659716384&s=industrial&sprefix=6804+ball+bearing%2Cindustrial%2C74&sr=1-1-spons&psc=1&spLa=ZW5jcnlwdGVkUXVhbGlmaWVyPUEzNjJYNVBTV1FCUVUyJmVuY3J5cHRlZElkPUEwMTE0NTkzSFVaMVpIMkhUQ1Q1JmVuY3J5cHRlZEFkSWQ9QTEwMDk3MjQzRUQ1RzNBNTRHRVRYJndpZGdldE5hbWU9c3BfYXRmJmFjdGlvbj1jbGlja1JlZGlyZWN0JmRvTm90TG9nQ2xpY2s9dHJ1ZQ==
Demonstration
This YouTube video shows the Fila-Meter in action