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

Arduino-uno_ctech2

Arduino is an open-source programmable circuit board introduced in 2005, designed for easy access to hardware project creation. The Arduino Uno features various components like digital I/O pins, a microcontroller, and power supply options, and is programmed using the Arduino IDE. Users can upload sketches, which are sets of instructions, to control the board's functions.

Uploaded by

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

Arduino-uno_ctech2

Arduino is an open-source programmable circuit board introduced in 2005, designed for easy access to hardware project creation. The Arduino Uno features various components like digital I/O pins, a microcontroller, and power supply options, and is programmed using the Arduino IDE. Users can upload sketches, which are sets of instructions, to control the board's functions.

Uploaded by

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

ARDUINO

Grade 8
ARDUINO
Arduino is an open-source programmable circuit board that can be
integrated into a wide variety of makerspace projects both simple and
complex. This board contains a microcontroller which is able to be
programmed to sense and control objects in the physical world.
Arduino was introduced back in 2005 in Italy by Massimo Banzi as a
way for none engineers to have access to a low cost, simple tool for
creating hardware projects. Since the board is open-source, it is released
under a Creative Commons license which allows anyone to produce their
own board. If you search the web, you will find there are hundreds of
Arduino compatible clones and variations available but the only official
boards have Arduino in its name
1. Reset Button – This will restart
ARDUINO UNO any code that is loaded to the
Arduino board.

2. AREF – It stands for “Analog


Reference” and is used to set an
external reference voltage.

3. Ground Pin – There are a few


ground pins on the Arduino and
they all work the same.

4. Digital Input/Output – Pins 0-


13 can be used for digital input or
output.
ARDUINO UNO 9. Power LED Indicator – This
LED lights up anytime the board is
plugged in a power
source.

10. Voltage Regulator – This


controls the amount of voltage
going into the Arduino board.

11. DC Power Barrel Jack – This


is used for powering your Arduino
with a power supply.
ARDUINO UNO 12. 3.3V Pin – This pin supplies
3.3 volts of power to your projects.

13. 5V Pin – This pin supplies 5


volts of power to your projects.

14. Ground Pins – There are a


few ground pins on the Arduino and
they all work the same.

15. Analog Pins – These pins can


read the signal from an analog
sensor and convert it to
digital.
ARDUINO POWER
S U P P LY
The Arduino Uno needs a
power source in order for it to
operate and can be powered in a
variety of ways. You can do what
most people do and connect the
board directly to your computer via
a USB cable. If you want your
project to be mobile, consider using
a 9V battery pack to give it juice.
The last method would be to use a
9V AC power supply.
HOW TO PROGRAM
ARDUINO
Once a circuit has been created on
the breadboard, you’ll need to upload the
program (known as a sketch) to the Arduino.
The sketch is a set of instructions that tells
the board what functions it needs to perform.
An Arduino board can only hold and perform
one sketch at a time. The software used to
create Arduino sketches is called the IDE
which stands for Integrated Development
Environment. The software is free to
download and can be found at
https://www.arduino.cc/en/Main/Software
HOW TO PROGRAM
ARDUINO
Every Arduino sketch has two
main parts to the program:

• void setup () – Sets things up


that have to be done once and
then don’t happen again.

• void loop () – Contains the


instruction
SHORT QUIZ

1. What microcontroller is used in the Arduino Uno?


a) ATmega328P
b) ATmega2560
c) ESP32
d) ATtiny85
SHORT QUIZ

2. What is the default voltage level of


the Arduino Uno?
a) 3.3V
b) 5V
c) 12V
d) 9V
SHORT QUIZ

3. Which function is used to run code


continuously in an Arduino sketch?
a) loop()
b) b) setup()
c) c) main()
d) d) start()
SHORT QUIZ

4. How many digital input/output (I/O)


pins does the Arduino Uno have?
a) 12
b) 14
c) 16
d) 20
SHORT QUIZ

5. What is the function of the pinMode()


command in Arduino?
a) Reads a digital pin
b) Sets a pin as input or output
c) Delays execution
d) Sends data to the serial monitor
SHORT QUIZ

6. What does PWM stand for in Arduino?


a) Power Width Modulation
b) Pulse Width Modulation
c) Pin Wave Modulation
d) Power Wave Modulation
SHORT QUIZ

7. Which pin is commonly used for


onboard LED blinking in Arduino Uno?
a) Pin 2
b) Pin 7
c) Pin 9
d) Pin 13
SHORT QUIZ

8. What command is used to set a pin as


an output in Arduino?
a) pinMode(pin, OUTPUT);
b) digitalWrite(pin, OUTPUT);
c) analogWrite(pin, OUTPUT);
d) setPinMode(pin, OUTPUT);
SHORT QUIZ

9. What function is used to introduce a


delay in milliseconds in an Arduino
program?
a) wait();
b) delay();
c) pause();
d) stop();
SHORT QUIZ

10. Which programming language is


used for Arduino coding?
a) Python
b) Java
c) C/C++
d) Ruby
ARDUINO
IDE

1. Menu Bar: Gives you


access to the tools
needed for creating
and saving Arduino
sketches.

2. Verify Button:
Compiles your code and
checks for errors in
ARDUINO
IDE

3. Upload Button:
Sends the code to the
board that’s connected
such as Arduino Uno in
this case. Lights on the
board will blink rapidly
when uploading.

4. New Sketch: Opens


ARDUINO
IDE

5. Sketch Name: When


the sketch is saved, the
name of the sketch is
displayed here.
6. Open Existing
Sketch: Allows you to
open a saved sketch or
one from the stored
examples
ARDUINO
IDE

7. Save Sketch: This


saves the sketch you
currently have open.

8. Serial Monitor:
When the board is
connected, this will
display the serial
information of
ARDUINO
IDE

9. Code Area: This


area is where you
compose the code of the
sketch that tells the
board
what to do.
10. Message Area:
This area tells you the
status on saving, code
ARDUINO
IDE

11. Text Console:


Shows the details of an
error messages, size of
the program that was
compiled and additional
info.
12. Board and Serial
Port: Tells you what
board is being used and
5. PWM – The pins marked with
ARDUINO UNO the (~) symbol can simulate analog
output.

6. USB Connection – Used for


powering up your Arduino and
uploading sketches.

7. TX/RX – Transmit and receive


data indication LEDs.

8. ATmega Microcontroller – This


is the brains and is where the
programs are stored

You might also like