Skip to main content

Python module to control the Raspberry Pi Sense HAT used in the Astro Pi mission

Project description

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:

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 pythonhosted.org/sense-hat

Contributors

Open Source

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sense-hat-2.2.0.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

sense_hat-2.2.0-py2.py3-none-any.whl (15.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file sense-hat-2.2.0.tar.gz.

File metadata

  • Download URL: sense-hat-2.2.0.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sense-hat-2.2.0.tar.gz
Algorithm Hash digest
SHA256 f000998d042d96ed722d459312e1bebd0107f9f3015cd34b3e4fabcab9c800af
MD5 69929250cb72349a8a82edf2584b1d83
BLAKE2b-256 15beb4fb144778db838aaf6bf86d939407627b2e6283503fa91195dbcafeb6c6

See more details on using hashes here.

File details

Details for the file sense_hat-2.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for sense_hat-2.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 35dd9357e184e8fa062b6989bce1441c6f60188375495b004a0fc6c896573c23
MD5 e7df95daa6ac3bae4dd477cc38340895
BLAKE2b-256 13cdf30b6709e01cacd0f9e2882ce3c0633ea2862771a75f4a9d02a56db9ec9a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page