FEATHER-LIGHT WEATHER MONITOR
Linux Format|September 2022
Jonni Bidwell doesn't fake it till he makes it. Makes a Pi-powered environment monitor, that is...
Jonni Bidwell
FEATHER-LIGHT WEATHER MONITOR

Northern hemisphere summer may be over, but no more heatwaves doesn't mean the N weather shouldn't be monitored. In fact, we should probably pay yet more attention to it. To that end we present here instructions for perhaps the world's most over-engineered thermometer, humidity meter, moisture sensor and air-quality meter.

Inspired by this month's coding cover feature, we thought that we'd continue our voyage of programmatic discovery. But this time we're wanted to get physical. Physical computing, that is. We're going to be reading environmental sensors and displaying data on a small TFT screen, all through the magic of a Raspberry Pi. We'll be using Python again, but also the venerable Gnuplot (for drawing graphs), Cron as well as a smidgeon of shell scripting to automate the data gathering.

As we'll soon discover, sometimes code can appear unwieldy. However, by seeing through boilerplate code and concentrating only on the lines that matter, we'll hopefully help you to leverage the incredible power of Python. In addition, you'll find all of the code (thoroughly tested, of course) on our lovely new Gitlab repo at: https://gitlab.com/lxfjb/pydisplay.

This month's coding cover feature inspired us to continue our voyage of programmatic discovery. This time we're dabbling with physical computing, in particular reading environmental sensors and displaying data on a small TFT screen, all through the magic of Raspberry Pi. We'll be using Python again, but also the venerable Gnuplot (for drawing graphs) as well as a smidgeon of shell scripting to automate the data gathering.

Diese Geschichte stammt aus der September 2022-Ausgabe von Linux Format.

Starten Sie Ihre 7-tägige kostenlose Testversion von Magzter GOLD, um auf Tausende kuratierte Premium-Storys sowie über 8.000 Zeitschriften und Zeitungen zuzugreifen.

Diese Geschichte stammt aus der September 2022-Ausgabe von Linux Format.

Starten Sie Ihre 7-tägige kostenlose Testversion von Magzter GOLD, um auf Tausende kuratierte Premium-Storys sowie über 8.000 Zeitschriften und Zeitungen zuzugreifen.

WEITERE ARTIKEL AUS LINUX FORMATAlle anzeigen
Create your first WebSocket service
Linux Format

Create your first WebSocket service

Mihalis Tsoukalos explains how to use the Go programming language to work with the WebSocket protocol.

time-read
9 Minuten  |
April 2023
Fantastic Mr Firefox
Linux Format

Fantastic Mr Firefox

Nick Peers takes a trip down memory lane to reveal the story behind the rise - and slight fall - of Mozilla's popular web browser.

time-read
9 Minuten  |
April 2023
Set up your terminal and email like it's 1983
Linux Format

Set up your terminal and email like it's 1983

Jump in the hot terminal time machine with Mats Tage Axelsson who emails from the command line using the latest technology.

time-read
8 Minuten  |
April 2023
Universal layer text effects with GIMP
Linux Format

Universal layer text effects with GIMP

Posters use them, films and presentations are hard to imagine without them: text effects. Attract attention with Karsten Günther and GIMP.

time-read
8 Minuten  |
April 2023
Jump to a federated social network
Linux Format

Jump to a federated social network

Nick Peers reveals how you can get up and running with this free, decentralised and non-profit alternative to Twitter.

time-read
9 Minuten  |
April 2023
Free our SOFTWARE!
Linux Format

Free our SOFTWARE!

Taking anything for granted is dangerous, so Jonni Bidwell and Mike Saunders revisit how the free software movement got started to help free us from proprietary tyranny!

time-read
4 Minuten  |
April 2023
Master RPI.GPIO
Linux Format

Master RPI.GPIO

Les Pounder goes back to the early days of the Raspberry Pi - and his career with this classic library! -

time-read
5 Minuten  |
April 2023
Waveshare Zero to Pi3
Linux Format

Waveshare Zero to Pi3

Transform your Pi Zero into a Pi 3, they promised Les Pounder, but it's more like adding on go-faster stripes.

time-read
2 Minuten  |
April 2023
The Best OPEN SOURCE Software Ever!
Linux Format

The Best OPEN SOURCE Software Ever!

In an attempt to trigger controversy, Michael Reed and Neil Mohr unequivocally state these are the greatest free software apps ever. Probably. We’re just trying to be helpful.

time-read
10+ Minuten  |
April 2023
Linux-Mandrake 7
Linux Format

Linux-Mandrake 7

Simplicity and a wide range of applications make this a great distribution for all Linux users.

time-read
2 Minuten  |
April 2023