0

Make A Mason Jar Mood Lamp

Make a mason jar mood lamp. via instructables

This is a dark activated color changing mood lamp. Its brains is a ATtiny85, but you could also use an Arduino.It has a light sensor which sense the light condition and decide when the room light is turned off.This then will light a RGB LED and slowly fade through different colors.

The brain of the lamp is Attiny85. The LDR and 10K resitor makes the light sensor.The sensor output is connected to the attiny analog pin-3.The sensor detect when the room is dark and tell attiny to give varying pwm signals to the RGB led.According to the different values of PWM signal the color of the RGB led changes.For power switch I used a sliding switch.

Full tutorial


Join 5,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython in 2018 – Python on Microcontrollers is here!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/


Maker Business — The first step in making: a PCB

Wearables — Try maximum twinkling

Electronics — Behold…the power of pseudocode.

Biohacking — All Day EEG Recording Tools

Python for Microcontrollers — PyCon US 2018 Rocked!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



2 Comments

  1. The code is small enough that it can be squeezed onto an attiny13a (with 6 bytes to spare) by removing a tiny piece of redundant code and save half a buck on the cost.

  2. The full making video of this mason jar can be found by clicking the following link

    http://youtu.be/ro6nD2lTUYY

Sorry, the comment form is closed at this time.