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 ...

Get Make: JavaScript Robotics 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.