HAT is Hardware Attached on Top - and the Sense HAT is the perfect educational attachment to a Raspberry Pi.
For input, the SenseHAT includes a small joystick and a variety of sensors including a: Temperature sensor; Humidity sensor; Pressure sensor; Orientation sensor; Acceleration sensor; Gyroscope; Magnetic field sensor.
For output, it has an array of RGB LEDs.
This Project uses Scratch3 on the Raspberry Pi to use input to control both the LEDs and the sprites within Scratch.
Impacts of Computing
Accessibility
4-6.IC.6 Identify and explain ways to improve the accessibility and usability of a computing device or software application for the diverse needs and wants of users.
Networks and System Design
Hardware and Software
7-8.NSD.2 Design a project that combines hardware and software components.
Art; Music; English Language Arts; Social Studies; Computer Science; and Most Others
Using Scratch3 on a Raspberry Pi, this project uses the SenseHAT extension to:
use the Joystick to control the Cat sprite
use Yaw, Pitch and Roll value to move the Robot sprite
use temperature input to have the thermometer sprite announce the temperature
Click here to download this Scratch Code. Note, because of the SenseHAT extension, it can only be opened on a Raspberry Pi with Scratch3 installed.
Sense HAT Emulator - Experiment in your browser with the Sense HAT with Python
Sense HAT on the International Space Station - There are Two Raspberry Pis with Sense HATs on the International Space Station that students can upload code to!
MagPi - Experiment with Sense HAT - This guide book brings you through step-by-step the amazing range of things you can try with Python on the Sense HAT
Make a Scratch3 HAT Sense Game - Published in MagPi magazine after the release of Scratch3 on the Raspberry Pi, this tutorial gives some great ideas to start building a game using the Sense HAT.