Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.


Folders and files

Last commit message
Last commit date

Latest commit



4 Commits

Repository files navigation

Sense HAT


Sense HAT’s LED display as Linux FIFO file.


The project has a Python 3 program that reads data from a Linux FIFO file and prints them to Sense HAT’s LED display. Reading from normal file or other device file is also supported.

The project is made just for fun and is shouldn't have any useful value. If you find it, please let me know.


The project works only on Raspberry Pi with attached Sense HAT and installed Python. It was tested on Raspberry Pi 3, but it should also works on other versions of Raspberry Pi.

First, you should clone the project:

git clone # Clone the project
cd SenseOUT # Go to project directory

Then you should create a new Linux FIFO file:

mkfifo sensehat # Create a new FIFO file

The default input file is sensehat. To change it, pass file name as first program argument:

python3 /path/to/file # Use custom file

You could run the program in the background:

python3 & # Run the program in the background

Then you could write data to the file and they will be displayed on Sense HAT’s LED display:

echo "ABC" > sensehat # Display output only on Sense HAT’s LED display
# OR #
echo "ABC" | tee sensehat # Display output on Sense HAT’s LED and in terminal

You could also display commands outputs, but you shouldn't use the commands with a lot of output:

ls | tee sensehat # Display content of directory on Sense HAT’s LED and in terminal


This project is licensed under the GNU General Public License v3. See the LICENSE file for details.


No releases published


No packages published