Relieving Lamp

by connie822 in Circuits > Arduino

79 Views, 0 Favorites, 0 Comments

Relieving Lamp

截圖 2021-05-15 下午9.27.38.png

For this project:

I modified this project from my last one: https://www.instructables.com/Arduino-LED-Traffic... This project is a LED lamp made by various colors of LED light techniques. The purpose of the lamp is to help relieve stress, calm emotions, and get into sleep faster.

What I modified & How does it work?

The original idea is a simple LED blinking system, including red, yellow, and green lights, where red represents “stop”, yellow represents “wait and look around”, green represents “go”. I modified it and changed the LEDs to white and yellow, these colors improve sleeping quality and relieving effects. The lamp will show the color white, then yellow, and return to white at the end, the reason to put a yellow between the white lights is that yellow looks softer and also promote the tone of peace.

Preparing Materials

截圖 2021-05-15 下午8.37.02.png

-Arduino x1

-Breadboard x1

-Jumper wires x4

-220-ohm Resistor x3 (Red, Black, Red, Brown)

-White LED x2

-Yellow LED x1

-USB Cable x1

-Scissors x1

-Tape x1

-Marker x1

-Transparent Crystal Paper x2

Connecting the GND

截圖 2021-05-15 下午8.39.00.png

This is the first and most indispensable step, connect a wire from GND to the negative sign.

Setting Up Wires

截圖 2021-05-15 下午8.41.50.png
截圖 2021-05-15 下午8.41.55.png
截圖 2021-05-15 下午8.42.00.png
截圖 2021-05-15 下午9.16.38.png

1. Plug a wire from 12 on the Arduino to the left side of the 220-ohm resistor.

2.Plug a resistor right beside the wire.

3.Plug a white LED on the bottom of the two components, make sure to match the right grid.

4.Plug a wire from 11 on the Arduino to the left side of the 220-ohm resistor.

5.Plug a resistor right beside the wire.

6.Plug a yellow LED on the bottom of the two components, make sure to match the right grid.

7.Plug a wire from 10 on the Arduino to the left side of the 220-ohm resistor.

8.Plug a resistor right beside the wire.

9.Plug a white LED on the bottom of the two components, make sure to match the right grid.

10. Remember to plug or connect the USB cable to the Arduino software for codings!

Decorations

截圖 2021-05-15 下午8.47.16.png

Cut the transparent crystal paper to the size of a lamp, and stick it on the Arduino

Coding

截圖 2021-05-15 下午9.00.00.png

Paste the following coding to the Arduino software and upload it.

https://create.arduino.cc/editor/conniewu822/d296b...

Done

LED Lamp