Playing with LED’s and Circuits

What i Learned.

In class today i learned how to use a battery to light up an LED Circuit. Basically, what you do is your put this coin battery in a slot holder and attach 1 female wire to the right side of the battery and you use a female/male wire on the left side of the battery. Using the right side wire you attach it to the switch. You will need another female wire to attach to the other side of the switch.  Then, you get 1 male wire and attach it to each end of the right side female wire (attached to the switch). Lastly, you use the LED light and attach the positive side (which is the longer leg) to the male wire, and the negative leg will be attached to the female/male wire. There will be a black switch on the battery holder and you switch it on, and the LED should light up. Also using the same coin battery. Also using the coin battery, i learned how to use it in a circuit using the Arduino breadboard. First off you get two female fires and attach them to each side of the battery. On the left side of the battery you will attach a Female/Male wire to the red female wire(shown in picture below). Using the female/male wire, you put the side with the needle inside a slot on the positive side of the breadboard. Using the right side wire (which is blue in the diagram) , you plug in the other side into the negative slot on the breadboard. Then, you need another wire(white wire) and you plug in one side to the negative side of the breadboard and one into the middle space of the breadboard. Then the last wire(green wire) is plugged into the positive side of the breadboard and and then other side is plugged into the middle part of the breadboard. Lastly you need your LED. You take the LED and put it in the middle part of the Breadboard right next to the green and white wire, then your LED light should light up! Lastly, i learned how to use codes on Arduino on my computer to make my RGB light, light up. Last year i learned how to use codes, but it was never really in dept how to use them. This year i really understood how to use  them and i got my light to light up in three different flashing colors!

 

circuit4circuit3