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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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