Skip to content

Yet another 3d printing filament humidity sensor using a @pimoroni Badger W with a BME280 sensor. The device can log to MariaDB and send emails for out of bounds readings and battery level warnings

License

Notifications You must be signed in to change notification settings

sfblackwell/3d-printer-filament-sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Yet another 3d printer filament humidity sensor using a Pimoroni Badger W with a BME280 sensor.

This project is an educational tool, mainly for ME :)

This version uses the Badger specific @Micropython UF2

Overview

  • Reads humidity and temperature based on parameters using the BME280
    • Currenty every 30 mins
    • Most parameters are ajustable in paramters.json file
  • Logs readings to MariaDB using a simple REST interface
    • Humidity
    • Temperature
    • Power source (USB or Battery)
    • Power Level in Volts
    • Parameters for 'Full', 'Empty' and Change Battery'
    • See images for graphs created using logged data
  • Sends emails for:
  • At end of run puts device in to deep power saving sleep until retriggered by button or the RTC
    • now using Badger OS functions (pcf85063a) to implement RTC wake up
  • Now implements badger2040.sleep_for(minutes) rather than Pico machine.deepsleep

The netmanClass.py contains a simple WiFI connection class and methods for reading power source and levels. They are contained within the Wifi class as power source and power levels use some common GPIO functions.

The code contains a lot of DEBUG print statments to REPL that can be enabled / disabled at start of code.

*** This is a work in progress ***

*** I am not a coder or programer, so please excuse the chaos ***

Items Used:

A picture:

20230320_085055608_iOS

Graphing output on web, red is out of bounds alert:

Screenshot 2023-03-24 225020

About

Yet another 3d printing filament humidity sensor using a @pimoroni Badger W with a BME280 sensor. The device can log to MariaDB and send emails for out of bounds readings and battery level warnings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published