Object Activated Tabletop Lamp

by just_another_person in Circuits > Art

547 Views, 4 Favorites, 0 Comments

Object Activated Tabletop Lamp

IMG_0864 (1).jpeg
IMG_0858.jpg

I came up with the idea for this project because of how often I forget to turn off the lights-- which can be pretty big waste of electricity. By making a lamp that automatically turns off when I'm done studying and leave my desk, it's definitely helped with this and become more aware of my electricity consumption :)

The circuit uses an infrared (IR) sensor to detect objects and signal an LED to light up. To maximize the brightness, the lamp also uses foil around the inside of the shade to reflect and illuminate more light. Adjust your sensor to detect objects at different distances!

Supplies

Connecting the Sensor

IMG_0826.jpeg

Connect three male-female jumper wires to your IR sensor. On your breadboard, connect the ‘out‘ pin of the sensor (yellow in the picture) to row 13, the ‘ground‘ pin (blue) to the negative rail, and the ‘vcc‘ pin (green) to the positive rail.

LED & Resistor

IMG_0828.jpeg

Connect one end of the resistor to row 13 (where the output pin of the sensor should be). Connect the other to row 19.

For the LED, insert the shorter leg into row 19, in the same row as the resistor. Connect the positive leg to the positive rail (the same rail that the vcc pin should be on).

Finishing the Circuit

IMG_0834.jpeg

Connect one end of male-male jumper wire to the positive rail, and the other to the positive end of the battery. Insert another jumper wire into the negative rail, and connect it to the negative end of the battery. One of the lights on the sensor should turn on.

Adjusting Sensitivity

IMG_0839.jpeg

Use a screwdriver to adjust the sensitivity of the sensor. Do this by turning the potentiometer slowly until your LED lights up when an object comes to a certain distance.

Making the Base

IMG_0843.jpeg

Cut out two square pieces of cardboard so that they fit snugly around the breadboard and battery holder. Glue the breadboard and battery holder onto one of the pieces.

Adding Walls

IMG_0844.jpeg

Using hot glue, attach ~1.5 inch cardboard walls around your base. Cut out a small hole in one of them, inserting the IR sensor LEDs so they protrude out.

Securing Connections

IMG_0847.jpeg

Tape your alligator clips to opposite sides of the box to ensure that they don’t touch. Then, use two male-female jumper wires to extend the LED from the breadboard.

Closing the Base

IMG_0848.jpeg

Glue the second cardboard square on top, cutting out a small hole opposite to your sensor for the LED and jumper wires to come out.

Making the Shade

IMG_0850.jpeg

Cut half a paper cup, and glue a carboard circle on the top. This will be the lamp shade.

Connecting the Lamp

IMG_0854.jpeg

Cut a strip of cardboard, gluing one end to the base and the other inside the shade. Then, cut a small hole at the top of your lamp shade, inserting the LED into it. Secure the LED and jumper wires with tape.

Decorating

IMG_0857.jpeg

Tape a strip of foil inside your lamp shade, to reflect the light and make it brighter. Use colored paper to decorate the rest.