Skip to main content

Belajar Dasar SCADA

Mood Lamp with Arduino

Hi! In this tutorial you will learn to make a mood lamp with Arduino.

I know that you may have seen a lot of mood lamp projects with Arduino, but I wasn't very satisfied with them because they all change the color very abruptly. So, I decided to make a smooth mood lamp and I also made it to turn on only when the room is dark.


This project is good for those who are beginners in the Arduino's world.





Step 1: What You Need?

1 x Arduino UNO
1 x USB Type-B Cable
1 x 9V Battery Holder  or  9V Battery Snap
1 x Breadboard  or  Mini Breadboard
1 x RGB LED  or  1 Red & 1 Green & 1 Blue LED
1 x LDR (Light Dependent Resistor)
Male-to-Male Jumper Wires
1 x Computer with Arduino IDE
1 x 9V Battery
1 x Sheet of paper




Don't have components? Don't worry. Just click the component's name. 


Step 2: Write The Code & Upload. 

Write the code above on the Arduino program.
Darker the ambient light is, the higher is the value read from the LDR.
I used PWM to change led's brightness.

  


Step 3: Build Your Circuit.

Connect wire like the schematic above.


Step 4: It's done!

Try to add a sheet of paper around it to see it more smoothly, the paper acts as a diffuser.
Feel free to modify this project to your way, and tell me your progress. Comments are welcome.

http://news.chivindo.com/669/mood-lamp-with-arduino.html

Comments

Popular posts from this blog

Nitro Pro Enterprise 13.19.2.356 Full Version

BAGAS31 – Nitro Pro Enterprise 13.19.2.356 Full Version adalah sebuah software dari Nitro Software yang berguna untuk membuat, melakukan convert, mengedit, dan melakukan share file PDF yang kamu miliki. Nitro Pro Enterprise   merupakan salah satu software untuk urusan PDF yang cukup populer saat ini dan memang sudah diakui kredibilitasnya, bahkan software ini pun digunakan untuk urusan pekerjaan oleh para professional. Versi Enterprise ini tentu saja memiliki fitur-fitur yang lebih banyak dan lebih lengkap dari versi biasa atau versi free nya. Di versi terbarunya ini, terdapat beberapa update dan tambahan, serta perbaikan bugs guna mengoptimalkan software ini sendiri. So, buat kamu yang membutuhkan software ini, langsung saja download melalui link di bawah. Screenshot : Download : Nitro Pro Enterprise 13.19.2.356 Full Version (32-Bit ) [ Zippyshare ] [ FileUp ] [ Mirrorcreator ] Nitro Pro Enterprise 13.19.2.356 Full Version (64-Bit ) [ Zippyshare ] [ Fi...

Basic PLC Ladder Programming Examples 23

Basic PLC Ladder Programming Examples 23 Basic PLC Ladder Programming Training Examples for Beginners.    Hi friends, here we are starting unique a series of Free Training on PLC Ladder Programming & tutorials. These PLC Ladder Programs are important to learn basics of Ladder programs. Example 7: Sequential control If we serially connect the normally closed contact of Y2 in example 5 to the circuit of Y1 as an AND condition for Y1 (as the diagram in the left hand side), the circuit can not only make Y1 as the condition for Y2, but also allow the stop of Y1 after Y2 is enabled. Therefore, we can make Y1 and Y2 execute exactly the sequential control Example 8: Oscillating circuit The ladder diagram above is a very simple one. When the program starts to scan the normally closed contact Y1, Y1 will be closed because coil Y1 is Off. When the program then scan to coil Y1 and make it On, the output will be 1. When the program scans to the normally closed contact Y1 again in the n...

Augmented and mixed reality: what is it, and where is it going?

XR is a term that has become more prominent in the last few years. It encapsulates virtual, augmented, and mixed reality topics. The definition of each of these has become saturated in the past decade, with companies using their own definitions for each to describe their products. The new IDTechEx Report, “Augmented, Mixed and Virtual Reality 2020-2030” , distils this range of terms and products, compares the technologies used in them, and produces a forecast for the market next decade. This premium article discusses AR (augmented reality) and MR (mixed reality) in more detail. The report discusses 83 different companies and 175 products in VR (virtual reality), AR (augmented reality) and MR (mixed reality) markets. This promotional article specifically discusses the findings from this report of the augmented and mixed reality markets. Augmented Reality (AR) and Mixed Reality (MR) are two technologies which have become more prominent in the past ten years. AR is the use...