Finally, I got a starter Arduino Kit with a lot of projects in it. In this repo I'll upload every completed project including the code I used, if there's one. You can buy it in the Arduino Official Store: https://store.arduino.cc/products/arduino-starter-kit-multi-language This first project teaches you how the Arduino board works, the protoboard, and above all, how to complete your first circuit, including components like wires, LEDs, and resistors. Also, it helps you understand and apply Ohm's law, and especially the basic components of electronics such as voltage, current, and resistance.
To give power to Arduino you need to conncect it by the b-type wire included to your pc (or a 9V battery). ALWAYS do it after you have finished your hardware project, DON'T modify it while connected. Coding doesn't apply.
- Wires
- 220Ω Resistors
- LEDs
- Buttons
- Obviously Arduino and protoboard :)
- You need no code for this!
Firstly, you need to connect black wire from Ground (GND) pin to any of the negative pole on the protoboard, and the red wire from 5V or 3.3V pins on Arduino to the red line pole on protoboard. In this way, you give electricity to the protoboard, congrats! Then, put a LED on the protoboard and connect the 220Ω resistor from the positive pole to the long leg (cathode) of the LED, and a wire from negative pole to the short leg (anode) (figure 1). That's it, you have made your first simple circuit... But, let's evolve it in an interactive one! It's so simple, you only need to add one button, connect it by a wire to the cathode and put the resistor in the other leg of the button. You made it! Now, the LED won't turn on if you don't push the button. (figure 2)
In this type of circuit, components are placed one after the other. Modify previous circuit by adding one more button next to the first one, connect them by a wire and move the resistor as you have did it before, to obtain a series circuit. (figure 3)
In this type of circuit, components are placed one next to the other. Modify previous circuit by connecting the left terminal of the button to the left one of the other you have (previosly you had to connect it to the right terminal of the second button) and put a larger wire from the LED's cathode to the right terminal of the second button, in order to make a parallel circuit. (figure 4)
If you want to contact me, please use my email: contact.antooonio12@gmail.com. There you can suggest me anything you want. My goal is to learn a lot, so I'll apreciate it.