Linux Format

Cheaper sense and sensor-abilities

The electronics world has many different, cheap and simple sensors that we can use to gather temperature data. We’ve chosen two models that meet all of those categories, and will show you how to use them with just a few lines of Python.

Project 1: DHT11 sensor

The DHT11 is often bundled in electronics kits for the Raspberry Pi and Arduino. It’s accurate to within five per cent between 20 and 80 per cent humidity, and ±2°C between 0 and 50°C. This makes it a great hobby sensor, but not ideal for projects that require precision.

There are two versions of the DHT11: a basic version with no pull-up resistor; and our version, which has an integrated resistor. If you can, buy this version.

Wiring up the sensor involves three female to female jumper

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format4 min read
Mailserver
Do you have a burning Linux-related issue that you want to discuss? Write to us at Linux Format, Future Publishing, Quay House, The Ambury, Bath, BA1 1UA or email letters@ linuxformat.com. I’ve just installed Linux Mint. It was very easy and it’s gre
Linux Format1 min read
Ultimate Desktop Upgrade!
LXF316 will be on sale Tuesday 28th May 2024 Word processors that can help craft that novel you’ve always been talking about and organise large projects. Revive the old roleplaying system for a digital age as we recreate our own play-by-mail gaming
Linux Format11 min read
Enhance Email With A Better Thunderbird
Think email client and the obvious example is Mozilla’s Thunderbird. But whether you’re a T long-time Thunderbird user or looking for a new email client, you may find that Betterbird is – if you’ll excuse the pun – a better fit. That’s particularly t

Related Books & Audiobooks