Skip to main content

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

Project description

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

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

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.4.0.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

sense_hat-2.4.0-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sense-hat-2.4.0.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for sense-hat-2.4.0.tar.gz
Algorithm Hash digest
SHA256 bdbabbb972038208c060441eea590c5c3a75862be1ec13caa3e2b25f8df5fde5
MD5 ecb2e602d6cbba221f8fb6626f9229f6
BLAKE2b-256 0dfc235ed624fffca17c155f4212e9348b5c0e5c3d8946745facf6dffc346ece

See more details on using hashes here.

File details

Details for the file sense_hat-2.4.0-py3-none-any.whl.

File metadata

  • Download URL: sense_hat-2.4.0-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for sense_hat-2.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb1b08acd7d90810e403a663273e0edbeeec5078688ed9da70c57ced27f83b5e
MD5 92d12d09db25a5c2734e0555f36ba4e1
BLAKE2b-256 45145fafe29e708e16331edc097fe8342a77628a9ab9b1daa7df896b05617185

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