20Ultrasonic Soaker

In this project we’ll use an ultrasonic sensor to trigger a toy water pistol. You could set this up to soak unsuspecting victims when they venture into forbidden territory!

Image
Image

PARTS REQUIRED

Arduino board

Breadboard

Jumper wires

HC-SR04 ultrasonic sensor

WLtoys V959-18 Water Jet Pistol

LIBRARY REQUIRED

NewPing

HOW IT WORKS

For our soaker, we’ll use the WLtoys V959-18 Water Jet Pistol (Figure 20-1) attachment for RC helicopters, which is inexpensive and widely available online. The pistol has a small reservoir to hold water and ...

Get Arduino Project Handbook, Volume II 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.