Get all your news in one place.
100’s of premium titles.
One app.
Start reading
Tom’s Hardware
Tom’s Hardware
Technology
Ash Hill

Maker builds Raspberry Pi-powered temperature gun using a Pico 2

Raspberry Pi.

There are all sorts of handy tools out there, and a handful of them can be made from scratch with a Raspberry Pi. No one knows this better than maker and developer Arnov Sharma who's using our favorite SBC to power this custom-built temperature gun. To save on power, he's opted to use the latest Raspberry Pi Pico 2 microcontroller.

According to Sharma, he wanted to create an open source temperature gun that anyone could recreate on their own. This device lets you monitor temperature without making contact with the help of an infrared temperature sensor. The module used to pull this off is known as a G7-906 which can interface easily with the Pico 2.

Sharma explained that this is the first version of the project and is more of a prototype that proves its function. As such, it's built around a breadboard — but another version is planned that will include a custom PCB and completely soldered connections. That said, this prototype proves that you don't need the custom PCB to make the project work.

(Image credit: Arnov Sharma)
(Image credit: Arnov Sharma)

As we've already mentioned, the Pico 2 is the main board powering this thermal gun but you could get away with using the original Pico if that's all you have on hand. It's connected to the GY-906 infrared temperature sensor as well as an OLED Display that has a resolution of 124 x 32px. Temperature data is output in real time using this display, along with a button to trigger the reading.

The code for the project has been made completely open source and is available over at Hackster for anyone to download (or just explore). It works by interpreting data from the GY-906 sensor and converting it into Celsius for the OLED display. A detailed explanation of how this is accomplished is available on the project page, including the equation used to calculate the data.

If you want to see this Raspberry Pi project in action, you can check out a demo video of it over at YouTube and read more about the construction process at Hackster.

Sign up to read this article
Read news from 100’s of titles, curated specifically for you.
Already a member? Sign in here
Related Stories
Top stories on inkl right now
One subscription that gives you access to news from hundreds of sites
Already a member? Sign in here
Our Picks
Fourteen days free
Download the app
One app. One membership.
100+ trusted global sources.