SlideShare a Scribd company logo
1 of 23
Download to read offline
INTRODUCTION
THE ARDUINO
PRESENT BY THINGERBIT ELECTRONICS
WWW.THINGERBITS.COM
What is a
Microcontroller?
Computer on a single integrated chip
● Processor (CPU)
● Memory (RAM / ROM / Flash)
● I/O ports (USB, I2C, SPI, ADC)
Used in:
Common microcontroller families:
● Intel: 4004, 8008, etc.
● Atmel: AT and AVR
● Microchip: PIC
● ARM: (multiple manufacturers)
● Cellphones
● Toys
● Household appliances
● Cars
● Cameras
The ATmega328P
Microcontroller
AVR 8-bit RISC architecture
Up to 20 MHz clock
Available in DIP package
32kB flash memory
1 kB SRAM
23 programmable I/O channels
Six 10-bit ADC inputs
Three timers/counters
Six PWM outputs
What is Arduino Not?
❏ It is not a chip (IC)
❏ It is not a board (PCB)
❏ It is not a company or a manufacturer
❏ It is not a programming language
❏ It is not a computer architecture
(although it involves all of these things...)
So what is Arduino?
Founded by Massimo Banzi and David Cuartielles in 2005
Open-source hardware platform
Based on “Wiring Platform”, which dates to 2003
● Easy-to learn language and libraries (based on Wiring
language)
● Integrated development environment (based on Processing
programming environment)
● Available for Windows / Mac / Linux
It’s a movement, not a microcontroller:
Open source development environment
The Many Flavors
of Arduino
● Arduino Uno
● Arduino Leonardo
● Arduino LilyPad
● Arduino Mega
● Arduino Nano
● Arduino Mini
● Arduino Mini Pro
● Arduino BT
Arduino-like
Systems
● BBC Micro:bit (ARM)
● NodeMCU (ARM)
● Teensy(ARM)
● BeagleBoard (Linux)
● STM32 Discovery
● magicblocks
Arduino Add-ons (Shields)
TFT Touch Screen
Motor/Servo shield
Data logger
Ethernet shield
Audio wave shield
WiFi shield
Cellular/GSM shield
Proto-shield
many more…...
Where to Get an Arduino Board
Purchase from online
vendor (available
Sri Lanka)
Getting to know the Arduino
◆ Digital I/O ports is used to connect to other components
or modules, to receive an input signal, or to send a control
signal. Usually, we name it by adding a "D" in front of the
number, such as D13.
◆ USB interface is used to provide power, upload code or
communicate with PC.
◆ LED L is connected to digital I/O port 13 (D13).
◆ LED TX, RX is used to indicate the state of the serial
communication.
◆ DC interface is connected DC power to provide power for
the board.
◆ Power ports can provide power for electronic components
and modules.
◆ Analog I/O ports can be used to measure analog signals.
◆ LED ON is used to indicate the power state.
ARDUINO IDE
ONLINE IDE OFFLINE IDE
Download and Install
Download Arduino compiler and development environment
from: http://arduino.cc/en/Main/Software
Before running Arduino, plug in your board using USB cable
(external power is not necessary)
Current version: 1.6.8
● Windows
● MacOX
● Linux
Open source development environment
Select your Board
You have to select the arduino
board type in your IDE. I am using
an Arduino Uno board. To choose
the board, find Tools on menu bar.
Choose the option “Board” – and
select your correct arduino board
Select Serial Port
The port number is assigned while
installing the hardware driver of
board. You may refer the tutorial on
Installing Arduino on Windows to
know how to find the port number of
board. You can find the port number
by accessing device manager on
Windows. See the section Port (COM
& LPT) and look for an open port
named “Arduino Uno (COMxx)“. If you
are using a different board, you will
find a name accordingly. What
matters is the xx in COMxx part. In my
case, its COM5. So my port number is
5. To select the right port, go to
Tools–> Serial Port and select the
port number.
Elements of the Arduino IDE
• Text editor
– syntax and keyword
coloring
– automatic indentation
– programming shortcuts
• Compiler
• Hardware Interface
– Uploading programs
– Communicating with
Arduino via USB
Using the Arduino IDE
1. Verify: Compiles and approves your code. It will catch errors in
syntax (like missing semicolons or parentheses).
2. Upload: Sends your code to the 101 board.
3. New: This buttons opens up a new code window tab.
4. Open: This button will let you open up an existing sketch.
5. Save: This saves the currently active sketch.
6. Serial Monitor: This will open a window that displays any serial
information your 101 board is transmitting. It is very useful for
debugging.
7. Sketch Name: This shows the name of the sketch you are currently
working on.
8. Code Area: This is the area where you compose the code for your
sketch.
9. Message Area: This is where the IDE tells you if there were any
errors in your code.
10. Text Console: The text console shows complete error messages.
When debugging, the text console is very useful.
11. Board and Serial Port: Shows you what board and the serial port
selections.
Arduino Reference
Arduino Sketch Structure
void setup()
● Will be executed repeatedly
void loop()
● Will be executed only when the program
begins (or reset button is pressed)
Activity 1: LED Blink
Load the “Blink” example (File>Examples>Basics>Blink)
Compile, then upload the program
Congratulations! you are now blinkers!
Now connect your own LED
Resistor is needed to limit current
Pin 13 is special: has built-in
resistor and LED
Resistor and LED may be
interchanged
(but polarity of LED is important)
Change program and upload
Experimenting
Change the blink rate
– how fast can the LED blink (before you can no longer perceive the blinking?)
– (...without changing the resistor?)
How would you make the LED dimmer?
Summary
Introduction to Arduino
❖ About of Arduino
❖ History of Arduino
❖ Arduino Board
❖ Arduino Software
➢ How to Use Online Arduino IDE
➢ Install Arduino Offline IDE - Windows
➢ Download Arduino IDE
➢ Arduino Online IDE
❖ First Use
❖ Blink Program Code
❖ Pinout Diagram - Arduino Uno
What’s Next?
Chapter 1 - LED Blink
● Project 1.1 - Control LED by Manual Button
● Circuit Knowledge
1. Power supply
2. Voltage
3. Current (I)
4. Resistor
● Component knowledge
1. Jumper
2. Breadboard
3. Push button
4. LED
● Circuit
● Project 1.2 Control LED by Arduino
● Circuit knowledge
1. Analog signal & Digital signal
2. Low level & high level
● Code knowledge
1. Comments
2. Data type
3. Constant
4. Variable
5. Function
● Circuit
● Sketch

