Clap On Lamp

Pages
Contributors: Shawn Hymel
Favorited Favorite 8

Hardware Assembly

Lamp Assembly

To start, we'll attach the servo to the lamp first. If you want to protect your lamp's finish, wrap some electrical tape around the post, covering about a 3-inch section.

Wrapping electrical tape around lamp

Use a screwdriver to tighten the hose clamp around the post about 1 inch above the base. Note that you may need to adjust the position of the servo later so that it can effectively pull the chain. Leave a small gap on one side.

Attaching hose clamp to lamp

Thread two zip ties through the gap in the hose clamp

Pulling zip ties through hose clamp

Carefully pull the zip ties around the servo on either side of the flange. Pull the zip ties tight (you may need to use a set of needle-nose pliers).

Pulling zip ties through hose clamp

Tighten the hose clamp as needed and cut the ends of the zip ties.

Cut ends of zip ties

Using a screw, attach a servo arm to the servo's shaft. Make sure that the arm can rotate from pointing directly up to directly down, rotating away from the lamp's post. We'll use that motion to pull the lamp's chain.

Put servo arm on servo

Straighten out a paper clip, and bend a hook in one end using needle-nose pliers.

Bending paper clip

With the servo arm facing up, thread the hook through the outermost hole in the servo arm. Hold the other end of the paper clip up to the chain, and bend the paper clip so that it hooks onto the chain.

Attach other end of paper clip to chain

Try rotating the servo to make sure that the chain is pulled fully to switch the lamp. This may require readjusting a second paper clip hook so that the chain is pulled successfully on each rotation.

Make sure that the servo pulls the chain

Circuit Diagram

Using jumper wires, connect the components as shown in the diagram below.

Clap on lamp Fritzing diagram

Having a hard time seeing the circuit? Click on the image for a closer look.