LED desk lamp

LED desk lamp

thingiverse

This is my Arduino based desk lamp. https://youtu.be/uNfvAm08fVw 2 Potentiometers allow for changing hue and brightness of the Neopixel ring in the flexible arm. The button allows for turning the lamp on and off, and for switching from color mode to pure white. In white only mode, only the brightness can be adjusted. The Arduino code can be altered with different patterns of course, so the lamp can be used as an indirect mood light as well. The segments slide into eachother with quite a bit of friction. Putting a drop of silicon oil might help. There is a canal through the center of the segments where three wires for the Neopixel should pass. I used stiff 4 conductor telephone wire as it made it easier to push the wires through. I used a 12V power supply because I had it laying around. A 5V power supply will also work and is even simpeler. The stepdown converter is not needed in that case. Powering the Neopixel ring directly from the Arduino might work, but in white mode at full brightness it will not provide enough current and the LEDS will flicker. This is the case not only when powering from USB, but even when powering from the power supply. So make sure the Neopixel ring +5V and GND are wired directly to the power supply. To avoid floating input I put a 10K pullup resistor (R5) https://learn.adafruit.com/circuit-playground-digital-input/floating-inputs The cap (C1) and the 1K resistor (R4) are used to avoid switch bounce. This could have been done in software too, but as I like soldering more than coding, I put in the extra components. https://learn.adafruit.com/make-it-switch/debouncing Update 15 Jan. 2019 I changed the arm base slightly, so the segmented arm doesn't hang as much. Also I have refined the script slightly and added a rainbow function. Enjoy this project!

Download Model from thingiverse

With this file you will be able to print LED desk lamp with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on LED desk lamp.