pinout.vvzero.com/src/en/overlay/sense-hat.md

47 lines
1.3 KiB
Markdown
Raw Normal View History

<!--
---
name: "Sense HAT"
manufacturer: Raspberry Pi Foundation
url: https://www.raspberrypi.org/products/sense-hat/
description: Add-on board that includes an 8×8 RGB LED matrix, 5-button joystick as well as IMU and environmental sensors
install:
'devices':
- 'i2c'
- 'spi'
pincount: 40
pin:
2015-11-16 18:28:16 +08:00
'3':
mode: i2c
2015-11-16 18:28:16 +08:00
'5':
mode: i2c
2015-11-16 18:28:16 +08:00
'16':
name: Joystick
mode: input
2015-11-16 18:28:16 +08:00
'18':
name: Joystick
mode: input
2015-11-16 18:28:16 +08:00
'19':
mode: spi
2015-11-16 18:28:16 +08:00
'21':
mode: spi
2015-11-16 18:28:16 +08:00
'22':
name: Joystick
mode: input
2015-11-16 18:28:16 +08:00
'23':
mode: spi
2015-11-16 18:28:16 +08:00
'24':
mode: spi
-->
#Sense HAT
The Sense HAT is an add-on board for Raspberry Pi comprising of a 8×8 RGB LED matrix, a five-button joystick and the following sensors:
Gyroscope, Accelerometer, Magnetometer, Temperature, Barometric pressure and Humidity.
The shift register driving the LED Matrix is a LED2472G connected via an ATTINY88 to the SPI bus of the Pi. The Multi-Directional SKRHABE010 Switch/Joystick is similarly connected to the SPI bus.
The sensors themselves operate (mostly) over the i2c bus:
The IMU (Gyroscope, Accelerometer, Magnetometer) through a LSM9DS1 found at i2c address 0x1c(0x1e),0x6a(0x6b), with Interrupts on the ATTINY88.
Environemental sensors are represented by a LPS25H Pressure+Temperature sensor at address 0x5c and by a HTS221 Humidity+Temp sensor at 0x5f on the i2c bus.