© Joseph Coburn 2020
J. CoburnBuild Your Own Car Dashboard with a Raspberry Pihttps://doi.org/10.1007/978-1-4842-6080-7_8

8. Boot Sensor

Chapter goal: Install a boot sensor, and read its state into your application.
Joseph Coburn1 
(1)
Alford, UK
 

The boot sensor serves an important function – it lets you know if the boot is open! You’ll use a momentary switch for this purpose. If so desired, you could expand or change this project to encompass car doors or even a bonnet sensor.

Hardware Configuration

Remember to disconnect the Pi’s power supply when connecting or disconnecting any circuits.

This circuit uses a miniature momentary tactile switch. These cost a few cents and measure roughly a quarter of an inch in diameter. They are designed to bridge the ...

Get Build Your Own Car Dashboard with a Raspberry Pi: Practical Projects to Build Your Own Smart Car now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.