SlideShare une entreprise Scribd logo
1  sur  21
ARE YOU GUYS EXCITED ??
SHALL WE BEGIN ??
What do you remember when you hear the
word electronics ?
CURRENT
ELECTRICITY
VOLTAGE
AMPS
VOLTS
CHARGES
IONS
Electricity is the set of physical phenomena associated with the presence and motion
of matter that has a property of electric charge.
ELECTRICITY
CURRENT (AMPS)
An electric current is a stream of charged particles, such as electrons or ions, moving
through an electrical conductor or space. It is measured as the net rate of flow of
electric charge through a surface or into a control volume.
Voltage is the pressure from an electrical circuit's power source that pushes
charged electrons (current) through a conducting loop
VOLTAGE (VOLTS)
EMBEDDED SYSTEM
An embedded system is a computer system, a combination of a computer
processor, computer memory, and input/output peripheral devices that has a
dedicated function within a larger mechanical or electronic system.
MICRO-CONTROLLER
It is a micro-computer. As any computer, it has
internal CPU, RAM, IOs interface.
It is used for control purposes, and for data
analysis
Famous micro-controller manufactures are
Microchip, Atmel, Analog devices and more.
What is Arduino ?
 A micro-controller board , contains on-board power supply , USB port to
communicate with PC, and an Atmel microcontroller chip.
 It simplify the process of creating any control system by providing the standard
board that can be programmed and connected to the system without the need
of sophisticated PCB design and implementation.
 It is an open source hardware, any one can get the details of its design and
modify it or make his own himself.
HISTORY OF ARDUINO
 The Arduino project was started at the Interaction Design Institute Ivrea (IDII)
in Ivrea, Italy.
 The Arduino project began in the year 2005.
 The main aim behind building this board to provide low cost
easily usable for beginners.
 The name Arduino comes from the bar in Italy, “Arduin”
Arduino boards :
Arduino Uno :
Digital or Analog ?
All physical quantities are analog.
* Analog means the quantity can take any value between its minimum
value and maximum value.
Ex: variation of amplitude in sine wave.
* Digital means that the quantity can take specific levels of values with
specific offset between each other
Ex: square waves , they are either high or low but do not have
intermediate value.
MAJOR COMPONENTS OF ARDUINO
 AL unit - This unit does arithmetic and logic operations
 Memory unit - stored the data, instructions, program, assignment of ports
(input/output).
 Input and Output ports - Once assigned they read or write through this
ports.
 Control unit – Generally like a CPU, where it handles all the operations.
FEATURES OF MICROPROCESSOR ATmega328
 ATmega328 is an 8-bit, 28-Pin AVR Microcontroller.
 It follows RISC Architecture and has a flash-type program memory of 32KB.
 It has an EEPROM memory of 1KB and its SRAM memory is 2KB.
 It has 8 Pins for ADC operations ( PA0 – PA7 ).
 It also has 3 built-in Timers, two of them are 8 Bit timers while the third
one is 16-Bit Timer.
Code structure :
Initialization section
Void setup ()
{
….. // use to indicate the initial values of system on starting
}
Void loop()
{
…..// contains the statements that will run whenever the system is powered
after setup.
}
Data Types and Operators
INTEGER : Used with integer variables with value between 2147483647
and -2147483647.
Ex: int x=1200;
CHARACTER : used with single character to represent all the characters
(a-z and A-Z).
Ex: char =‘r’;
LONG : long variables are extended size variable for number storage and
store 32 bits (4 bytes), Range Is from -2,17,483,648 to 2,17,483,647.
Ex: long u =199203;
FLOATING POINT : Number can be as large as 3.4028235E+38 and as low
as - 3.4028235E+38. They are sorted as 32
bits information (4 bytes)
Ex : float num=1.291;
CONTROL STATEMENTS
If conditioning
if (condition )
{
statement-1 ;
……
Statement –N;
}
Else if(condition2)
{
statements;
}
Else {statements;}
CONTROL STATEMENTS:
 Switch case :
