Download as pdf or txt
Download as pdf or txt
You are on page 1of 21

ROBOTICS

Heavenly Father, we come to You today in prayer,


asking for Your guidance and wisdom as we begin
this class. Help us to stay focused and attentive as
we learn and grow together. Give us the strength to
stay motivated and the courage to ask questions
when needed. We thank You for the opportunity to
learn and grow in knowledge. May our hearts be
filled with understanding. In Jesus' name, Amen.
Lesson 2: Arduino Uno
Microcontroller

Objectives:
• Identify the different parts of an
Arduino microcontroller.
• Describe the functions of each part of
an Arduino microcontroller.
Microcontroller

A MICROCONTROLLER (or MCU) unit is a small


computer (SoC) on a single integrated circuit
containing a processor core, memory, and a
programmable input/output peripherals.
Microcontroller

It serves as the brain of our robot. Compared to


our nervous system, this unit sends the
information programmed so different robotics
parts can function.
Power IN (Barrel Jack) – It
can be used with either a 9v
or 12v supply.
Power IN (USB Port) – It provides
power and communicates with
the board when plugged into a
computer via USB.
LED (RX: Receiving) – It blinks
when receiving data.
LED (TX: Transmitting) – It blinks
when transmitting data.
LED (Troubleshooting) – It blinks
when the program is running
properly.
Pins (Digital, Analog,
Ground) – It can be
used for input,
output, power, and
ground.

• Pin 0 – 13
• Analog Output Pins
/ PWM Pins
• Pin ~3, ~5, ~6, ~9,
~10, and ~11.
LED (ON/OFF) – it indicates if
there is a power.
Reset Button – It manually resets
the Arduino that makes your
code restarts.
Pins (Analog In, Power In, Ground
Power Out, Reset) – They can be
used for input, output, power,
and ground.

• Pin A0 – A5
• Power Pin
▪ Reset
▪ +3.3v
▪ 5v
▪ Ground
Hardware Specification
• Microcontroller: ATmega328 • DC Current per I/O Pin: 40mA
• Operating Voltage: 5v • DC Current for 3.3v Pin: 50mA
• Input Voltage (Recommended): 7 • Flash Memory: 32kb
– 12v (ATmega328)
• Input Voltage (limits): 6 – 20v • SRAM: 2kb (ATmega328)
• Digital I/O Pins: 14 (of which 6 • EEPROM: 1kb (ATmega328)
provide PWM output) • Clock Speed: 16MHz
• Analog Input Pins: 6
Additional Information:
• Flash memory, also known as flash storage, is a type of nonvolatile
memory that erases data in units called blocks and rewrites data at the
byte level. Flash memory is widely used for storage and data transfer in
consumer devices, enterprise systems and industrial applications.
• I/O Pins – input/output pins.
Additional Information:
• PWM – Pulse Width Modulation is a technique for getting analog
results with digital means.
• EEPROM – Electrically Erasable Programmable Read-Only Memory - The
microcontrollers used on most of the Arduino boards have either 512,
1024 or 4096 bytes of EEPROM memory built into the chip. This
memory is non-volatile, which means that the data doesn't get erased
when the board loses power
Additional Information:
• SRAM – Static Random Access Memory, a type of RAM which uses a
flip-flop to store 1-bit of data. The other type of RAM is called DRAM or
Dynamic Random Access Memory, which uses a capacitor to store the
data.
THANK YOU!!!

You might also like