We had already learned about Raspberry Pi and the setup of the board (Headless Raspberry Pi Setup), now we will learn about one of the add-on boards of the Raspberry Pi called as the Sense Hat. This Sense Hat is first of all created for the Astro Pi project and launched at the International Space Station in December 2015. I can say that this board is a boon to the hobbyist and researchers in which they can conduct various experiments or get data at the same time. The Sense Hat costs around US$39.95 only.
The Sense Hat has
- Temperature
- Barometric Pressure
- Humidity
- Gyroscope
- Accelerometer
- Magnetometer
Installing the Sense Hat in the Raspberry Pi
Connect the Sense hat and the Raspberry Pi through the given GPIO pins. Once you had set up the Raspberry Pi, open a terminal window and type the following commands and reboot the system.
sudo apt-get update
sudo apt-get install sense-hat
sudo reboot
Getting started with the Sense Hat – Tutorial
So, here comes our first project where we will learn to implement a basic “Hello World” statement. We will be writing the code in Python, and some of the functions are supported by the Python libraries which provide easy access to everything on the board.
from sense_hat import SenseHat #import from the libraries
sense=SenseHat()
while True:
sense.show_message("Hello World")
You can buy the Official Sense Hat of the Raspberry Pi Foundation from
For more information about the Sense Hat, click on this official Raspberry Pi foundation’s github profile.