Experiment with the Sense HAT: Sense the Real World with Your Raspberry Pi
()
About this ebook
Space exploration is fascinating and inspiring for children and adults alike. With the tiny Raspberry Pi computer helping to change the world little-by-little, it was only a matter of time before it went to space to help out there as well. This new adventure is called the Astro Pi project. To help the Raspberry Pi in its extraterrestrial mission, the Sense HAT was created to provide more functionality; the Sense HAT board sits on top of the Raspberry Pi, and has lights and sensors to allow the Pi to interact with the outside world.
Master essential world-sensing skills across 10 chapters:
- What is the Sense HAT?
- How does the Astro Pi mission work?
- Master the Sense HAT's capabilities
- Build a fun gravity simulator
- Make a digital Magic 8 Ball
- Create an interactive pixel pet
- Build a reactions testing game
- Make a powerful data logger
The Pi Education Team
The Raspberry Pi education team is a selection of excellent individuals who love to teach teachers how to use the Raspberry Pi. As well as seeing their work at Picademies around the world, they also write teaching materials which can be found online and in The MagPi magazine.
Related to Experiment with the Sense HAT
Related ebooks
The Official Raspberry Pi Projects Book Volume 2: 200 Pages of Coding and Creating Rating: 0 out of 5 stars0 ratingsRaspberry Pi 3 Rating: 0 out of 5 stars0 ratingsThe Official Raspberry Pi Projects Book Volume 5: 200 Pages of Ideas Rating: 0 out of 5 stars0 ratingsThe Official Raspberry Pi Projects Book Volume 1: 200 Pages of Ideas and Inspiraiton Rating: 0 out of 5 stars0 ratingsFun and Easy Science Projects: Grade 8 - 40 Fun Science Experiments for Grade 8 Learners Rating: 0 out of 5 stars0 ratingsThe Official Raspberry Pi Projects Book Volume 4: 200 Pages of Inspiration and Ideas. 55 Projects & Guides Rating: 0 out of 5 stars0 ratingsRaspberry Pi Projects for Kids - Second Edition Rating: 4 out of 5 stars4/5Raspberry Pi Projects for Kids Rating: 0 out of 5 stars0 ratingsProgramming 5-Book Collection Rating: 1 out of 5 stars1/5The World of Artificial Intelligence: A Max Axiom Super Scientist Adventure Rating: 0 out of 5 stars0 ratingsNature's Hidden Patterns Rating: 0 out of 5 stars0 ratingsReal-Time IoT Imaging with Deep Neural Networks: Using Java on the Raspberry Pi 4 Rating: 0 out of 5 stars0 ratingsCutting-Edge Computing with Raspberry Pi Rating: 5 out of 5 stars5/5Fun and Easy Science Projects: Grade 5 - 40 Fun Science Experiments for Grade 5 Learners Rating: 0 out of 5 stars0 ratingsLibGDX Game Development By Example Rating: 0 out of 5 stars0 ratingsGet Started with MicroPython on Raspberry Pi Pico: The Official Raspberry Pi Pico Guide Rating: 4 out of 5 stars4/5Changing the Game: Discover How Esports and Gaming are Redefining Business, Careers, Education, and the Future Rating: 0 out of 5 stars0 ratingsI Can Be a Cool Coder Rating: 0 out of 5 stars0 ratingsIntroduction to Python for Kids: Learn Python the Fun Way by Completing Activities and Solving Puzzles Rating: 0 out of 5 stars0 ratingsRaspberry Pi for Secret Agents Rating: 4 out of 5 stars4/5Incredible Tech Trivia: Fun Facts and Quizzes Rating: 0 out of 5 stars0 ratingsMaking Inventive Wooden Toys: 33 Wild & Wacky Projects Ideal for STEAM Education Rating: 5 out of 5 stars5/5Codey B and the Python's Code: The Boy Who Coded The World Rating: 0 out of 5 stars0 ratingsFun and Easy Science Projects: Grade 2 - 30 Fun Science Experiments for Grade 2 Learners Rating: 0 out of 5 stars0 ratingsThe Ready Maker Handbook: Imagining the World Through Software Rating: 0 out of 5 stars0 ratingsThe Official Raspberry Pi Beginner's Guide: How to use your new computer Rating: 0 out of 5 stars0 ratingsWe Use Tools All Day Rating: 0 out of 5 stars0 ratingsHamshack Raspberry Pi: Learn How To Use Raspberry Pi For Amateur Radio Activities And 3 DIY Projects Rating: 5 out of 5 stars5/5Steve Jobs Decoded: Take A Deep Dive Into The Mind Of The Visionary Technology Wizard (Extended Edition) Rating: 0 out of 5 stars0 ratingsFun and Easy Science Projects: Grade 6 - 40 Fun Science Experiments for Grade 6 Learners Rating: 0 out of 5 stars0 ratings
Programming For You
Coding All-in-One For Dummies Rating: 4 out of 5 stars4/5Learn to Code. Get a Job. The Ultimate Guide to Learning and Getting Hired as a Developer. Rating: 5 out of 5 stars5/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5Learn PowerShell in a Month of Lunches, Fourth Edition: Covers Windows, Linux, and macOS Rating: 0 out of 5 stars0 ratingsPython QuickStart Guide: The Simplified Beginner's Guide to Python Programming Using Hands-On Projects and Real-World Applications Rating: 0 out of 5 stars0 ratingsGrokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Python Programming : How to Code Python Fast In Just 24 Hours With 7 Simple Steps Rating: 4 out of 5 stars4/5Hacking: Ultimate Beginner's Guide for Computer Hacking in 2018 and Beyond: Hacking in 2018, #1 Rating: 4 out of 5 stars4/5Excel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/5HTML & CSS: Learn the Fundaments in 7 Days Rating: 4 out of 5 stars4/5Mastering Windows PowerShell Scripting Rating: 4 out of 5 stars4/5PYTHON: Practical Python Programming For Beginners & Experts With Hands-on Project Rating: 5 out of 5 stars5/5SQL: For Beginners: Your Guide To Easily Learn SQL Programming in 7 Days Rating: 5 out of 5 stars5/5Python Machine Learning By Example Rating: 4 out of 5 stars4/5The Absolute Beginner's Guide to Binary, Hex, Bits, and Bytes! How to Master Your Computer's Love Language Rating: 5 out of 5 stars5/5Python: For Beginners A Crash Course Guide To Learn Python in 1 Week Rating: 4 out of 5 stars4/5Programming Arduino: Getting Started with Sketches Rating: 4 out of 5 stars4/5Modern C++ for Absolute Beginners: A Friendly Introduction to C++ Programming Language and C++11 to C++20 Standards Rating: 0 out of 5 stars0 ratingsLinux Command Line and Shell Scripting Bible Rating: 3 out of 5 stars3/5Photoshop For Beginners: Learn Adobe Photoshop cs5 Basics With Tutorials Rating: 0 out of 5 stars0 ratingsSQL All-in-One For Dummies Rating: 3 out of 5 stars3/5Python Essentials Rating: 5 out of 5 stars5/5
Reviews for Experiment with the Sense HAT
0 ratings0 reviews
Book preview
Experiment with the Sense HAT - The Pi Education Team
CONTENTS
[ CHAPTER ONE ]
WHAT IS THE SENSE HAT?
Learn why you should be excited.
[ CHAPTER TWO ]
HIGH FLIERS
The Astro Pi mission in full.
[ CHAPTER THREE ]
GETTING STARTED WITH THE SENSE HAT
Learn how to use your new Sense HAT
[ CHAPTER FOUR ]
GRAVITY SIMULATOR
Cats on the moon need gravity too
[ CHAPTER FIVE ]
MAKE A DIGITAL MAGIC 8 BALL
Shake up your fortune
[ CHAPTER SIX ]
INTERACTIVE PIXEL PET
A digital pet all of your own
[ CHAPTER SEVEN ]
ASTRONAUT REACTIONS GAME
Are you as fast as a trained astronaut?
[ CHAPTER EIGHT ]
SENSE HAT DATA LOGGER
Keep a record of your surroundings
[ THE PI EDUCATION TEAM]
Some of the articles you’re about to read were created by the fantastic Raspberry Pi education team, a selection of excellent individuals who love to teach teachers how to use the Raspberry Pi. As well as seeing their work at Picademies around the world, they also write teaching materials which can be found online and in The MagPi magazine. You can read many more of their tutorials and lessons on the Resources section of the Raspberry Pi website: raspberrypi.org/resources
[CHAPTER ONE ]
WHAT IS THE SENSE HAT?
The special add-on to the Raspberry Pi that lets it interact more with the world around, as seen on the ISS!
A photograph of a Sense HAT add-on board tailored for seamless integration with Raspberry Pi devices. Environmental sensors, including temperature, humidity, pressure, accelerometer, gyroscope, and magnetometer, are present on the board along with other sensors.The Raspberry Pi can do a lot of things thanks to its size, portability, and ability to connect to the internet easily. With the GPIO ports you can control electronics and interact with the world. One of the best ways of doing this is by using an add-on like the Sense HAT.
The Sense HAT is a very sophisticated add-on board for the Raspberry Pi. While HAT is an acronym (Hardware Attached on-Top), it does act in a way like a hat for your Raspberry Pi. The Sense HAT contains a suite of sensors that allows the Raspberry Pi to sense the world around it, along with an array of LEDs on top which can be used to display information on what the board can sense, and a little joystick.
The Sense HAT is a vital component of the Astro Pi, the specially adapted educational Raspberry Pis which were sent up to the International Space Station with British ESA astronaut Tim Peake to run code created by children.This wasn’t what the HAT was originally designed for, though, as the Sense HAT’s Project Lead Jonathan Bell explains:
I sort of hijacked a pet project of James [Adams’s] and turned it into a space-faring board,
says Jonathan. James Adams is the Director of Hardware at Raspberry Pi, and along with Jonathan, was one of the main driving forces behind the Sense HAT.
British ESA astronaut Tim Peake, who will be using the Sense HAT on the ISS for various experiments created by school children
Effectively we wanted to produce a board that would be a neat, fun example of how to design a HAT
Jonathan continued. It was an exercise in how to design a HAT which could be put into mass-production: how would somebody go about doing that so hundreds of thousands of HATs could be made, and how would we design the board to deal with that.
Half-way through development, what was once a relatively basic HAT had some sensors added to it, similar to the kind used on mobile phones. Eventually we said, hang on a minute, what happens if we put loads of sensors on this thing and turn it into a kind of a cool toy!
When the Sense HAT was eventually completed, it had three key sensors: separate pressure and humidity sensors that