Arduino
sec 1
➢ What is Arduino?
➢ Why Arduino?
➢ Types of Arduino
Table of contents
➢ Downloading
Arduino program
➢ Arduino GUI
➢ Coding
➢ Library
What is arduino?
Arduino is an open-source electronics platform based
on easy-to-use hardware and software used to build
electronics projects. All Arduino boards have one thing
in common which is a microcontroller. A
microcontroller is basically a small computer
With the Arduino, you can design and build devices
that can interact with your surroundings. The Arduino
boards are basically a tool for controlling electronics.
Why Arduino?
• Inexpensive - Arduino boards are relatively inexpensive compared to other
microcontroller platforms
• Cross-platform - The Arduino Software (IDE) runs on Windows, Macintosh OSX,
and Linux operating systems. Most microcontroller systems are limited to
Windows.
• Simple, clear programming environment - The Arduino Software (IDE) is easy-to-
use for beginners, yet flexible enough for advanced users to take advantage of as
well
• Open source and extensible software - The Arduino software is published as open-
source tools, available for extension by experienced programmers. The language
can be expanded through C++ libraries
• Open source and extensible hardware - The plans of the Arduino boards are
published under a Creative Commons license, so experienced circuit designers can
make their own version of the module, extending it and improving it.
Types of Arduino:
Arduino UNO Lily Pad Arduino
Arduino Leonardo
Arduino Mega Arduino Red Board Arduino Shields
Arduino
Mega
Arduino mega
• The Arduino Mega 2560 is a microcontroller board based on the
ATmega2560 It has 54 digital input/output pins (of which 15 can
be used as PWM outputs), 16 analog inputs, 4 UARTs (hardware
serial ports), a 16 MHz crystal oscillator, a USB connection, a
power jack, an ICSP header, and a reset button
• It contains everything needed to support the microcontroller;
simply connect it to a computer with a USB cable or power it
with a AC-to-DC adapter or battery to get started
Technical Specs of Arduino mega:
MICROCONTROLLER ATmega2560 256 KB OF WHICH 8
OPERATING VOLTAGE 5V FLASH MEMORY KB USED BY BOOT
LOADER
INPUT VOLTAGE
7-12V
(RECOMMENDED) SRAM 8 KB
INPUT VOLTAGE (LIMIT) 6-20V EEPROM 4 KB
54 (of which 15 provide CLOCK SPEED 16 MHZ
DIGITAL I/O PINS
PWM output)
LED_BUILTIN 13
ANALOG INPUT PINS 16
LENGTH 101.52 MM
DC CURRENT PER I/O PIN 20 mA
WIDTH 53.3 MM
DC CURRENT FOR 3.3V
50 mA WEIGHT 37 G
PIN
Downloading Arduino
program
Arduino GUI
Coding
Variables
Comparison Operators
!= (not equal to)
< (less than)
<= (less than or equal to)
== (equal to)
> (greater than)
Arithmetic Operators >= (greater than or equal to)
% (remainder)
* (multiplication) Boolean Operators
+ (addition) ! (logical not)
- (subtraction) && (logical and)
/ (division) || (logical or)
= (assignment operator)
Examples:
Analog I/O
Digital I/O
Control
Structures
Control Structures
Any
Questions?
Links…
[Link]
[Link]
[Link]
[Link]
LqeX_fLU&ab_channel=[Link]
Thank You