Cart 0

Raspberry Pi 4 Released! Shipping may take a little longer than usual!

Raspberry Pi Sense HAT tutorial

Installing and using your new Raspberry Pi Sense HAT is easy, just follow our simple guide below to get started!

Install

Install the Sense HAT software by opening a Terminal window and entering the following commands (while connected to the Internet):

sudo apt-get update
sudo apt-get install sense-hat
sudp pip-3.2 install pillow

Usage

Hello world example:

from sense_hat import SenseHat

sense = SenseHat()

sense.show_message("Hello world!")

See the API reference for full documentation of the library's functions. See examples.

Development

This library is maintained by the Raspberry Pi Foundation on GitHub at github.com/RPi-Distro/python-sense-hat

Products used in this tutorial...



Older Post Newer Post

Related Posts

How to control your Raspberry Pi robot with a TV remote
How to control your Raspberry Pi robot with a TV remote
If you’ve bought one of our affordable EduKit Robotics kits, you’ll no doubt come to a point where you want to advanc...
Read More
Control your Raspberry Pi media centre with FLIRC
Control your Raspberry Pi media centre with FLIRC
One of the first things you’ll need when you set up a Raspberry Pi media centre is a remote control. Using a keyboard...
Read More
An introduction to Raspberry Pi GPIO
An introduction to Raspberry Pi GPIO
What’s so special about Raspberry Pi? It’s a question that I’m often asked and the answer is usually the same. The GP...
Read More