Introduction: CATOYLAMP

Picture of CATOYLAMP

I was inspired by cat toys and the shape of ground cherries. I created this lamp project for my cat. When I couldn’t spend time with my cat and left her alone at home for a long time. it makes me feel bad. especially, when I went out in the morning and came back to home at the night time. My cat left alone in the dark space. I couldn’t turn on the light and left home. That’s why I decide to make this lamp with a photocell sensor which senses the brightness. In my lamp, There is three lamps and lamp will be turned on by the brightness of its environment. for example. When It’s completely dark all 3 lights will be turned on. If it’s little bright then 2 lights will be light on. when it’s bright but little dark then 1 light will be turned on. when it’s really bright then no light will be turned on.

for materials, I try to use materials that cats like. I choose to make lampshades with origami paper because cats like the sound of paper boxes. for the pole, I cover it with my long sock which my cat loves to smell. I also braid wires with three different colours of normal yarns to give a soft feeling.

Materials

1 - 10K ohm resistor

3 - 330 ohm resistor

3 - 8.5" x 8.5" papers

3 - LED Diffused 10mm

Copper tape

3/16" thick foam board

"Wire Wrap" Thin Prototyping & Repair Wire - 30AWG

yarn ( not conductive )

long sock (use missing pair sock)

Step 1: Prototype Circuit and Test It Before Put It Inside the Lamp

Picture of Prototype Circuit and Test It Before Put It Inside the Lamp

Arduino code and the piece test.

Follow the circuit sketch

gather all the pieces on the breadboard and upload the code to Arduino.

Test all the parts before putting it inside the lamp.

Make sure all the parts work properly.

Check the test video and see how it works.

Upload following code ( you can change the sensor valuse definding on envirnment light.)

int sensorPin = A0; // select the input pin for the potentiometer
int ledPin1 = 9; int ledPin2 = 10; int ledPin3 = 11; // select the pin for the LED int sensorValue = 0; // variable to store the value coming from the sensor

void setup() { // declare the ledPin as an OUTPUT: pinMode(ledPin1, OUTPUT); pinMode(ledPin2, OUTPUT); pinMode(ledPin3, OUTPUT);

pinMode(sensorPin, INPUT); Serial.begin(9600); }

void loop() { // read the value from the sensor: sensorValue = analogRead(sensorPin);

if (sensorValue > 0 && sensorValue < 50 ){ // turn the ledPin on digitalWrite(ledPin1, HIGH); digitalWrite(ledPin2, HIGH); digitalWrite(ledPin3, HIGH); } if (sensorValue > 50 && sensorValue < 100 ) { // turn the ledPin on digitalWrite(ledPin1, LOW); digitalWrite(ledPin2, HIGH); digitalWrite(ledPin3, HIGH);

} if (sensorValue > 100 && sensorValue < 150 ) { // turn the ledPin on digitalWrite(ledPin1, LOW); digitalWrite(ledPin2, LOW); digitalWrite(ledPin3, HIGH);

}

if (sensorValue > 150 ) { // turn the ledPin on digitalWrite(ledPin1, LOW); digitalWrite(ledPin2, LOW); digitalWrite(ledPin3, LOW);

}

Serial.println(sensorValue); }

Step 2: Cut Foam Board

Picture of Cut Foam Board

Cut three 3"x10" foam board for the pillar part

one 6"x6" foam board for the bottom support. and make a 1" radius circle at the centre.

Step 3: Origami Paper Box for LED Cover

Picture of Origami Paper Box for LED Cover

use 8.5"x8.5" paper

follow the steps to make LED cover.

make 3 covers

Step 4: Make Circuit Inside the Lamp

Picture of Make Circuit Inside the Lamp

build the same circuit that we tested in step1 and put it inside the lamp.

all the inside circuit wire should be replaced with copper tape.

For the outside wire for LEDs should use the thin wrapping wire and braid it with yarn.

Tie the yarn around the paper box.

for the photocell wrap the exposed wire with the yarn.

** make sure that each wire doesn't touch each other. you can use paper tape to avoid the touching.

Step 5: Glue Everything/ Put Everything Together

Picture of Glue Everything/ Put Everything Together

Glue all the foam board looks like the following image.

Cover structure with a long sock and close the top with the glue

** make sure that the lamp can stand alone.

Step 6: Test the Lamp and Enjoy It With Your Cat

Test the lamp

Let your cat enjoy it.

Comments

Swansong (author)2017-11-02

That's a cute lamp :)

About This Instructable

39views

0favorites

License:

More by cheoj043:CATOYLAMP
Add instructable to: