O'Reilly logo

Make: JavaScript Robotics by Rick Waldron, Backstop Media

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Physical Security, JavaScript, and You

DIY physical security hacking can be challenging, yet also a joy to experience. This chapter will employ an approach of progressive enhancement to the development of a working security prototype that uses the following hardware:

  • Arduino

  • Laser diode

  • 10k Ohm resistor

  • Photovoltaic sensor

  • HC-SR04 ultrasonic sensor

  • 951WG magnetic contact switch

This chapter will be devoid of what you might consider an actual robot. The interesting aspect of implementing physical security systems is that although they may lack innate wow factor or a feeling of futurism, your creations can easily become a natural part of your daily routine.

One example would involve replacing the button ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required