Introduction: LED Night Light
Remaking Arduino: https://kknews.cc/news/mqxjvl6.html
This device is a night light, it can also help you adjust your breathing to help your sleep.
paint you like
Step 1: Let's Do This
Select 3 LED colors you like from the kit, then take 3 out. Increase or decrease the color and quantity if you wish. If you want to add color, just make sure to add an extra resistor and wire to the open Arduino pin.
*Keep in mind that the Arduino does not provide a lot of power, so at some point, adding more LEDs will only darken them all.
Start by adding a wire between the ground (negative "-" )rail of the breadboard and the GND pin of the Arduino. Make sure that the Arduino and all the components on the breadboard share a common point in the completed circuit so that a complete circuit can be constructed.
Step 2: LED
Connect the pins to the board, then connect them in parallel, connect the long leg of LED to the resistors, and then connect the short leg of LED to the negative poles.
Repeat this action until you have all the LED on.(If you have nine LED, you should repeat this action nine times.)
Then you're done.
Step 3: Coding
有一種稱為4 7 8的呼吸方法。呼吸4秒鐘，然後窒息7秒鐘，最後呼氣8秒鐘。