Arduino Tour 2019: Draft Presentation - May 5, 2019
Arduino Tour 2019: Draft Presentation - May 5, 2019
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
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