More Related Content

What's hot

Arduino and its hw architecture
Arduino and its hw architectureArduino and its hw architecture
Arduino and its hw architectureZeeshan Rafiq
 
Introduction to Arduino and Hands on to Iot
Introduction to Arduino and Hands on to IotIntroduction to Arduino and Hands on to Iot
Introduction to Arduino and Hands on to IotSachin S
 
Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino unoRahat Sood
 
Arduino technical session 1
Arduino technical session 1Arduino technical session 1
Arduino technical session 1Audiomas Soni
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to ArduinoQtechknow
 
Programming with arduino
Programming with arduinoProgramming with arduino
Programming with arduinoMakers of India
 
Introducing the Arduino
Introducing the ArduinoIntroducing the Arduino
Introducing the ArduinoCharles A B Jr
 
Codesign-Oriented Platform for Agile Internet of Things Prototype Development
Codesign-Oriented Platform for Agile Internet of Things Prototype DevelopmentCodesign-Oriented Platform for Agile Internet of Things Prototype Development
Codesign-Oriented Platform for Agile Internet of Things Prototype DevelopmentJonathan Ruiz de Garibay
 
Introduction to arduino!
Introduction to arduino!Introduction to arduino!
Introduction to arduino!Makers of India
 
The IoT Academy IoT training Arduino Part 2 Arduino IDE
The IoT Academy IoT training Arduino Part 2 Arduino IDEThe IoT Academy IoT training Arduino Part 2 Arduino IDE
The IoT Academy IoT training Arduino Part 2 Arduino IDEThe IOT Academy
 
arduino-ppt
 arduino-ppt arduino-ppt
arduino-pptjhcid
 
Intro to Hardware Programming with the Arduino Uno
Intro to Hardware Programming with the Arduino UnoIntro to Hardware Programming with the Arduino Uno
Intro to Hardware Programming with the Arduino UnoVui Nguyen
 
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauriArduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauriGaurav Pandey
 

What's hot (20)

Start with arduino
Start with arduinoStart with arduino
Start with arduino
 
Arduino and its hw architecture
Arduino and its hw architectureArduino and its hw architecture
Arduino and its hw architecture
 
