Arduino workshop was one of my favorite tutorials of this semester.Divided in groups of two we were given an andruino example named Blink.The example was about controlling the frequency and duration of an LED bulb attached to the andruino UNO which was connected to our laptops.My partner was Roderigo and our collaboration was really successful.
resistor calculator
resistor:controls electricity
resistance:thin wire
Potentiometer:knob that provides a variable resistance & read as an analogue value
radio variable resistor- potentiometry :by changing the potentiometry we change the time of speed
anode:the positive leg of a resistor
cathode:short leg of a resistor
Attach a 220-ohm resistor to pin 13.
Attach the anode of the LED to the resistor
Attach the cathode of the LED to Ground
Plug Arduino board to the computer,run the arduino program and enter the code
(Most Ardruino boards already have an LED attached to pin 13 on board itself.
If the harware is not attached,ou should see the LED blink)
Notes and instructions of prosecution:
Connect a potentiometer to one of the Arduino's analog inputs to control the rate at which the built-in LED on pin 13 blinks.
Connect three wires to Ardruino board:
The fist one to ground from one of the outer pins of the pot.
The second goes from 5 volts to the other outer pin of pot.
The third goes from analog input 0 to the middle pin of potentiometer
To use an additional LED:
Attach its anode to digital pin 13
Attach its cathode next to pin 13