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 next scan

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 seperti siaran radio fm biasanya . pokoknya sangat mengasikan.   Pemancar fm ini terdiri dari 3 tingkat. Pada bagian osilator nya menggunakan transistor C9018, kemudian tingkat buffer 1 menggunakan 2 buah C930 yang dirangkai berpasangan, dan buffer terakhir rangkaian dari 4 buah C930. Ide merangkai transistor secara

Takbiran Idul Adha 1440 H Jamaah Muda Masjid At Takrim Gapuk

Malam takbiran Idul Adha 1440 H ini terasa kurang afdol kalau tidak diadakan langsung acara takbiran bareng di masjid dan bentuk takbirannya pun bukan dari MP3 maupun CD yang diputar di CD Player lantas ditinggal pergi oleh Marbot masjid. Di Masjid At Takrim Gapuk Dasan Agung Mataram,  para jamaah muda yang tidak ikut pawai takbiran keliling akan berkumpul membentuk halaqoh/kumpulan sambil mengumandangkan bacaan takbiran saling sahut menyahut dengan membentuk pola suara yang uenak di dengar. Dan bila semakin malam maka akan semakin bertambah para jamaah yang ikut serta membaca takbiran hingga larut malam jam 03.00 pagi.  Kalau masalah bergadang hingga larut malam ini,  para jamaah muda ini sudah terbiasa karena mereka setiap malamnya selalu mertadarusan membaca Al Qur'an hingga jam 12.00 WITA. Alloohu akbar Alloohu Akbar Laaailaaha illallohu Alloohu Akbar Alloohu Akbar walillaahilham Gapuk Dasan Agung, malam ahad, 10082019  23.00 WITA  by: AlFuad Gapuki http://news.chivindo.com/211