Chapter 3. Stalker Guard

IN THIS CHAPTER

What You’ll Learn

Tools and Parts

Solderless Breadboard

Jumper Wire

Ping Ultrasonic Sensor

Vibration Motor

Combining Components to Make the Stalker Guard

Making the Motor Vibrate

Providing Power from a Battery

What’s Next?

Making an Enclosure

In this project, you will build a Stalker Guard (Figure 3-1), a simple alarm device that measures the distances of objects behind you and vibrates when something comes too close (see Figure 3-2). You will also learn a program you can easily modify for other projects that works by monitoring data sent by a sensor and reacting when specific conditions are filled.

Over the course of this project, you will learn the basics of Arduino programming, distance measurement ...

Get Make: Arduino Bots and Gadgets 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.