Introduction to Arduino and Hands on to Iot
Introduction to Arduino and Hands on to IotIntroduction to Arduino and Hands on to Iot
Introduction to Arduino and Hands on to Iot
 
Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino uno
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
 
Arduino technical session 1
Arduino technical session 1Arduino technical session 1
Arduino technical session 1
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduino
 
Programming with arduino
Programming with arduinoProgramming with arduino
Programming with arduino
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Introducing the Arduino
Introducing the ArduinoIntroducing the Arduino
Introducing the Arduino
 
Lecture 8
Lecture 8Lecture 8
Lecture 8
 
Codesign-Oriented Platform for Agile Internet of Things Prototype Development
Codesign-Oriented Platform for Agile Internet of Things Prototype DevelopmentCodesign-Oriented Platform for Agile Internet of Things Prototype Development
Codesign-Oriented Platform for Agile Internet of Things Prototype Development
 
Introduction to arduino!
Introduction to arduino!Introduction to arduino!
Introduction to arduino!
 
Arduino day 2019
Arduino day 2019Arduino day 2019
Arduino day 2019
 
The IoT Academy IoT training Arduino Part 2 Arduino IDE
The IoT Academy IoT training Arduino Part 2 Arduino IDEThe IoT Academy IoT training Arduino Part 2 Arduino IDE
The IoT Academy IoT training Arduino Part 2 Arduino IDE
 
arduino-ppt
 arduino-ppt arduino-ppt
arduino-ppt
 
Intro to Hardware Programming with the Arduino Uno
Intro to Hardware Programming with the Arduino UnoIntro to Hardware Programming with the Arduino Uno
Intro to Hardware Programming with the Arduino Uno
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
CTC - What is Arduino
CTC - What is ArduinoCTC - What is Arduino
CTC - What is Arduino
 
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauriArduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
 

Similar to Indroduction arduino

Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to ArduinoDamien Magoni
 
aurduino-200107075953.pdf
aurduino-200107075953.pdfaurduino-200107075953.pdf
aurduino-200107075953.pdfHebaEng
 
Arduino: On-board components description, IDE and Programming
Arduino: On-board components description, IDE and Programming Arduino: On-board components description, IDE and Programming
Arduino: On-board components description, IDE and Programming Pawan Dubey, PhD
 
Embedded L1_notes_unit2_architecture.pptx
Embedded L1_notes_unit2_architecture.pptxEmbedded L1_notes_unit2_architecture.pptx
Embedded L1_notes_unit2_architecture.pptxaartis110
 
Arduino workshop
Arduino workshopArduino workshop
Arduino workshopmayur1432
 
Physical prototyping lab1-input_output (2)
Physical prototyping lab1-input_output (2)Physical prototyping lab1-input_output (2)
Physical prototyping lab1-input_output (2)Tony Olsson.
 
Oop 2014 embedded systems with open source hardware v2
Oop 2014 embedded systems with open source hardware v2Oop 2014 embedded systems with open source hardware v2
Oop 2014 embedded systems with open source hardware v2Michael Stal
 
Arduino by yogesh t s'
Arduino by yogesh t s'Arduino by yogesh t s'
Arduino by yogesh t s'tsyogesh46
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduinoavikdhupar
 
Arduino Labs Introduction
Arduino Labs IntroductionArduino Labs Introduction
Arduino Labs IntroductionOpen.Embedded
 
Introduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and ProgrammingIntroduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and ProgrammingEmmanuel Obot
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (Dhruwank Vankawala
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (Dhruwank Vankawala
 

Similar to Indroduction arduino (20)

Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
aurduino-200107075953.pdf
aurduino-200107075953.pdfaurduino-200107075953.pdf
aurduino-200107075953.pdf
 
Arduino: On-board components description, IDE and Programming
Arduino: On-board components description, IDE and Programming Arduino: On-board components description, IDE and Programming
Arduino: On-board components description, IDE and Programming
 
Embedded L1_notes_unit2_architecture.pptx
Embedded L1_notes_unit2_architecture.pptxEmbedded L1_notes_unit2_architecture.pptx
Embedded L1_notes_unit2_architecture.pptx
 
Arduino workshop
Arduino workshopArduino workshop
Arduino workshop
 
What is Arduino ?
What is Arduino ?What is Arduino ?
What is Arduino ?
 
arduinoedit.pptx
arduinoedit.pptxarduinoedit.pptx
arduinoedit.pptx
 
Physical prototyping lab1-input_output (2)
Physical prototyping lab1-input_output (2)Physical prototyping lab1-input_output (2)
Physical prototyping lab1-input_output (2)
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Oop 2014 embedded systems with open source hardware v2
Oop 2014 embedded systems with open source hardware v2Oop 2014 embedded systems with open source hardware v2
Oop 2014 embedded systems with open source hardware v2
 
Arduino by yogesh t s'
Arduino by yogesh t s'Arduino by yogesh t s'
Arduino by yogesh t s'
 
arduino uno.pptx
arduino uno.pptxarduino uno.pptx
arduino uno.pptx
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduino
 
Arduino Labs Introduction
Arduino Labs IntroductionArduino Labs Introduction
Arduino Labs Introduction
 
Report on arduino
Report on arduinoReport on arduino
Report on arduino
 
What is arduino
What is arduinoWhat is arduino
What is arduino
 
Introduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and ProgrammingIntroduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and Programming
 
Arduino
ArduinoArduino
Arduino
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (
 

Recently uploaded

Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
HLH PPT.ppt very important topic to discuss
HLH PPT.ppt very important topic to discussHLH PPT.ppt very important topic to discuss
HLH PPT.ppt very important topic to discussDrMSajidNoor
 
Abort pregnancy in research centre+966_505195917 abortion pills in Kuwait cyt...
Abort pregnancy in research centre+966_505195917 abortion pills in Kuwait cyt...Abort pregnancy in research centre+966_505195917 abortion pills in Kuwait cyt...
Abort pregnancy in research centre+966_505195917 abortion pills in Kuwait cyt...drmarathore
 
Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...amitlee9823
 
Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)amitlee9823
 
怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证
怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证
怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证tufbav
 
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...motiram463
 
SM-N975F esquematico completo - reparación.pdf
SM-N975F esquematico completo - reparación.pdfSM-N975F esquematico completo - reparación.pdf
SM-N975F esquematico completo - reparación.pdfStefanoBiamonte1
 
Call Girls in Vashi Escorts Services - 7738631006
Call Girls in Vashi Escorts Services - 7738631006Call Girls in Vashi Escorts Services - 7738631006
Call Girls in Vashi Escorts Services - 7738631006Pooja Nehwal
 
➥🔝 7737669865 🔝▻ Deoghar Call-girls in Women Seeking Men 🔝Deoghar🔝 Escorts...
➥🔝 7737669865 🔝▻ Deoghar Call-girls in Women Seeking Men  🔝Deoghar🔝   Escorts...➥🔝 7737669865 🔝▻ Deoghar Call-girls in Women Seeking Men  🔝Deoghar🔝   Escorts...
➥🔝 7737669865 🔝▻ Deoghar Call-girls in Women Seeking Men 🔝Deoghar🔝 Escorts...amitlee9823
 
一比一定(购)新西兰林肯大学毕业证(Lincoln毕业证)成绩单学位证
一比一定(购)新西兰林肯大学毕业证(Lincoln毕业证)成绩单学位证一比一定(购)新西兰林肯大学毕业证(Lincoln毕业证)成绩单学位证
一比一定(购)新西兰林肯大学毕业证(Lincoln毕业证)成绩单学位证wpkuukw
 
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...amitlee9823
 
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)amitlee9823
 
Escorts Service Daryaganj - 9899900591 College Girls & Models 24/7
Escorts Service Daryaganj - 9899900591 College Girls & Models 24/7Escorts Service Daryaganj - 9899900591 College Girls & Models 24/7
Escorts Service Daryaganj - 9899900591 College Girls & Models 24/7shivanni mehta
 
Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)amitlee9823
 
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...ranjana rawat
 
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night StandCall Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Call Girls in Nagpur High Profile
 

Recently uploaded (20)

Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Booking
 
HLH PPT.ppt very important topic to discuss
HLH PPT.ppt very important topic to discussHLH PPT.ppt very important topic to discuss
HLH PPT.ppt very important topic to discuss
 
Abort pregnancy in research centre+966_505195917 abortion pills in Kuwait cyt...
Abort pregnancy in research centre+966_505195917 abortion pills in Kuwait cyt...Abort pregnancy in research centre+966_505195917 abortion pills in Kuwait cyt...
Abort pregnancy in research centre+966_505195917 abortion pills in Kuwait cyt...
 
Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
 
Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证
怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证
怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证
 
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
 