switch(var)
{
Case1:
// do something when var equals 1
Break;
case2:
// do something when var equals 2
break;
default :
// if nothing else matches, do the
default
// default is optional
}
LOOP STATEMENTS :
DO WHILE :
do
{
statements;
}
WHILE :
while (condition)
{ statements;}
FOR
For (int i=0; i<=val; i++)
{
statements;
}
Few input and output functions
pinMode();
digitalRead();
digitalWrite();
analogRead();
analogWrite();
Delay();
Serial.Print();
Serial.Println();
HURRAY !! WE ARE DONE

Contenu connexe

Similaire à arduino-1.pptxbxavvgAzccgzs fla sh ga aana

Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
Spitiq
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
Wingston
 
ATmegaMicrocontrollerArchitecturenotes.pptx
ATmegaMicrocontrollerArchitecturenotes.pptxATmegaMicrocontrollerArchitecturenotes.pptx
ATmegaMicrocontrollerArchitecturenotes.pptx
aartis110
 
Introducttion to robotics and microcontrollers
Introducttion to robotics and microcontrollersIntroducttion to robotics and microcontrollers
Introducttion to robotics and microcontrollers
Sandeep Kamath
 
Internet of Things Unit 3 notes-Design and Development and Arduino.pptx
Internet of Things Unit 3 notes-Design and Development and Arduino.pptxInternet of Things Unit 3 notes-Design and Development and Arduino.pptx
Internet of Things Unit 3 notes-Design and Development and Arduino.pptx
Dinola2
 

Similaire à arduino-1.pptxbxavvgAzccgzs fla sh ga aana (20)

ARDUINO Presentation1.pptx
ARDUINO Presentation1.pptxARDUINO Presentation1.pptx
ARDUINO Presentation1.pptx
 
Arduino by yogesh t s'
Arduino by yogesh t s'Arduino by yogesh t s'
Arduino by yogesh t s'
 
Bluetooth Home Automation
Bluetooth Home AutomationBluetooth Home Automation
Bluetooth Home Automation
 
Arduino_Beginner.pptx
Arduino_Beginner.pptxArduino_Beginner.pptx
Arduino_Beginner.pptx
 
Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
 
Arduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic ArduinoArduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic Arduino
 
How to-teach-an-online-circuits-class-with-tinkercad US ICT project
How to-teach-an-online-circuits-class-with-tinkercad US ICT projectHow to-teach-an-online-circuits-class-with-tinkercad US ICT project
How to-teach-an-online-circuits-class-with-tinkercad US ICT project
 
Iot Workshop NITT 2015
Iot Workshop NITT 2015Iot Workshop NITT 2015
Iot Workshop NITT 2015
 
Arduino_Beginner.pptx
Arduino_Beginner.pptxArduino_Beginner.pptx
Arduino_Beginner.pptx
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
Arduino Programming Basic
Arduino Programming BasicArduino Programming Basic
Arduino Programming Basic
 
Electronics Microcontrollers for IoT applications
Electronics Microcontrollers for IoT applicationsElectronics Microcontrollers for IoT applications
Electronics Microcontrollers for IoT applications
 
Embedded System Real Time Operating System (ERTS) I unit by vijay
Embedded System Real Time Operating System (ERTS) I unit by vijayEmbedded System Real Time Operating System (ERTS) I unit by vijay
Embedded System Real Time Operating System (ERTS) I unit by vijay
 
Contactless digital tachometer using microcontroller
Contactless digital tachometer using microcontroller Contactless digital tachometer using microcontroller
Contactless digital tachometer using microcontroller
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
 
ATmegaMicrocontrollerArchitecturenotes.pptx
ATmegaMicrocontrollerArchitecturenotes.pptxATmegaMicrocontrollerArchitecturenotes.pptx
ATmegaMicrocontrollerArchitecturenotes.pptx
 
