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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.