Raspberry Pi Sense HAT

06-00024835
SC0329
Διαθέσιμο
Αποστολή σε 24 ώρες
3990
Gropbotronics Store Availability
Διαθεσιμότητα Καταστημάτων
Πληρωμή & Μεταφορικά

The Sense HAT is an add-on board for Raspberry Pi, made especially for the Astro Pi mission! It’s going to the International Space Station in December 2015 – and is now available to buy from ModMyPi!

The Sense HAT has an 8×8 RGB LED matrix, a five-button joystick and includes the following sensors:

  • 3D Gyroscope
  • Accelerometer (Yaw, Pitch & Roll)
  • Magnetometer
  • Temperature
  • Barometric Pressure
  • Humidity

The Raspberry Pi Foundation have also created a Python library providing easy access to everything on the board.

Sensing Elements Technical Specification:

Pressure / Temperature (ST Micro LPS25H)
– 24-bit pressure measurement resolution (260hPa to 1260hPa)
– 16-bit temperature measurement resolution (0-125°C)
Datasheet

Humidity / Temperature (ST Micro HTS221)
– 16-bit humidity measurement resolution (0-100% relative humidity)
– 16-bit temperature measurement resolution (0-60°C)
Datasheet

Acceleration/Gyroscope/Magnetic field (ST Micro LSM9DS1)
– 9 degrees of freedom (X, Y, Z independent axes for all sensors)
– ±16 g acceleration measurement range
– ±16 gauss magnetometer measurement range
– ±2000 dps (degrees per second) gyroscope measurement range
Each of these measurement channels has 16 bits of resolution.
Datasheet

All of these sensors have features for periodic sampling of sensor values, complete with internal FIFO storage. The LPS25H and HTS221 have maximum sample rates of 25 per second, the LSM9DS1 has a maximum sample rate of 952Hz

LED Matrix
The LED matrix is driven by a combination of a constant-current LED driver and an Atmel ATTiny88 running a custom firmware that delivers an 8×8 display with 15-bit resolution RGB colour. If you want to get into the gory details, the AVR firmware is available on Github.

Joystick
The Atmel is responsible for sampling the joystick. We didn’t have enough pins left on the Atmel to dedicate the five that we needed to sample the joystick axes independently, so they’ve been spliced into the LED matrix row selects. The joystick gets updated at approximately 80Hz, which is the scan rate of the LED matrix.

All of the sensors (and the base firmware for the Atmel) are accessible from the Pi over I2C. As a fun bonus mode, the SPI peripheral on the Atmel has been hooked up to the Pi’s SPI interface – you can reprogram your HAT in the field! We use this method to get the firmware into the Atmel during production test – and we leave it unprotected so you can substitute the stock firmware to get it to do whatever you want. Seriously. First person to turn this sensor HAT into a quadcopter controller HAT wins a cookie from me.

Getting Started

Connect your Sense HAT to the Raspberry Pi via the 40 GPIO Pins.You will then need to install the software:

Open up a terminal and run the following command:

wget -O - http://www.raspberrypi.org/files/astro-pi/astro-pi-install.sh --no-check-certificate | bash

When the install has finished you will need to reboot your Raspberry Pi!

  • Gyroscope - angular rate sensor: +/-245/500/2000dps
  • Accelerometer - Linear acceleration sensor: +/-2/4/8/16 g
  • Magnetometer - Magnetic Sensor: +/- 4/8/12/16 gauss
  • Barometer: 260 1260 hPa absolute range (accuracy depends on the temperature and pressure, +/- 0.1 hPa under normal conditions)
  • Temperature sensor (Temperature accurate to +/- 2 degC in the 0-65 degC range)
  • Relative Humidity sensor (accurate to +/- 4.5% in the 20-80%rH range, accurate to +/- 0.5 degC in 15-40 degC range)
  • 8x8 LED matrix display
  • Small 5 button joystick

(N.B. Since the board heats up, the temperature readings from these sensors are not going to accurately reflect ambient temperature)

Connect your Sense HAT to the Raspberry Pi via the 40 GPIO Pins.You will then need to install the software:

  • Open up a terminal and run the following command:
    wget -O - http://www.raspberrypi.org/files/astro-pi/astro-pi-install.sh --no-check-certificate | bash
    (This will take approximately 5 mins to run on the Raspberry Pi 2 Model B, and approximately 20 minutes on earlier models of the Raspberry Pi)
  • When the install has finished you will need to reboot your Raspberry Pi
  • Or you can try PiHut tutorial - Raspberry Pi Sense HAT tutorial?
Κατασκευαστής
Raspberry Pi
Part Number
SC0329
Εγγύηση
Ως εξάρτημα, δεν καλύπτεται
Καθ. Βάρος
0.06kg
Συμβατότητα
  • Raspberry Pi 4
  • Raspberry Pi 5
Τύπος HAT
  • Button
  • LED matrix
  • Sensor
Βρες Παρόμοια
  • Προτείνουμε επίσης