Illuminated Pencil Box With Arduino
by ChristophF1 in Living > Organizing
2563 Views, 38 Favorites, 0 Comments
Illuminated Pencil Box With Arduino
![temp_1997867965.jpg](/proxy/?url=https://content.instructables.com/FK3/UQ70/IJYV8H0V/FK3UQ70IJYV8H0V.jpg&filename=temp_1997867965.jpg)
![Illuminated Pencil Box - DIY](/proxy/?url=https://content.instructables.com/FIG/XBYJ/IK5S3GRJ/FIGXBYJIK5S3GRJ.jpg&filename=Illuminated Pencil Box - DIY)
I found a little wooden box and thought about making it a nice rest for my pens. I think there are several - perhaps easier and cheaper methods to modify this little box - but I just wanted to use stuff I had already at home.
Videolink
• Wooden Box
• LED Strip
• Transistor - since the LED strip I had was 12v
• Breadboard
• Jumper wires
• Perfboard
• Plexi glass
• Resistor
• Thin plywood
Removing the Lid, Sawing and Painting
![20160112_155808.jpg](/proxy/?url=https://content.instructables.com/FR4/XZDS/IJIX6QYR/FR4XZDSIJIX6QYR.jpg&filename=20160112_155808.jpg)
![temp_-142839222.jpg](/proxy/?url=https://content.instructables.com/F0E/OZSR/IJYV8H2B/F0EOZSRIJYV8H2B.jpg&filename=temp_-142839222.jpg)
![temp_-729163235.jpg](/proxy/?url=https://content.instructables.com/F11/VUQ0/IJYV8H1P/F11VUQ0IJYV8H1P.jpg&filename=temp_-729163235.jpg)
![20160125_130948.jpg](/proxy/?url=https://content.instructables.com/FH3/4R3O/IK5S2DHC/FH34R3OIK5S2DHC.jpg&filename=20160125_130948.jpg)
At first I removed the lid by unscrewing the tiny screws of the latches. After that I measured 2 cm from the outer boarder and marked the inner square with a pencil. To saw out the excess I drilled holes in the four corners, fed the blade of the fretsaw through one and began sawing as straight as possible. Since I have no other electric tools I had to use this method, but It worked out just fine. After sawing I had to trim the edges down as good as I could with a file and a delta sander. Finally I moved to the acrylic glass, measured the size it need it to be, cut it with a utility knife and cracked it to its final size.
For the false bottom I decided to make two small notches with my rotary tool into a piece of fitting plywood. From my last project I had the can of stone-effect spray which I took to spray the plywood. I think it ads a nice effect in the end.
Prototyping
![temp_801757940.jpg](/proxy/?url=https://content.instructables.com/FKL/U2JS/IJBTZ4SZ/FKLU2JSIJBTZ4SZ.jpg&filename=temp_801757940.jpg)
![temp_-446747426.jpg](/proxy/?url=https://content.instructables.com/FL3/L0O2/IJBTZ4TB/FL3L0O2IJBTZ4TB.jpg&filename=temp_-446747426.jpg)
![20160112_155625.jpg](/proxy/?url=https://content.instructables.com/FGL/AUAH/IJIX6QQ0/FGLAUAHIJIX6QQ0.jpg&filename=20160112_155625.jpg)
![20160112_155818.jpg](/proxy/?url=https://content.instructables.com/F00/YGH1/IJIX6QTM/F00YGH1IJIX6QTM.jpg&filename=20160112_155818.jpg)
![temp_-1323216697.jpg](/proxy/?url=https://content.instructables.com/FB1/H796/IJYV8H1J/FB1H796IJYV8H1J.jpg&filename=temp_-1323216697.jpg)
![temp_-804603737.jpg](/proxy/?url=https://content.instructables.com/FT9/WTPS/IJYV8H1W/FT9WTPSIJYV8H1W.jpg&filename=temp_-804603737.jpg)
At first I thought that I cannot operate my LED strip which I removed from a salvaged project, but after a little bit of research I found a tutorial over at adafruit how to connect a 12v strip to an Arduino. The tutorial was about an RGB strip, but mine is just plain white, so I tried to adapt it to the strip I had - and it worked. This was the first time I used a transistor. Here I used the TIP120 which was in my arduino starter-kit. As for the code, I again used the fading LED sketch from the Arduino IDE. Perhaps I will change this, but for testing it was good.
To make the small circuit more sturdy I decided to solder it permanently to a small piece of perfboard, so that I can stack it on the arduino.
Assembly
![20160116_150717.jpg](/proxy/?url=https://content.instructables.com/FE3/7LHH/IJIX6QE9/FE37LHHIJIX6QE9.jpg&filename=20160116_150717.jpg)
![20160117_160337.jpg](/proxy/?url=https://content.instructables.com/FJZ/LG6Q/IJIX6Q86/FJZLG6QIJIX6Q86.jpg&filename=20160117_160337.jpg)
![temp_-1974569753.jpg](/proxy/?url=https://content.instructables.com/FT6/NOWN/IJYV8H2A/FT6NOWNIJYV8H2A.jpg&filename=temp_-1974569753.jpg)
![temp_-446747426.jpg](/proxy/?url=https://content.instructables.com/FEA/9FS0/IJYV8H0U/FEA9FS0IJYV8H0U.jpg&filename=temp_-446747426.jpg)
![temp_1091933944.jpg](/proxy/?url=https://content.instructables.com/FO4/AY0R/IJYV8H12/FO4AY0RIJYV8H12.jpg&filename=temp_1091933944.jpg)
![temp_801757940.jpg](/proxy/?url=https://content.instructables.com/FHV/OKNC/IJYV8H0N/FHVOKNCIJYV8H0N.jpg&filename=temp_801757940.jpg)
To assemble everything I first screwed the Arduino in place so that I can plug the power adapter into the backside. To get the cable from the bottom part to the lid I drilled two holes and fed a cable through. Then it was time to screw the hinges back onto the box and the lid. After everything worked out fine I could fit in the false bottom to hide the Arduino and place the pencils in the box.
Thank you very much for reading!