SM-N975F esquematico completo - reparación.pdf
SM-N975F esquematico completo - reparación.pdfSM-N975F esquematico completo - reparación.pdf
SM-N975F esquematico completo - reparación.pdf
 
CHEAP Call Girls in Vinay Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Vinay Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Vinay Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Vinay Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Call Girls in Vashi Escorts Services - 7738631006
Call Girls in Vashi Escorts Services - 7738631006Call Girls in Vashi Escorts Services - 7738631006
Call Girls in Vashi Escorts Services - 7738631006
 
➥🔝 7737669865 🔝▻ Deoghar Call-girls in Women Seeking Men 🔝Deoghar🔝 Escorts...
➥🔝 7737669865 🔝▻ Deoghar Call-girls in Women Seeking Men  🔝Deoghar🔝   Escorts...➥🔝 7737669865 🔝▻ Deoghar Call-girls in Women Seeking Men  🔝Deoghar🔝   Escorts...
➥🔝 7737669865 🔝▻ Deoghar Call-girls in Women Seeking Men 🔝Deoghar🔝 Escorts...
 
一比一定(购)新西兰林肯大学毕业证(Lincoln毕业证)成绩单学位证
一比一定(购)新西兰林肯大学毕业证(Lincoln毕业证)成绩单学位证一比一定(购)新西兰林肯大学毕业证(Lincoln毕业证)成绩单学位证
一比一定(购)新西兰林肯大学毕业证(Lincoln毕业证)成绩单学位证
 
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...
 
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
Escorts Service Daryaganj - 9899900591 College Girls & Models 24/7
Escorts Service Daryaganj - 9899900591 College Girls & Models 24/7Escorts Service Daryaganj - 9899900591 College Girls & Models 24/7
Escorts Service Daryaganj - 9899900591 College Girls & Models 24/7
 
Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
(INDIRA) Call Girl Napur Call Now 8617697112 Napur Escorts 24x7
(INDIRA) Call Girl Napur Call Now 8617697112 Napur Escorts 24x7(INDIRA) Call Girl Napur Call Now 8617697112 Napur Escorts 24x7
(INDIRA) Call Girl Napur Call Now 8617697112 Napur Escorts 24x7
 
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...
 
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night StandCall Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Stand
 
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
 

