Book Image

Raspberry Pi Sensors

By : Rushi Gajjar
Book Image

Raspberry Pi Sensors

By: Rushi Gajjar

Overview of this book

Table of Contents (16 chapters)
Raspberry Pi Sensors
Credits
About the Author
Acknowledgements
About the Reviewers
www.PacktPub.com
Preface
Index

A wearable device for the visually impaired


The ultrasonic sensor can provide an added sense to a visually impaired or blind person. You can contribute to the society by making this kind of a wearable device, which can either play a warning sound in the person's ear or a vibration alert on the stick. There are such sticks available in the market, and you can build your own, too.

Your aim is to build a wearable device based on the RasPi and ultrasonic sensor. Also, you will play the warning sound on the headphones that are connected with the RasPi when the visually impaired person is approaching an obstacle that is about 100 cms away. Sounds cool, doesn't it? This project will work for both RasPi 2 Model B and RasPi 1 Model B and B+ users. We will learn this step-by-step process to assemble this project on the hardware and also understand how to code it. Let's dig deeper and understand how this can be done.

Building the hardware

When you run the RasPi, you must have noticed that your project...