Night Light Base

This is a night light base, it fits a custom made RGB leds controlled by a arduino mini pro and a rotary encode with a…
17
51
0
792
updated November 15, 2019

Description

PDF

This is a night light base, it fits a custom made RGB leds controlled by a arduino mini pro and a rotary encode with a push button. (Yep overkill, but it's what I had laying around)

I used these arduinos and encoder:
https://www.amazon.co.uk/gp/product/B007YQZUEE/ref=ox\_sc\_act\_title\_1?smid=A1NBUX8FDB1DWX&psc=1
https://www.amazon.co.uk/gp/product/B0085I4D5C/ref=oh\_aui\_detailpage\_o00\_s00?ie=UTF8&psc=1

But any should work.

Turning the the encoder controls brightness, pushing it cycles the colors, at the moment the cycle is {off, white, red, green, blue, magenta, cyan, yellow};

Arduino code included, pinouts are in the code.
Leds are fully addressable type, I just cut 3 off some leftover ones from another project, usually these are sold in 2-3m runs, something like this: https://www.adafruit.com/product/1138

For the power supply I just cut a regular USB cable used the red and black (5V and GND) and plugged that in the Arduino. For this amount of leds any USB brick should work, with 3 LED's it uses up a maximum of 140mA, but at night light levels it usually used around 40mA (it's very bright at full power).

The idea is to put a hollow figure on top like the one pictured: https://www.thingiverse.com/thing:1912559

Made it for my son, and he wanted the option to remove the figure, to take it to school, etc.

I will print/make a knob at some point, it's harder for me to rotate it than for me son so it wasn't a priority.

Enjoy.

Print instructions

Category: Decor Print Settings

Printer Brand: Prusa

Printer: i3 MK2S

Rafts: No

Supports: Yes

Resolution: 0.2mm

Infill: 20%

Notes:

Printed with supports, took about 3 hrs, used 7 top layers to make sure the top was solid.

How I Designed This

Made with onshape, the second thing I made with it, I usually do my 3d objects in openscad, but I'm trying out other tools.

Link to public object, feel free to change it, etc.

https://cad.onshape.com/documents/8f5293a09bc173ffc917fcd4/w/fba7983356405e32fcd7de1d/e/72f89ee287f1f2edc4e1b46d

Tags



Model origin

The author marked this model as their own original creation. Imported from Thingiverse.

License


Highlighted models from creator

View more