Attaching the Power Switch to the Chassis

As we’re going to be running our robot with a rechargeable battery, we’ll need a way to turn it on and off. Any two-state switch will serve this purpose. Our choice was a key switch, but you can go with anything that pleases your eye.

Stick the switch in the hole and secure it with some hot glue (Figure 1-18). Some switches can be just screwed into the hole, making gluing unnecessary.

Key switch hot-glued

Figure 1-18. Key switch hot-glued

Get Make a Mind-Controlled Arduino Robot now with the O’Reilly learning platform.

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