Skip to content

SilentWoof/Pico_Display_Temperature_Monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🌑️ Pico Display Temperature Monitor

A real-time temperature monitoring project for Raspberry Pi Pico with Pimoroni's Pico Display. This script reads from the onboard temperature sensor, displays readings graphically on the Pico Display, and uses color-coded LED indicators based on temperature thresholds.

πŸ“¦ Features

  • Real-time temperature tracking and display
  • Color-coded graph bars (green, red, blue)
  • LED notification system
  • Console debug output
  • Adjustable accuracy and threshold settings

πŸ› οΈ Requirements

  • Raspberry Pi Pico
  • Pimoroni Pico Display
  • MicroPython and required libraries:
    • machine
    • utime
    • picodisplay

πŸš€ Getting Started

  1. Copy the temp-mon.py script to your Pico.
  2. Run the script with MicroPython.
  3. Watch the display light up with your ambient temperature readings in real time!

βš™οΈ Configuration

You can tweak the following variables in the script:

t_hot = 25       # Temperature threshold for 'hot' (in Celsius)
t_cold = 18      # Temperature threshold for 'cold'
t_adjust = 1.5   # Manual sensor calibration value

πŸ“ˆ Display Legend

  • πŸ”΄ Red bar: Hot (above t_hot)
  • πŸ”΅ Blue bar: Cold (below t_cold)
  • 🟒 Green bar: Normal range

πŸ‘¨β€πŸ’» Debug Output

The script prints sensor readings, temperature values, and loop count to the console for troubleshooting and performance tracking.


SilentWoof
Original script: temp-mon.py