Skip to main content

#Sense HAT

Python module to control the Raspberry Pi Sense HAT used in the Astro Pi mission - an education outreach programme for UK schools sending code experiments to the International Space Station.

Hardware

The Sense HAT features an 8x8 RGB LED matrix, a mini joystick and the following sensors:

  • Gyroscope
  • Accelerometer
  • Magnetometer
  • Temperature
  • Humidity
  • Barometric pressure

Buy

Buy the Sense HAT from:

  • The Pi Hut
  • Pimoroni
  • Amazon (UK)
  • element14
  • adafruit
  • Amazon (USA)

Installation

To install the Sense HAT software, enter the following commands in a terminal::

sudo apt-get update
sudo apt-get install sense-hat
sudo reboot

Usage

Import the sense_hat module and instantiate a SenseHat object::

from sense_hat import SenseHat

sense = SenseHat()

Documentation

Comprehensive documentation is available at https://sense-hat.readthedocs.io/en/latest/.

Contributors

  • Dave Honess
  • Ben Nuttall
  • Serge Schneider
  • Dave Jones
  • Tyler Laws
  • George Boukeas

Open Source

  • The code is licensed under the BSD Licence
  • The project source code is hosted on GitHub
  • Please use GitHub issues to submit bugs and report issues

URLs

Metadata

Release files for sense-hat 2.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sense-hat 2.6.0
File Size Uploaded
sense-hat-2.6.0.tar.gz 18.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sense-hat 2.6.0
File Interpreter ABI Platform
sense_hat-2.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 36.7 kB

Release files / sense-hat-2.6.0.tar.gz

Download URL sense-hat-2.6.0.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9fd1b3bb1bd98c51f3fe4099cd246884da0aa12c3acfc64c826be0153b9ae10e
BLAKE2b-256 checksum
How to use checksums
143a23cfedbbad061e36d1441b66b23403cc4a5becd9c09348be7ef2bea37791
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Release files / sense_hat-2.6.0-py3-none-any.whl

Download URL sense_hat-2.6.0-py3-none-any.whl
Size 18.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2934335c656a35026eb3a28e8ed129fb16265509b5e7b0b94930c039b1cb3472
BLAKE2b-256 checksum
How to use checksums
f57316d26aadb8f2635b7ce758491883eac8f44bb7d1ee4625afdc3143723f06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Release history Release notifications | RSS feed

This release

2.6.0 This release

2 release files

2.4.0

2 release files

2.3.1

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page