0% found this document useful (0 votes)
9 views

Hands On Arduino

The document discusses hands-on experiments with an Arduino board. It describes blinking the built-in LED using the Arduino board and code. It also describes how to blink an external LED connected to a breadboard using pin 10 of the Arduino board and similar code. The required materials for each experiment, including the Arduino board, breadboard, LED, and connecting wires, are listed.

Uploaded by

devshree7274
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Hands On Arduino

The document discusses hands-on experiments with an Arduino board. It describes blinking the built-in LED using the Arduino board and code. It also describes how to blink an external LED connected to a breadboard using pin 10 of the Arduino board and similar code. The required materials for each experiment, including the Arduino board, breadboard, LED, and connecting wires, are listed.

Uploaded by

devshree7274
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

Hands on Arduino

Arduino UNO
Arduino UNO Pin Diagram
Sensor Module used IN Arduino
Arduino Software
Inbuild LED Blinking Using
Arduino
Apparatus Required

SL. No Name of Apparatus Range Type Quantity

1. Arduino UNO

2. Connecting Wire
Code:
*/
// the setup function runs once when you press reset or power the board

void setup() {
// initialize built in LED as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
External LED Blinking Using
Arduino
Apparatus Required
SL. No Name of Apparatus Range Type Quantity

1. Arduino UNO

2. Bread Board

3. LED

4. Connecting Wire
Circuit Diagram
Code:
*/
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin 13 as an output.
pinMode(10, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(10, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(10, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second

You might also like