Apparatus: One Arduino board, One LED light, Cable (Arduino to USB)
Breadboard (any size), Jumper wires (male to male TWO), Laptop/PC.
Arduino Board and Cable (Arduino To USB) Red LED light Breadboard Jumper wires
Theory:
hardware and software. Arduino boards are able to read inputs - light on a sensor,
activating a motor, turning on an LED, publishing something online. You can tell
the board. To do so you use the Arduino programming language (based on Wiring),
P.T.O
The Arduino Software (IDE) allows you to write programs and upload them to your
board. In the Arduino Software page you will find two options:
1. If you have a reliable Internet connection, you should use the online IDE
(Arduino Web Editor). It will allow you to save your sketches in the cloud,
having them available from any device and backed up. You will always have the
most up-to-date version of the IDE without the need to install updates or
community generated libraries.
2. If you would rather work offline, you should use the latest version of the
desktop IDE.
1.Take the Arduino board and locate GND (Ground) and Pin 13.
2.After that take two jumper wires and insert one of them in the GND port and
the other one in the pin 13.
3.We won’t need resistor because the pin 13, already has built in resistance.
4.Now take the breadboard and connect the GND wire in the negative (-) port of
the breadboard and connect the other wire (from pin 13) to the positive (+)
port of the breadboard.
5.Now insert the LEDs long leg to any of the positive ports of the breadboard
and short leg to the any of the negative port of the breadboard.
void loop() {
8.From tools section select board name and the port (COM) then upload the code
to the Arduino board.
LED OFF