Introduction to Arduino 16822775 (2).ppt
Introduction to Arduino 16822775 (2).pptIntroduction to Arduino 16822775 (2).ppt
Introduction to Arduino 16822775 (2).ppt
 
Introducttion to robotics and microcontrollers
Introducttion to robotics and microcontrollersIntroducttion to robotics and microcontrollers
Introducttion to robotics and microcontrollers
 
Internet of Things Unit 3 notes-Design and Development and Arduino.pptx
Internet of Things Unit 3 notes-Design and Development and Arduino.pptxInternet of Things Unit 3 notes-Design and Development and Arduino.pptx
Internet of Things Unit 3 notes-Design and Development and Arduino.pptx
 

Dernier

Go paperless and transform your procurement process with the Hive Collaborati...
Go paperless and transform your procurement process with the Hive Collaborati...Go paperless and transform your procurement process with the Hive Collaborati...
Go paperless and transform your procurement process with the Hive Collaborati...
LitoGarin1
 
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
yulianti213969
 
obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di Bontang
obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di  Bontangobat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di  Bontang
obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di Bontang
siskavia95
 
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
ppy8zfkfm
 
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxAudience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Stephen266013
 
原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证
pwgnohujw
 
一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单
一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单
一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单
aqpto5bt
 
sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444
saurabvyas476
 
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
zifhagzkk
 
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di Ban...
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di  Ban...obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di  Ban...
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di Ban...
siskavia95
 

Dernier (20)

Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
 
MATERI MANAJEMEN OF PENYAKIT TETANUS.ppt
MATERI  MANAJEMEN OF PENYAKIT TETANUS.pptMATERI  MANAJEMEN OF PENYAKIT TETANUS.ppt
MATERI MANAJEMEN OF PENYAKIT TETANUS.ppt
 
Go paperless and transform your procurement process with the Hive Collaborati...
Go paperless and transform your procurement process with the Hive Collaborati...Go paperless and transform your procurement process with the Hive Collaborati...
Go paperless and transform your procurement process with the Hive Collaborati...
 
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
 
Formulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdfFormulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdf
 
Aggregations - The Elasticsearch "GROUP BY"
Aggregations - The Elasticsearch "GROUP BY"Aggregations - The Elasticsearch "GROUP BY"
Aggregations - The Elasticsearch "GROUP BY"
 
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
 
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
 
obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di Bontang
obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di  Bontangobat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di  Bontang
obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di Bontang
 
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
 
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxAudience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptx
 
原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证
 
一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单
一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单
一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单
 
Genuine love spell caster )! ,+27834335081) Ex lover back permanently in At...
Genuine love spell caster )! ,+27834335081)   Ex lover back permanently in At...Genuine love spell caster )! ,+27834335081)   Ex lover back permanently in At...
Genuine love spell caster )! ,+27834335081) Ex lover back permanently in At...
 
sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444
 
Seven tools of quality control.slideshare
Seven tools of quality control.slideshareSeven tools of quality control.slideshare
Seven tools of quality control.slideshare
 
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
 
Bios of leading Astrologers & Researchers
Bios of leading Astrologers & ResearchersBios of leading Astrologers & Researchers
Bios of leading Astrologers & Researchers
 
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di Ban...
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di  Ban...obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di  Ban...
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di Ban...
 
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarjSCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
 

