Arduino
Arduino
HELLO!
2
EXCITED ?
3
1.Microcontroller
Let’s start with a quick revision
“
Software comes from heaven
when you have a good
hardware”
-Ken olsen
5
Terminology
▪ Clock
▪ Clock Source
▪ Flash memory
▪ S RAM
▪ EEPROM
▪ VCC
▪ Gnd
6
Contd.
▪Port
▪ADC
▪Motor Driver
7
Microcontroller and actuators
▪Instructions to microcontroller
▪Development Boards
8
DEVELOPMENT BOARDS
9
Arduino
AVR
10
Arduino
11
Features
▪Ease to use
▪Separate pins for digital(14) and analog(6)
▪Ground , IN/OUT, Vcc
▪PWM pins
▪USB interface
12
Arduino Uno
13
Why Arduino
▪User ease
▪IDE Environment with libraries
▪Libraries : Plug and Play
14
When to use Arduino
▪Want to make something
15
Arduino Environment
16
Upload
Compile
17
Serial monitor
18
Console
19
20
Code
▪Comments
▪Void setup
▪Void loop
▪Other functions
21
Comments
▪To understand coders mind better
22
❑Void setup:
1. Inbuilt function
2. One time called
3. Declaration of I/O ports
23
❑Void loop:
1. Inbuilt function
2. Called again and again time
3. Execution of logic
24