Linux Format

Send temperature sensor data to Twitter

Credit: //github.com/tweepy/tweepy

The Raspberry Pi Sense HAT is a science lab that connects to the Raspberry Pi for an “out of the world” experience. Right now there are two of these boards on the International Space Station, collecting data and running code created by children. In this tutorial we’ll keep our feet on the ground, but will broadcast our sensor data across the globe thanks to Twitter and a little Python code.

The hardware build is simple. With the Pi powered off, connect the Sense HAT so that it fits neatly on top of the Pi. It should not overhang. When done, connect your keyboard, mouse, HDMI and finally power to

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

More from Linux Format

Linux Format4 min read
Linux
The #1 open source mag Future Publishing Limited, Quay House, The Ambury, Bath, BA1 1UA Email contact@linuxformat.com EDITORIAL Editor-in-chief Neil Mohr Art editor Fraser McDermott Production editor Katharine Davies Group editor-in-chief Graham Bar
Linux Format3 min read
Kernel Watch
Linus Torvalds announced the fourth RC (Release Candidate) for what will become Linux 6.9 in another few weeks. In his announcement, he noted that there was “Nothing particularly unusual going on this week – some new hardware mitigations may stand o
Linux Format1 min read
Sql At Fifty
Structured Query Language (SQL) is 50 years old. It is the only programming language from the ’70s that is still around and – unlike COBOL and Fortran, which are confined to limited niche roles – still thriving and expanding. In 2023, the IEEE declar

Related Books & Audiobooks