arduino-1.pptxbxavvgAzccgzs fla sh ga aana

  • 1. ARE YOU GUYS EXCITED ?? SHALL WE BEGIN ??
  • 2. What do you remember when you hear the word electronics ?
  • 4. Electricity is the set of physical phenomena associated with the presence and motion of matter that has a property of electric charge. ELECTRICITY CURRENT (AMPS) An electric current is a stream of charged particles, such as electrons or ions, moving through an electrical conductor or space. It is measured as the net rate of flow of electric charge through a surface or into a control volume. Voltage is the pressure from an electrical circuit's power source that pushes charged electrons (current) through a conducting loop VOLTAGE (VOLTS)
  • 5. EMBEDDED SYSTEM An embedded system is a computer system, a combination of a computer processor, computer memory, and input/output peripheral devices that has a dedicated function within a larger mechanical or electronic system.
  • 6. MICRO-CONTROLLER It is a micro-computer. As any computer, it has internal CPU, RAM, IOs interface. It is used for control purposes, and for data analysis Famous micro-controller manufactures are Microchip, Atmel, Analog devices and more.
  • 7. What is Arduino ?  A micro-controller board , contains on-board power supply , USB port to communicate with PC, and an Atmel microcontroller chip.  It simplify the process of creating any control system by providing the standard board that can be programmed and connected to the system without the need of sophisticated PCB design and implementation.  It is an open source hardware, any one can get the details of its design and modify it or make his own himself.
  • 8. HISTORY OF ARDUINO  The Arduino project was started at the Interaction Design Institute Ivrea (IDII) in Ivrea, Italy.  The Arduino project began in the year 2005.  The main aim behind building this board to provide low cost easily usable for beginners.  The name Arduino comes from the bar in Italy, “Arduin”
  • 11. Digital or Analog ? All physical quantities are analog. * Analog means the quantity can take any value between its minimum value and maximum value. Ex: variation of amplitude in sine wave. * Digital means that the quantity can take specific levels of values with specific offset between each other Ex: square waves , they are either high or low but do not have intermediate value.
  • 12.
  • 13. MAJOR COMPONENTS OF ARDUINO  AL unit - This unit does arithmetic and logic operations  Memory unit - stored the data, instructions, program, assignment of ports (input/output).  Input and Output ports - Once assigned they read or write through this ports.  Control unit – Generally like a CPU, where it handles all the operations.
  • 14. FEATURES OF MICROPROCESSOR ATmega328  ATmega328 is an 8-bit, 28-Pin AVR Microcontroller.  It follows RISC Architecture and has a flash-type program memory of 32KB.  It has an EEPROM memory of 1KB and its SRAM memory is 2KB.  It has 8 Pins for ADC operations ( PA0 – PA7 ).  It also has 3 built-in Timers, two of them are 8 Bit timers while the third one is 16-Bit Timer.
  • 15. Code structure : Initialization section Void setup () { ….. // use to indicate the initial values of system on starting } Void loop() { …..// contains the statements that will run whenever the system is powered after setup. }
  • 16. Data Types and Operators INTEGER : Used with integer variables with value between 2147483647 and -2147483647. Ex: int x=1200; CHARACTER : used with single character to represent all the characters (a-z and A-Z). Ex: char =‘r’; LONG : long variables are extended size variable for number storage and store 32 bits (4 bytes), Range Is from -2,17,483,648 to 2,17,483,647. Ex: long u =199203; FLOATING POINT : Number can be as large as 3.4028235E+38 and as low as - 3.4028235E+38. They are sorted as 32 bits information (4 bytes) Ex : float num=1.291;
  • 17. CONTROL STATEMENTS If conditioning if (condition ) { statement-1 ; …… Statement –N; } Else if(condition2) { statements; } Else {statements;}
  • 18. CONTROL STATEMENTS:  Switch case : switch(var) { Case1: // do something when var equals 1 Break; case2: // do something when var equals 2 break; default : // if nothing else matches, do the default // default is optional }
  • 19. LOOP STATEMENTS : DO WHILE : do { statements; } WHILE : while (condition) { statements;} FOR For (int i=0; i<=val; i++) { statements; }
  • 20. Few input and output functions pinMode(); digitalRead(); digitalWrite(); analogRead(); analogWrite(); Delay(); Serial.Print(); Serial.Println();
  • 21. HURRAY !! WE ARE DONE