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

.. _Raspberry Pi: https://www.raspberrypi.org/ .. _Astro Pi: http://www.astro-pi.org/ .. _pythonhosted.org/sense-hat: http://pythonhosted.org/sense-hat/ .. _Dave Honess: https://github.com/davidhoness .. _Ben Nuttall: https://github.com/bennuttall .. _Serge Schneider: https://github.com/XECDesign .. _Dave Jones: https://github.com/waveform80 .. _Tyler Laws: https://github.com/tyler-laws .. _BSD Licence: http://opensource.org/licenses/BSD-3-Clause .. _GitHub: https://github.com/RPi-Distro/python-sense-hat .. _GitHub Issues: https://github.com/RPi-Distro/python-sense-hat/issues .. _The Pi Hut: http://thepihut.com/products/raspberry-pi-sense-hat-astro-pi .. _Pimoroni: https://shop.pimoroni.com/products/raspberry-pi-sense-hat .. _Amazon (UK): http://www.amazon.co.uk/Raspberry-Pi-2483095-Sense-HAT/dp/B014T2IHQ8/ .. _element14: https://www.element14.com/community/docs/DOC-78155/l/raspberry-pi-sense-hat .. _adafruit: https://www.adafruit.com/products/2738 .. _Amazon (USA): http://www.amazon.com/Raspberry-Pi-Sense-HAT-AstroPi/dp/B014HDG74S

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sense-hat-2.3.1.tar.gz
  • Upload date:
  • Size: 18.5 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.3.1.tar.gz
Algorithm Hash digest
SHA256 9ced2e66055e2b4e872367800b1ac41afd1222ee3380a3e43e2eeecb423dfe40
MD5 ebc7bab9fe816f9ae815612c4bac077b
BLAKE2b-256 bbc09583df5a799f2de8f96b6044a41dfe4403448252dc2a479aefc515bd7252

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sense_hat-2.3.1-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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8016b5fec3b4d0cc095992183986ace19bd7c410cb35a41e66c6ec051d7a50bb
MD5 9967d3202ecf8a087834d15f6e63cd1e
BLAKE2b-256 c9220e676186bffd68222d6e78631b8b040bb4501c97fb2a2743db767e6a1546

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