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

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...

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...

Merakit pemancar mini FM

Merakit Pemancar mini FM Pemancar fm ini bekerja pada frekuensi 88- 108 MHz  dan memiliki jangkauan radius lebih dari 1 kilometer, tegangan yang digunakan sekitar  9 volt s/d 12 volt DC Pemancar ini menggunakan pcb produk ronica yang banyak dijual di toko elektronik dengan type Ronica SC-197                                                                                                                 Rangkaian ini sangat cocok untuk para pemula yang hobi elektronik. Karena rangkaiannya             sederhana dan komponennya mudah didapatkan di toko toko elektronik. Pemancar fm bisa dijadikan sebagai alat komunikasi geratis, memutar musik, untuk broadsact atau layak nya...