Basic Electronics: Arduino Uno: Christopher John I. Gayta, Ece, Ect
Basic Electronics: Arduino Uno: Christopher John I. Gayta, Ece, Ect
ARDUINO UNO
Prepared by:
CHRISTOPHER JOHN I. GAYTA, ECE, ECT
WHAT IS ARDUINO?
Arduino is an open-source
electronics platform based on
easy-to-use hardware and
software.
MAIN FUNCTIONS
1. Read sensor (inputs) – light on a
sensor, a finger on a button, or any
other easy or complex thing.
2. Output on actuators – activating
a motor, turning on an LED,
publishing something online.
MAIN FUNCTIONS
You can tell your Arduino board
what to do by sending a set of
instructions (known as a
program or a sketch) to the
microcontroller on the board.
ARDUINO UNO
IDE -
Integrated
Development
Environment
PARTS
OF
ARDUINO
UNO
PARTS OF ARDUINO UNO:
POWER
1. Barrel Jack – The Barrel jack, or DC Power Jack can be used
to power your Arduino board. The barrel jack is usually
connected to a wall adapter. The recommended voltage for
most Arduino models is between 6 and 12 Volts.
2. VIN Pin – This pin is used to power the Arduino Uno board
using an external power source. The voltage should be
within the range mentioned above.
3. USB cable – when connected to the computer, provides 5
volts at 500mA.
PARTS OF ARDUINO UNO:
PINS
1.Ground or GND: These pins are used to
ground circuits.
2.5V: This pin provides 5V Voltage to the circuits.
3.Analog Pins: These pins are for reading analog
voltage value from sensors and convert them into a
digital value, that can be read. In Arduino Uno, there
are 6 analog pins labeled A0-A5.
ANALOG SIGNALS
PARTS OF ARDUINO UNO:
PINS
4. Digital Pins: These pins are for both digital input (reading the
state of the switch) and digital output (controlling the LED). In
Arduino Uno, there are 14 digital pins (0 -13).
5. PWM Pins: You may have noticed the tilde (~) next to some of the digital
pins (3, 5, 6, 9, 10, and 11 on the UNO). These pins act as normal digital
pins, but can also be used for something called Pulse-Width Modulation
(PWM). They are used as analog output (like fading an LED in and out).
6. RX – TX: These are serial communication pins, used to communicate with
other Arduino boards as well as computers.
DIGITAL SIGNALS
PARTS OF ARDUINO UNO:
RESET BUTTON
This button is used to restart
the code that is loaded on the
Arduino.
PARTS OF ARDUINO UNO:
VOLTAGE REGULATOR
This controls the amount of
voltage going into the Arduino
Board.
PARTS OF ARDUINO UNO:
Light Emitting Diode (LED)
1. Power Indicator LED: his LED should light up whenever
you plug your Arduino into a power source.
2. RX – TX LED: These LEDs will give us some nice visual
indications whenever our Arduino is receiving or transmitting
data on the RX TX Pins.
3. Pin 13 LED: Arduino Uno has an inbuilt LED connected to
digital pin 13. Whenever the pin is HIGH, LED lights up and
when it is LOW, LED is Off.
PARTS OF ARDUINO UNO:
ATmega MICROCONTROLLER
This controls the amount of
voltage going into the Arduino
board.
JUMPER
RESISTOR
RESISTOR
RESISTOR
Yellow-Violet-Orange-Gold Color Code
A resistor colored Yellow-Violet-Orange-Gold
would be 47 kΩ with a tolerance of +/- 5%.