Custom Bed Frame - Part 8 | [0018-8] 🛏
Published: Jul 07, 2017 | Last Modified: Feb 21, 2023
In Part 8 I stain and apply polyurethane to the frame, make the under bed drawers and add the automatic LED night lights.
I used an ATtiny85 microcontroller with an LDR (Light Dependent Resistor) so I could have the nightlight turn on/off automatically based on light level. The LEDs run on 12v and require 1.8 amps of current (in my case given the length of strip/number of LEDs I used). A MOSFET was used to allow the ATtiny85 to turn the LEDs on/off and also allow it to control the brightness using PWM (Pulse Width Modulation).
Code and schematics (and rough Sketchup drawings of the frame) for the LED controller are available on GitHub.
As an Amazon Associate I earn from qualifying purchases.
#diy #woodworking #electronics