Innovate with Sense HAT for Raspberry Pi
45 Sensor Projects in Python
Dogan Ibrahim
Cite this publication as
Dogan Ibrahim, Innovate with Sense HAT for Raspberry Pi (18.04.2024), Elektor, Aachen, ISBN: 9781907920905
88
accesses
accesses
2
quotes
quotes
Descripción / Abstract
Índice
- Innovate with Sense HAT for Raspberry Pi
- Content
- Preface
- 1 †¢ Sense HAT
- 1.1 The Raspberry Pi Zero W
- 2 †¢ Installing the operating system on Raspberry Pi
- 2.1 Overview
- 2.2 Raspbian Buster installation steps on Raspberry Pi Zero W
- 2.3 Remote access
- 2.4 Using the Putty
- 2.5 Remote Access of the Desktop
- 2.6 Using the Python programming language
- 2.7 Summary
- 2.8 Exercises
- 3 †¢ Introduction to Sense HAT and simple projects
- 3.1 Overview
- 3.2 Sense HAT
- 3.3 Programming Sense HAT
- 3.4 Project 1 – Displaying text on Sense HAT
- 3.5 Project 2 – Generate a dice numbers
- 3.6 Project 3 – Generate two dice numbers
- 3.7 Project 4 – Random letters
- 3.8 Project 5 – Display the current time
- 3.9 Project 6 – Test your maths skills - multiplication
- 3.10 Project 7 – Test your maths skills – using all four operators
- 3.11 Project 8 – Learning the times tables
- 3.12 Project 9 – Displaying images on Sense HAT
- 3.13 Project 10 – Displaying a Christmas tree
- 3.14 Project 11 – Rotating the Christmas tree
- 3.15 Reading the pixels
- 3.16 Loading an Image
- 3.17 Project 12 – Displaying two-digit integer numbers
- 3.18 Project 13 – Up counter
- 3.19 Using the joystick
- 3.20 Project 14 – Joystick control
- 3.21 Project 15 – Event counter
- 3.22 Project 16 – Reaction timer
- 3.23 Project 17 – Joystick LED control
- 3.24 Reading the temperature, pressure, and humidity
- 3.25 Project 18 – Display the temperature, humidity, and pressure
- 3.26 Project 19 – Joystick controlled selection of temperature, humidity, and pressure display
- 3.27 Project 20 – Calibrating the temperature readings
- 3.28 Project 21 – Weather report
- 3 29 Project 22 – Display of temperature by LED count
- 3.30 Project 23 – Display of temperature as LED-based decimal number
- 3.31 Project 24 – Display temperature and humidity on non-scrolling display
- 3.32 Project 25 – Randomly flashing LED lights
- 3.33 Project 26 – Flashing LED lights
- 3.34 The inertial measurement sensor
- 3.35 Summary
- 3.36 Exercises
- 4 †¢ Using the Sense HAT emulator
- 4.1 Overview
- 4.2 Web-based Sense HAT emulator
- 4.3 Emulator on the Raspberry Pi desktop
- 4.4 Recording and playing back sensor readings
- 4.5 Summary
- 4.6 Exercises
- 5 †¢ Using Node-RED with Sense HAT
- 5.1 Overview
- 5.2 Node-RED Sense HAT nodes
- 5.3 Project 1 - Displaying the temperature, humidity, and pressure
- 5.4 Project 2 - Displaying the compass heading
- 5.5 Project 3 - Displaying the acceleration
- 5.6 Using the joystick with Sense HAT
- 5.7 Using the LED matrix with Sense HAT
- 5.8 Project 4 – Random flashing LED lights having random colours
- 5.9 Displaying and scrolling data on the LED matrix
- 5.10 Project 5 – Scrolling the pressure readings on the LED matrix
- 5.11 Summary
- 5.12 Exercises
- 6 †¢ Using external components with Sense HAT
- 6.1 Overview
- 6.2 Raspberry Pi Zero W pin configuration
- 6.3 Sense HAT interface
- 6.4 Project 1 – ON-OFF temperature controller
- 6.5 Summary
- 6.6 Exercises
- 7 †¢ Intermediate level Sense HAT based Raspberry Pi projects
- 7.1 Overview
- 7.2 Project 1 – Event counter with an external button
- 7.3 Project 2 – Reaction timer with an external button
- 7.4 Project 3 – Displaying the temperature on LCD
- 7.5 Project 4 – Displaying the temperature, humidity, and pressure on LCD
- 7.6 Project 5 – Displaying the temperature as a bar chart
- 7.7 Project 6 – Displaying the temperature, humidity, and pressure as bar charts
- 7.8 Project 7 – Displaying the temperature history
- 7.9 Project 8 – Displaying random dice images
- 7.10 Project 9 – Ultrasonic car parking aid
- 7.11 Plotting graphs
- 7.12 Python file processing
- 7.13 Project 10 – Saving and plotting the temperature data
- 7.14 Project 11 – Saving and plotting the temperature and humidity data
- 7.15 Project 12 – Plotting the temperature and humidity data in real-time
- 7.16 Project 13 – Plotting the temperature in real-time with time stamping
- 7.17 Internet communication protocols
- 7.18 Project 16 – Sending the temperature, humidity, and pressure data to the Cloud
- 7.19 Games with the Sense HAT
- 7.20 Summary
- 7.21 Exercises
- Appendix
- Index