Indroduction arduino

  • 1. INTRODUCTION THE ARDUINO PRESENT BY THINGERBIT ELECTRONICS WWW.THINGERBITS.COM
  • 2. What is a Microcontroller? Computer on a single integrated chip ● Processor (CPU) ● Memory (RAM / ROM / Flash) ● I/O ports (USB, I2C, SPI, ADC) Used in: Common microcontroller families: ● Intel: 4004, 8008, etc. ● Atmel: AT and AVR ● Microchip: PIC ● ARM: (multiple manufacturers) ● Cellphones ● Toys ● Household appliances ● Cars ● Cameras
  • 3. The ATmega328P Microcontroller AVR 8-bit RISC architecture Up to 20 MHz clock Available in DIP package 32kB flash memory 1 kB SRAM 23 programmable I/O channels Six 10-bit ADC inputs Three timers/counters Six PWM outputs
  • 4. What is Arduino Not? ❏ It is not a chip (IC) ❏ It is not a board (PCB) ❏ It is not a company or a manufacturer ❏ It is not a programming language ❏ It is not a computer architecture (although it involves all of these things...)
  • 5. So what is Arduino? Founded by Massimo Banzi and David Cuartielles in 2005 Open-source hardware platform Based on “Wiring Platform”, which dates to 2003 ● Easy-to learn language and libraries (based on Wiring language) ● Integrated development environment (based on Processing programming environment) ● Available for Windows / Mac / Linux It’s a movement, not a microcontroller: Open source development environment
  • 6. The Many Flavors of Arduino ● Arduino Uno ● Arduino Leonardo ● Arduino LilyPad ● Arduino Mega ● Arduino Nano ● Arduino Mini ● Arduino Mini Pro ● Arduino BT
  • 7. Arduino-like Systems ● BBC Micro:bit (ARM) ● NodeMCU (ARM) ● Teensy(ARM) ● BeagleBoard (Linux) ● STM32 Discovery ● magicblocks
  • 8. Arduino Add-ons (Shields) TFT Touch Screen Motor/Servo shield Data logger Ethernet shield Audio wave shield WiFi shield Cellular/GSM shield Proto-shield many more…...
  • 9. Where to Get an Arduino Board Purchase from online vendor (available Sri Lanka)
  • 10. Getting to know the Arduino ◆ Digital I/O ports is used to connect to other components or modules, to receive an input signal, or to send a control signal. Usually, we name it by adding a "D" in front of the number, such as D13. ◆ USB interface is used to provide power, upload code or communicate with PC. ◆ LED L is connected to digital I/O port 13 (D13). ◆ LED TX, RX is used to indicate the state of the serial communication. ◆ DC interface is connected DC power to provide power for the board. ◆ Power ports can provide power for electronic components and modules. ◆ Analog I/O ports can be used to measure analog signals. ◆ LED ON is used to indicate the power state.
  • 11. ARDUINO IDE ONLINE IDE OFFLINE IDE
  • 12. Download and Install Download Arduino compiler and development environment from: http://arduino.cc/en/Main/Software Before running Arduino, plug in your board using USB cable (external power is not necessary) Current version: 1.6.8 ● Windows ● MacOX ● Linux Open source development environment
  • 13. Select your Board You have to select the arduino board type in your IDE. I am using an Arduino Uno board. To choose the board, find Tools on menu bar. Choose the option “Board” – and select your correct arduino board
  • 14. Select Serial Port The port number is assigned while installing the hardware driver of board. You may refer the tutorial on Installing Arduino on Windows to know how to find the port number of board. You can find the port number by accessing device manager on Windows. See the section Port (COM & LPT) and look for an open port named “Arduino Uno (COMxx)“. If you are using a different board, you will find a name accordingly. What matters is the xx in COMxx part. In my case, its COM5. So my port number is 5. To select the right port, go to Tools–> Serial Port and select the port number.
  • 15. Elements of the Arduino IDE • Text editor – syntax and keyword coloring – automatic indentation – programming shortcuts • Compiler • Hardware Interface – Uploading programs – Communicating with Arduino via USB
  • 16. Using the Arduino IDE 1. Verify: Compiles and approves your code. It will catch errors in syntax (like missing semicolons or parentheses). 2. Upload: Sends your code to the 101 board. 3. New: This buttons opens up a new code window tab. 4. Open: This button will let you open up an existing sketch. 5. Save: This saves the currently active sketch. 6. Serial Monitor: This will open a window that displays any serial information your 101 board is transmitting. It is very useful for debugging. 7. Sketch Name: This shows the name of the sketch you are currently working on. 8. Code Area: This is the area where you compose the code for your sketch. 9. Message Area: This is where the IDE tells you if there were any errors in your code. 10. Text Console: The text console shows complete error messages. When debugging, the text console is very useful. 11. Board and Serial Port: Shows you what board and the serial port selections.
  • 18. Arduino Sketch Structure void setup() ● Will be executed repeatedly void loop() ● Will be executed only when the program begins (or reset button is pressed)
  • 19. Activity 1: LED Blink Load the “Blink” example (File>Examples>Basics>Blink) Compile, then upload the program Congratulations! you are now blinkers!
  • 20. Now connect your own LED Resistor is needed to limit current Pin 13 is special: has built-in resistor and LED Resistor and LED may be interchanged (but polarity of LED is important) Change program and upload
  • 21. Experimenting Change the blink rate – how fast can the LED blink (before you can no longer perceive the blinking?) – (...without changing the resistor?) How would you make the LED dimmer?
  • 22. Summary Introduction to Arduino ❖ About of Arduino ❖ History of Arduino ❖ Arduino Board ❖ Arduino Software ➢ How to Use Online Arduino IDE ➢ Install Arduino Offline IDE - Windows ➢ Download Arduino IDE ➢ Arduino Online IDE ❖ First Use ❖ Blink Program Code ❖ Pinout Diagram - Arduino Uno
  • 23. What’s Next? Chapter 1 - LED Blink ● Project 1.1 - Control LED by Manual Button ● Circuit Knowledge 1. Power supply 2. Voltage 3. Current (I) 4. Resistor ● Component knowledge 1. Jumper 2. Breadboard 3. Push button 4. LED ● Circuit ● Project 1.2 Control LED by Arduino ● Circuit knowledge 1. Analog signal & Digital signal 2. Low level & high level ● Code knowledge 1. Comments 2. Data type 3. Constant 4. Variable 5. Function ● Circuit ● Sketch