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

Coming soon

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 pip-3.2 install pillow
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.1.0.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

sense_hat-2.1.0-py2.py3-none-any.whl (11.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for sense-hat-2.1.0.tar.gz
Algorithm Hash digest
SHA256 c6c76707c0ea514e4b0f1f96f1b5b79755875891aae037df7434b6aad7b9dbca
MD5 71217f15ea963040f06e2f50722186ca
BLAKE2b-256 aa877c99dcf9d5bf16cd234fe1ecd4ed08a051b3c3be54057237f0b1e3b3d0fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sense_hat-2.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5c70ff41bd6fbda5250b7daeb08da0f5c44dd2bd7d75fc97c972adfcf3764885
MD5 c4861e69a26d91ec7e8df00c0368f002
BLAKE2b-256 5f9102a3adb0fed47ec1674ea833691632a6c93e0ce7359e6343077f608050ae

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