

- #MONITOR CPU TEMPERATURE RASPBERRY PI HOW TO#
- #MONITOR CPU TEMPERATURE RASPBERRY PI INSTALL#
- #MONITOR CPU TEMPERATURE RASPBERRY PI CODE#
Next, we need to install the Initial State Python module onto your Pi. *You may need to install pip if it is not preinstalled on your Python version.

Go to and create a new account or log into your existing account. You’ll need somewhere to send your data to keep a historical log and view the real-time data stream so we will use Initial State. Once you have it up and running and connected to the WiFI, your Pi is ready to go. This will require a monitor and keyboard to connect to the Pi.

If this is the first time setting up your Raspberry Pi you’ll need to install the Raspbian Operating System and connect your Pi to WiFi. It connects directly on to the GPIO on the Raspberry Pi but using a ribbon cable gives you more accurate temperature readings. Sense HAT - This is an add on board for Raspberry Pi that has LEDs, sensors, and a tiny joystick. It has three wires and requires a breadboard and resistor for the connection.īME280 - This sensor measures temperature, humidity, and barometric pressure. It is simple to wire up to the Raspberry Pi and doesn’t require any pull up resistors.ĭSB18B20 - This temperature sensor has a digital output, which works well with the Raspberry Pi. There are four sensors we recommend using because they are inexpensive, easy to connect, and give accurate readings DSB18B20, DHT22, BME280, and Raspberry Pi Sense HAT.ĭHT22 - This temperature and humidity sensor has temperature accuracy of +/- 0.5 C and a humidity range from 0 to 100 percent. There are other single board computer that can work as well, but that’s for another time and another article. Whatever Pi you choose, make sure to purchase a charger since that is how you’ll power the Pi and an SD card with Raspbian to make installation of the operating system as easy as possible. You can only buy one Zero W/WH at a time due to limitations by the Raspberry Pi Foundation. The Zero W/WH is the cheapest but if you need more functionality you can choose between the 3 and 4. Between those you can choose based on pricing and features. You’ll want a Raspberry Pi that has WiFi built in, which are any model 3, 4, and zero W/WH.
#MONITOR CPU TEMPERATURE RASPBERRY PI CODE#
The ease of use and ability to code with Python, the fastest growing programming language, has made them a go to solution. Raspberry Pi’s started out as a learning tool and have evolved to an industrial workplace tool. This is a good place to start since these solutions are inexpensive, easy to do, and gives you a foundation to build off of for other environmental monitoring.Ī Raspberry Pi is an inexpensive single board computer that will allow you to connect to a temperature sensor and stream the data to a data visualization software.
#MONITOR CPU TEMPERATURE RASPBERRY PI HOW TO#
We’ll walk through how to monitor temperature with a Raspberry Pi and different temperature sensors you can use. There are lots of solutions out there ranging from basic to complex and it can seem overwhelming on what your business needs and where to start. Monitoring environmental data for server rooms, commercial freezers, and production lines is necessary to keep things running smoothly. Temperature and humidity are vital data points in today’s industrial world.
