Quantcast
Channel: Support - Pimoroni Buccaneers
Viewing all articles
Browse latest Browse all 6857

LED Shim as a thermometer

$
0
0

@alphanumeric wrote:

I have a BMP680 setup as a weather clock. I show the day, date, time, temp, humidity, pressure and the UV index in a continuously scrolling message on an RGB 8 x 8 LED matrix (sense hat). The color of the message elements change based on the measurements. The temp message is displayed in blue if the temp is Zero c or lower for example.
I want to add a quick glance secondary display for temperature using the LED shim. It will be mounted vertically like a thermometer.
I want the current temp to be in the center / middle. A white marker. Then have the other LEDs color based on the temperature above or below the marker. So if the temp was say 0c, below the marker would be all blue, and above yellow up to 12c. Above 12c I want it green. And above 26c I want red. 14 degrees each side of the marker are displayed. Actually it will be more like 13 and 15 or 15 and 13, as the marker can’t be in the exact center.

Just looking for a place to start, what example code to start with? The function list isn’t up yet or I’d start there. I’d class my python skills as average or a little above average. I’m no expert but I’m not exacly a noob either, if that makes sense.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6857

Trending Articles