Home Hardware A look at the Raspberry Pi Sense HAT

A look at the Raspberry Pi Sense HAT

by shedboy71

The Sense HAT is a sensor board which has a 8×8 RGB LED matrix, a joystick and also includes a gyroscope, accelerometer, magnetometer and temperature, barometric pressure and humidity sensors.


The Raspberry Pi Sense HAT is attached on top of the Raspberry Pi via the 40 GPIO pins (which provide the data and power interface). The Sense HAT has several integrated circuit based sensors can be used for many different types of experiments, applications, and even games.

Technical Specification

Gyroscope – angular rate sensor: +/-245/500/2000dps
Accelerometer – Linear acceleration sensor: +/-2/4/8/16 g
Magnetometer – Magnetic Sensor: +/- 4/8/12/16 gauss
Barometer: 260 – 1260 hPa absolute range (accuracy depends on the temperature and pressure, +/- 0.1 hPa under normal conditions)
Temperature sensor (Temperature accurate to +/- 2 degC in the 0-65 degC range)
Relative Humidity sensor (accurate to +/- 4.5% in the 20-80%rH range, accurate to +/- 0.5 degC in 15-40 degC range)
8×8 LED matrix display
Small 5 button


Once the board is fitted to your Raspberry Pi you need to update and upgrade your system

sudo apt-get update
sudo apt-get upgrade

Then install the Sense HAT software package:

sudo apt-get install sense-hat
sudo pip3 install pillow

Reboot the Pi to complete the installation:

sudo reboot



[codesyntax lang=”python”]

from sense_hat import SenseHat

sense = SenseHat()
red = (255, 0, 0)
sense.show_message("Scrolly test", text_colour=red)


You may also like

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More