ESA title
Agency

Meet the sense hat - teach with space | T05.2

3447 views 4 likes
ESA / Education / AstroPI

In brief

The Sense HAT is an add-on board for Raspberry Pi that was created for the Astro Pi competition. It is a fundamental part of your Astro Pi mission. The board adds the ability to sense all kinds of information using a LED matrix. In this set of activities you will explore the Sense HAT hardware and its Python library. You will learn how to control the LED matrix and how to display visual output.

In-depth

LanguagesEnglish, CzechDutchFrench teacher's guide and student activityGerman teacher's guide and student activityPolishSpanish
Age range: 12-16 years old
Students will learn:

  • How to set LED colour and intensity using RGB values, as well as how to use variables that represent different LED colours
  • To display scrolling text on the Sense HAT LED screen, and control various properties of the displayed text, such as colour and scroll speed
  • To control the colour of text foreground and background
  • To use while true loops to endlessly repeat displayed text
  • To set individual pixels using their coordinates and other commands
  • To rotate or flip text and images on the LED screen

Related Links

Related Links