0% found this document useful (0 votes)
41 views21 pages

Arduino Tour 2019: Draft Presentation - May 5, 2019

This document provides an overview of an Arduino workshop being planned for May 5th, 2019. The objectives are to strengthen innovation processes at UNAN Managua faculties by using Arduino Uno technology as a tool for teaching programming, electronics, and automation to develop functional prototypes. It then explains what an Arduino is, examples of Arduino projects, the layout of an Arduino board including inputs, outputs, and key components, and how to write and run an Arduino sketch program.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views21 pages

Arduino Tour 2019: Draft Presentation - May 5, 2019

This document provides an overview of an Arduino workshop being planned for May 5th, 2019. The objectives are to strengthen innovation processes at UNAN Managua faculties by using Arduino Uno technology as a tool for teaching programming, electronics, and automation to develop functional prototypes. It then explains what an Arduino is, examples of Arduino projects, the layout of an Arduino board including inputs, outputs, and key components, and how to write and run an Arduino sketch program.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 21

Arduino Tour 2019

Draft Presentation – May 5th, 2019


How did this idea start?
Objectives of the Workshop
• Fortalecer los procesos de innovación en las facultades de UNAN
Managua, a través del uso de la technologia de Arduino Uno, como
una herramienta para la enseñanza de la programación, la electrónica
y la automatización para el Desarrollo de prototipos functionales.
What is Arduino?
• An Arduino is an small, inexpensive piece of electronic equipment
called a “microcontroller”
• An Arduino can create and process signals so that it can communicate
with sensors, motors, and other equipment – sort of like a mini-
computer.
• There are several types of Arduino, but the original is the Arduino
Uno.
• Arduino has its own software and programs that are entirely open-
source and free.
Examples of Arduino Projects
Arduino Board Layout
• Arduino is
• Powered by USB or Batteries
• Can take two types of inputs
• A mini-computer that
• Runs code only (on user interface)
• Has no keyboard
• Has no screen
Arduino Board Layout
USB Port
• Arduino can be powered
through a USB (5V from a
computer) or through a battery
pack
• Arduino can take between 5V
and 12V of power.
• Use the USB port to
communicate with your Arduino
from your laptop

Battery Port
Arduino Board Layout Digital Pins
USB Port
• Arduino can take two types of
inputs
• Analog
• Digital
• Analog ports are A0-A5, and can
take sensors that give ranges of
values
• Digital ports are pins 0-13, and
can take sensors that give on/off
signals
Battery Port Analog Pins
Arduino Board Layout Digital Pins
USB Port
• Some of the digital pins are
special, can called PWM pins
(pulse width modulation).
• These are designated with the ~
• Pins 3, 5, 6, 10, 11, 13
• Arduino can also be used to
power sensors or other
electronics and provides voltage
out and ground pins
• 5V and 3.3V are voltage out
• GND is ground
Battery Port Voltage Out Analog Pins
and Ground
Arduino Board Layout Digital Pins TX/RX pins
Reset Button
USB Port ATMega328
• Some other parts of the Arduino Chip
Board
• ATmega328 is the chip, it is the
brain of the Arduino
• Reset button (to start your
program over)
• TX/RX communication pins
• Pins 0 and 1 Digital
• Do not use these pins

Battery Port Voltage Out Analog Pins


and Ground
Arduino Sketch
• Arduino calls the programs that
tell the board what to do,
sketches
• Programming through a sketch is
how we tell the Arduino what to
do
• This is the screen you start with
when you open Arduino
Upload
Compile/Verify Serial Monitor
Arduino Sketch
• The main parts of the Arduino
Sketch are labeled, and include: Code/Text Editor
• Compile/Verify
• Check the code to look for errors
• Upload
• Uploads code to the board
• Text/Code Editor
• The program goes here
• Output Pane Output Pane
• Any feedback from the board goes
here
• Serial monitor
• Where you can monitor the sensors
Upload
Compile/Verify Serial Monitor
Arduino Sketch
Name & Save
Symbol
• Other helpful things
• Sketch Name goes in the tab at the Code/Text Editor
top and will update when you save
it
• If you see the symbol next to it, it
means you need to save
• The bottom right corner shows
you what port you are using to talk
Output Pane
to the Arduino. This is called a
COM port.

COM port
Arduino Sketch
• A basic program in Arduino
might look like this
• Anything in orange is a built-in
Arduino function
• Anything in blue is a input for
that function
• Anything after the // is a
comment
Example: Pushbutton with LED
Example: Temperature &
Humidity Sensor

You might also like