Introduction: Rolling Cloud

The Rolling Cloud is a cloud light that can help you roll. The Material that we need have:

1. a stack of cotton that can cover your whole Arduino.

2. Arduino board.

3. breadboard.

4. five electric line

5. two resistance

6. two led light(green)

Step 1: Step 1

First, connect circuit properly like the picture.

Step 2: Step 2

Seam the cotton around Arduino and breadboard.

Step 3: Step 3

Sent the code to Arduino. (under)

https://create.arduino.cc/editor/Josh188/441c0ca2-e9ca-46b3-a047-e7e09896019c/preview

int _1_brightness = 0.0 ;
int _2_i; int _3_i;

void setup() { _1_brightness = 0.0 ;

}

void loop() { for (_2_i=1 ; _2_i<= ( 255.0 ) ; ++_2_i ) { _1_brightness = ( _1_brightness + 1.0 ) ; analogWrite(5 , _1_brightness); delay( 20.0 ); _1_brightness = ( _1_brightness + 1.0 ) ; analogWrite(6 , _1_brightness); delay( 20.0 ); } for (_3_i=1 ; _3_i<= ( 255.0 ) ; ++_3_i ) { _1_brightness = ( _1_brightness - 1.0 ) ; analogWrite(5 , _1_brightness); delay( 20.0 ); _1_brightness = ( _1_brightness - 1.0 ) ; analogWrite(6 , _1_brightness); delay( 20.0 ); } delay( 500.0 ); }