SlideShare a Scribd company logo
Arduino Board
Programming
Overview
What is Arduino
• Open source electronics platform
– Easy to use hardware & software
• Equipped with sets of analog & digital I/Os
• Can be interfaced to extension boards ( shields)
• Features USB based communication interface
• Provided with Integrated Development
Environment
• Aimed to provide low-cost and easy way for
students & professionals
• GNU General Public License
Arduino Board
Hardware Block Diagram
ATMEL AVR
MCU
SPI
I2C
UART
Digital
I/O
Analog
Inputs
USB
Interface
POWER
+5 Volts
+3.3 Volts
Clock
Reset
Arduino Uno Pinout
Arduino IDE
• Allows to write program and upload them into
the board
• Online Web Editor
• Arduino Desktop IDE
Sketches
• Program written using Arduino Software
• Written in text editor & save with extension of
.ino
• Arduino uses this name for a program
• Code which will be uploaded and run on the
board
IDE Basic Options
• New
– Creates a new sketch
• Open
– Allows to load the sketch from the system
• Save
– Saves the sketch
• Verify
– Checks the code for errors compiling it
• Upload
– Compiles the code and uploads to configured board
• Serial Monitor
– Opens a serial monitor
• Quit
– Closes all IDE windows
Variables
• a place to store the data
• Has name, value and type
– Example declaration
– int pin = 2;
• Specified only once and can be used many
times
• Variable assignment
– pin = 3;
Functions
• Setup
– Called when a sketch starts
– Used to initialize variables, pin modes, start using
libraries
– Will run only once, after each power up / reset of the
board
• Loop
– Called after creating setup function
– Function loops consecutively
– Allows the program to change & respond
– Actively controls the arduino
Digital I/O
• Generic Pin on an IC / Board
• Configured as Input or Output
• Can be enabled / disabled
• Logic Level
– High
– Low
• Input values are readable
• Output values are writable / readable
• Input configured pins also can be used as Interrupt
• No predefined purpose
Digital Pin Functions
• pinMode
– Configures pin as Output or Input
– pinMode(pin, mode)
• pin : pin number
• mode: INPUT, OUTPUT, INPUT_PULLUP
• digitalWrite
– Writes a High or Low value to a digital pin
– digitalWrite(pin, value)
• pin : pin number
• value : HIGH or LOW
Digital Pin Functions…
• digitalRead
– Reads the current value of specified pin
– int digitalRead(pin)
• pin : pin number
• Returns the current value
UART / Serial Port
• Univeral Asynchronuos Receiver / Transmitter
• Supports NRZ encoding format
• 7 or 8 bit data
• 1 or 2 Stop bits
• Hardware Flow Control
– RTS – Request to Send
– CTS – Clear to Send
• Programmable Parity ( even, odd and none )
• RS485, RS232 compatible
UART Interface
NXP
IMX6
UART
Serial
Device
TXD
RXD
RTS
CTS
Serial function
• begin
• end
• print
• println
• readBytes
• readString
• write
• setTimeout
• available
• availableForWrite
Inter Integrated Circuit Inteface
• Multi master, multi slave serial interface bus
• Uses only two bi-directional open drain lines
– SDA : Serial Data Line
– SCL : Serial Clock Line
• Since lines are open drain, these pins needs to
be pulled high.
– Normally pull up resistor will be 4.7 K / 10K
I2C Model
I2C
Master
uC
I2C
Slave
I2C
Slave
I2C
Slave
VCC
SCL
SDA
R R
I2C / Wire Functions
• begin
• receive
• send
• onRequest
• RequestFrom
Serial Peripheral Interface
• Synchronous Serial Communication Interface
• Used for Short distance. Basically with in the
board
• Full duplex mode with master slave architecture
• Also called as four-wire bus
• Pins
– MISO : Master Input Slave Output
– MOSI : Master Output Slave Input
– SCK : Serial Clock
– SS : Slave Select
SPI Model
SPI
Master
SPI
Slave 1
MOSI
MISO
SCK
SS1
SPI
Slave 2
SS2
Contact Us
• Address :
– No 16, First Floor, Ganesh 1st cross street
– Madipakkam Koot Road, Chennai
• Web : www.neeveetech.com
• Email :
– info@neeveetech.com
– sales@neeveetech.com
Thank You

More Related Content

What's hot (20)

Smart Face Recognition System Analysis
Smart Face Recognition System Analysis
Vishal Aditya
 
Riscv 20160507-patterson
Riscv 20160507-patterson
Krste Asanovic
 
BSP.pptx
BSP.pptx
taruian
 
Polyteda: Power DRC/LVS, October 2016
Polyteda: Power DRC/LVS, October 2016
Oleksandra Nazola
 
Introduction to Microprocessor and Microcontroller.pdf
Introduction to Microprocessor and Microcontroller.pdf
Engineering Funda
 
CXL chapter1 and chapter 2 presentation.pptx
CXL chapter1 and chapter 2 presentation.pptx
kirankumarpalakurthi
 
Vhdl Project List - Verilog Projects
Vhdl Project List - Verilog Projects
E2MATRIX
 
ESP32 IoT presentation @ dev.bg
ESP32 IoT presentation @ dev.bg
Martin Harizanov
 
Residêncial Apoena
Residêncial Apoena
Willian Schneider
 
eMMC Embedded Multimedia Card overview
eMMC Embedded Multimedia Card overview
VijayGESYS
 
Implementation of Soft-core processor on FPGA (Final Presentation)
Implementation of Soft-core processor on FPGA (Final Presentation)
Deepak Kumar
 
The Effect of CPU Clock Rate on Power Consumption
The Effect of CPU Clock Rate on Power Consumption
Marc Bacvanski
 
Programable logic devices (1)
Programable logic devices (1)
pmuthulakshmipmuthul
 
Basys Board Digilent Manual
Basys Board Digilent Manual
zhwryan
 
FPGA DESIGN FLOW.pdf
FPGA DESIGN FLOW.pdf
RMDAcademicCoordinat
 
Introduction to OpenCL, 2010
Introduction to OpenCL, 2010
Tomasz Bednarz
 
RISC-V Foundation Overview
RISC-V Foundation Overview
RISC-V International
 
What is HIL (HardWare In The Loop)
What is HIL (HardWare In The Loop)
Tbrad
 
Heterogeneous Integration with 3D Packaging
Heterogeneous Integration with 3D Packaging
AMD
 
Moving to PCI Express based SSD with NVM Express
Moving to PCI Express based SSD with NVM Express
Odinot Stanislas
 
Smart Face Recognition System Analysis
Smart Face Recognition System Analysis
Vishal Aditya
 
Riscv 20160507-patterson
Riscv 20160507-patterson
Krste Asanovic
 
BSP.pptx
BSP.pptx
taruian
 
Polyteda: Power DRC/LVS, October 2016
Polyteda: Power DRC/LVS, October 2016
Oleksandra Nazola
 
Introduction to Microprocessor and Microcontroller.pdf
Introduction to Microprocessor and Microcontroller.pdf
Engineering Funda
 
CXL chapter1 and chapter 2 presentation.pptx
CXL chapter1 and chapter 2 presentation.pptx
kirankumarpalakurthi
 
Vhdl Project List - Verilog Projects
Vhdl Project List - Verilog Projects
E2MATRIX
 
ESP32 IoT presentation @ dev.bg
ESP32 IoT presentation @ dev.bg
Martin Harizanov
 
eMMC Embedded Multimedia Card overview
eMMC Embedded Multimedia Card overview
VijayGESYS
 
Implementation of Soft-core processor on FPGA (Final Presentation)
Implementation of Soft-core processor on FPGA (Final Presentation)
Deepak Kumar
 
The Effect of CPU Clock Rate on Power Consumption
The Effect of CPU Clock Rate on Power Consumption
Marc Bacvanski
 
Basys Board Digilent Manual
Basys Board Digilent Manual
zhwryan
 
Introduction to OpenCL, 2010
Introduction to OpenCL, 2010
Tomasz Bednarz
 
What is HIL (HardWare In The Loop)
What is HIL (HardWare In The Loop)
Tbrad
 
Heterogeneous Integration with 3D Packaging
Heterogeneous Integration with 3D Packaging
AMD
 
Moving to PCI Express based SSD with NVM Express
Moving to PCI Express based SSD with NVM Express
Odinot Stanislas
 

Similar to Arduino Programming - Brief Introduction (20)

Arduino
Arduino
LetzkuLetz Castro
 
Arduino_Beginner.pptx
Arduino_Beginner.pptx
shivagoud45
 
Arduino_Beginner.pptx
Arduino_Beginner.pptx
aravind Guru
 
teststststststLecture_3_2022_Arduino.pptx
teststststststLecture_3_2022_Arduino.pptx
ethannguyen1618
 
Introduction to the Arduino
Introduction to the Arduino
Wingston
 
Introduction to Arduino Webinar
Introduction to Arduino Webinar
Fragiskos Fourlas
 
What is Arduino
What is Arduino
SKUGme
 
Arduino Foundations
Arduino Foundations
John Breslin
 
Internet of Things prescribed by University
Internet of Things prescribed by University
Sanjay Kumar
 
arduino and its introduction deep dive ppt.pptx
arduino and its introduction deep dive ppt.pptx
SruSru1
 
Arduino course
Arduino course
Ahmed Shelbaya
 
introductiontoarduino-111120102058-phpapp02.pdf
introductiontoarduino-111120102058-phpapp02.pdf
HebaEng
 
arduinocourse-180308074529 (1).pdf
arduinocourse-180308074529 (1).pdf
ssusere5db05
 
I2C And SPI Part-23
I2C And SPI Part-23
Techvilla
 
MECHATRONICS-Unit 3-PROGRAMMABLE PERIPERAL INTERFACE.ppt
MECHATRONICS-Unit 3-PROGRAMMABLE PERIPERAL INTERFACE.ppt
CHANDRA KUMAR S
 
Arduino and c programming
Arduino and c programming
Punit Goswami
 
Arduino-101-Workshop (Introduction to Arduino and motor driver)
Arduino-101-Workshop (Introduction to Arduino and motor driver)
ShirazimMunir
 
Embedded system design using arduino
Embedded system design using arduino
Santosh Verma
 
PPI-MECHATRONICS
PPI-MECHATRONICS
selvakumar948
 
ARDUINO AND ITS PIN CONFIGURATION
ARDUINO AND ITS PIN CONFIGURATION
soma saikiran
 
Arduino_Beginner.pptx
Arduino_Beginner.pptx
shivagoud45
 
Arduino_Beginner.pptx
Arduino_Beginner.pptx
aravind Guru
 
teststststststLecture_3_2022_Arduino.pptx
teststststststLecture_3_2022_Arduino.pptx
ethannguyen1618
 
Introduction to the Arduino
Introduction to the Arduino
Wingston
 
Introduction to Arduino Webinar
Introduction to Arduino Webinar
Fragiskos Fourlas
 
What is Arduino
What is Arduino
SKUGme
 
Arduino Foundations
Arduino Foundations
John Breslin
 
Internet of Things prescribed by University
Internet of Things prescribed by University
Sanjay Kumar
 
arduino and its introduction deep dive ppt.pptx
arduino and its introduction deep dive ppt.pptx
SruSru1
 
introductiontoarduino-111120102058-phpapp02.pdf
introductiontoarduino-111120102058-phpapp02.pdf
HebaEng
 
arduinocourse-180308074529 (1).pdf
arduinocourse-180308074529 (1).pdf
ssusere5db05
 
I2C And SPI Part-23
I2C And SPI Part-23
Techvilla
 
MECHATRONICS-Unit 3-PROGRAMMABLE PERIPERAL INTERFACE.ppt
MECHATRONICS-Unit 3-PROGRAMMABLE PERIPERAL INTERFACE.ppt
CHANDRA KUMAR S
 
Arduino and c programming
Arduino and c programming
Punit Goswami
 
Arduino-101-Workshop (Introduction to Arduino and motor driver)
Arduino-101-Workshop (Introduction to Arduino and motor driver)
ShirazimMunir
 
Embedded system design using arduino
Embedded system design using arduino
Santosh Verma
 
ARDUINO AND ITS PIN CONFIGURATION
ARDUINO AND ITS PIN CONFIGURATION
soma saikiran
 
Ad

More from NEEVEE Technologies (20)

C Language Programming - Program Outline / Schedule
C Language Programming - Program Outline / Schedule
NEEVEE Technologies
 
Python programming for Beginners - II
Python programming for Beginners - II
NEEVEE Technologies
 
Python programming for Beginners - I
Python programming for Beginners - I
NEEVEE Technologies
 
Engineering College - Internship proposal
Engineering College - Internship proposal
NEEVEE Technologies
 
NVDK-ESP32 WiFi Station / Access Point
NVDK-ESP32 WiFi Station / Access Point
NEEVEE Technologies
 
NVDK-ESP32 Quick Start Guide
NVDK-ESP32 Quick Start Guide
NEEVEE Technologies
 
General Purpose Input Output - Brief Introduction
General Purpose Input Output - Brief Introduction
NEEVEE Technologies
 
Yocto BSP Layer for UDOO NEO Board
Yocto BSP Layer for UDOO NEO Board
NEEVEE Technologies
 
Building Embedded Linux UDOONEO
Building Embedded Linux UDOONEO
NEEVEE Technologies
 
Open Computer Vision Based Image Processing
Open Computer Vision Based Image Processing
NEEVEE Technologies
 
Introduction to Machine learning
Introduction to Machine learning
NEEVEE Technologies
 
Introduction Linux Device Drivers
Introduction Linux Device Drivers
NEEVEE Technologies
 
Introduction about Apache MYNEWT RTOS
Introduction about Apache MYNEWT RTOS
NEEVEE Technologies
 
Introduction to Bluetooth Low Energy
Introduction to Bluetooth Low Energy
NEEVEE Technologies
 
NXP i.MX6 Multi Media Processor & Peripherals
NXP i.MX6 Multi Media Processor & Peripherals
NEEVEE Technologies
 
Introduction to Bluetooth low energy
Introduction to Bluetooth low energy
NEEVEE Technologies
 
MarsBoard - NXP IMX6 Processor
MarsBoard - NXP IMX6 Processor
NEEVEE Technologies
 
NXP IMX6 Processor - Embedded Linux
NXP IMX6 Processor - Embedded Linux
NEEVEE Technologies
 
Introduction to Hardware Design Using KiCAD
Introduction to Hardware Design Using KiCAD
NEEVEE Technologies
 
Internet of things - zigbee network function
Internet of things - zigbee network function
NEEVEE Technologies
 
C Language Programming - Program Outline / Schedule
C Language Programming - Program Outline / Schedule
NEEVEE Technologies
 
Python programming for Beginners - II
Python programming for Beginners - II
NEEVEE Technologies
 
Python programming for Beginners - I
Python programming for Beginners - I
NEEVEE Technologies
 
Engineering College - Internship proposal
Engineering College - Internship proposal
NEEVEE Technologies
 
NVDK-ESP32 WiFi Station / Access Point
NVDK-ESP32 WiFi Station / Access Point
NEEVEE Technologies
 
General Purpose Input Output - Brief Introduction
General Purpose Input Output - Brief Introduction
NEEVEE Technologies
 
Yocto BSP Layer for UDOO NEO Board
Yocto BSP Layer for UDOO NEO Board
NEEVEE Technologies
 
Open Computer Vision Based Image Processing
Open Computer Vision Based Image Processing
NEEVEE Technologies
 
Introduction to Machine learning
Introduction to Machine learning
NEEVEE Technologies
 
Introduction Linux Device Drivers
Introduction Linux Device Drivers
NEEVEE Technologies
 
Introduction about Apache MYNEWT RTOS
Introduction about Apache MYNEWT RTOS
NEEVEE Technologies
 
Introduction to Bluetooth Low Energy
Introduction to Bluetooth Low Energy
NEEVEE Technologies
 
NXP i.MX6 Multi Media Processor & Peripherals
NXP i.MX6 Multi Media Processor & Peripherals
NEEVEE Technologies
 
Introduction to Bluetooth low energy
Introduction to Bluetooth low energy
NEEVEE Technologies
 
NXP IMX6 Processor - Embedded Linux
NXP IMX6 Processor - Embedded Linux
NEEVEE Technologies
 
Introduction to Hardware Design Using KiCAD
Introduction to Hardware Design Using KiCAD
NEEVEE Technologies
 
Internet of things - zigbee network function
Internet of things - zigbee network function
NEEVEE Technologies
 
Ad

Recently uploaded (20)

TEA2016AAT 160 W TV application design example
TEA2016AAT 160 W TV application design example
ssuser1be9ce
 
First Come First Serve Scheduling in real time operating system.pptx
First Come First Serve Scheduling in real time operating system.pptx
KavitaBagewadi2
 
Montreal Dreamin' 25 - Introduction to the MuleSoft AI Chain (MAC) Project
Montreal Dreamin' 25 - Introduction to the MuleSoft AI Chain (MAC) Project
Alexandra N. Martinez
 
FINAL 2013 Module 20 Corrosion Control and Sequestering PPT Slides.pptx
FINAL 2013 Module 20 Corrosion Control and Sequestering PPT Slides.pptx
kippcam
 
最新版美国圣莫尼卡学院毕业证(SMC毕业证书)原版定制
最新版美国圣莫尼卡学院毕业证(SMC毕业证书)原版定制
Taqyea
 
社内勉強会資料_Chain of Thought .
社内勉強会資料_Chain of Thought .
NABLAS株式会社
 
22PCOAM16 _ML_Unit 3 Notes & Question bank
22PCOAM16 _ML_Unit 3 Notes & Question bank
Guru Nanak Technical Institutions
 
Tree_Traversals.pptbbbbbbbbbbbbbbbbbbbbbbbbb
Tree_Traversals.pptbbbbbbbbbbbbbbbbbbbbbbbbb
RATNANITINPATIL
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
djiceramil
 
A Comprehensive Investigation into the Accuracy of Soft Computing Tools for D...
A Comprehensive Investigation into the Accuracy of Soft Computing Tools for D...
Journal of Soft Computing in Civil Engineering
 
Development of Portable Biomass Briquetting Machine (S, A & D)-1.pptx
Development of Portable Biomass Briquetting Machine (S, A & D)-1.pptx
aniket862935
 
David Boutry - Mentors Junior Developers
David Boutry - Mentors Junior Developers
David Boutry
 
SEW make Brake BE05 – BE30 Brake – Repair Kit
SEW make Brake BE05 – BE30 Brake – Repair Kit
projectultramechanix
 
Water demand - Types , variations and WDS
Water demand - Types , variations and WDS
dhanashree78
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
djiceramil
 
Understanding Amplitude Modulation : A Guide
Understanding Amplitude Modulation : A Guide
CircuitDigest
 
3. What is the principles of Teamwork_Module_V1.0.ppt
3. What is the principles of Teamwork_Module_V1.0.ppt
engaash9
 
Pavement and its types, Application of rigid and Flexible Pavements
Pavement and its types, Application of rigid and Flexible Pavements
Sakthivel M
 
chemistry investigatory project for class 12
chemistry investigatory project for class 12
Susis10
 
The first edition of the AIAG-VDA FMEA.pptx
The first edition of the AIAG-VDA FMEA.pptx
Mayank Mathur
 
TEA2016AAT 160 W TV application design example
TEA2016AAT 160 W TV application design example
ssuser1be9ce
 
First Come First Serve Scheduling in real time operating system.pptx
First Come First Serve Scheduling in real time operating system.pptx
KavitaBagewadi2
 
Montreal Dreamin' 25 - Introduction to the MuleSoft AI Chain (MAC) Project
Montreal Dreamin' 25 - Introduction to the MuleSoft AI Chain (MAC) Project
Alexandra N. Martinez
 
FINAL 2013 Module 20 Corrosion Control and Sequestering PPT Slides.pptx
FINAL 2013 Module 20 Corrosion Control and Sequestering PPT Slides.pptx
kippcam
 
最新版美国圣莫尼卡学院毕业证(SMC毕业证书)原版定制
最新版美国圣莫尼卡学院毕业证(SMC毕业证书)原版定制
Taqyea
 
社内勉強会資料_Chain of Thought .
社内勉強会資料_Chain of Thought .
NABLAS株式会社
 
Tree_Traversals.pptbbbbbbbbbbbbbbbbbbbbbbbbb
Tree_Traversals.pptbbbbbbbbbbbbbbbbbbbbbbbbb
RATNANITINPATIL
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
djiceramil
 
Development of Portable Biomass Briquetting Machine (S, A & D)-1.pptx
Development of Portable Biomass Briquetting Machine (S, A & D)-1.pptx
aniket862935
 
David Boutry - Mentors Junior Developers
David Boutry - Mentors Junior Developers
David Boutry
 
SEW make Brake BE05 – BE30 Brake – Repair Kit
SEW make Brake BE05 – BE30 Brake – Repair Kit
projectultramechanix
 
Water demand - Types , variations and WDS
Water demand - Types , variations and WDS
dhanashree78
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
djiceramil
 
Understanding Amplitude Modulation : A Guide
Understanding Amplitude Modulation : A Guide
CircuitDigest
 
3. What is the principles of Teamwork_Module_V1.0.ppt
3. What is the principles of Teamwork_Module_V1.0.ppt
engaash9
 
Pavement and its types, Application of rigid and Flexible Pavements
Pavement and its types, Application of rigid and Flexible Pavements
Sakthivel M
 
chemistry investigatory project for class 12
chemistry investigatory project for class 12
Susis10
 
The first edition of the AIAG-VDA FMEA.pptx
The first edition of the AIAG-VDA FMEA.pptx
Mayank Mathur
 

Arduino Programming - Brief Introduction

  • 2. What is Arduino • Open source electronics platform – Easy to use hardware & software • Equipped with sets of analog & digital I/Os • Can be interfaced to extension boards ( shields) • Features USB based communication interface • Provided with Integrated Development Environment • Aimed to provide low-cost and easy way for students & professionals • GNU General Public License
  • 4. Hardware Block Diagram ATMEL AVR MCU SPI I2C UART Digital I/O Analog Inputs USB Interface POWER +5 Volts +3.3 Volts Clock Reset
  • 6. Arduino IDE • Allows to write program and upload them into the board • Online Web Editor • Arduino Desktop IDE
  • 7. Sketches • Program written using Arduino Software • Written in text editor & save with extension of .ino • Arduino uses this name for a program • Code which will be uploaded and run on the board
  • 8. IDE Basic Options • New – Creates a new sketch • Open – Allows to load the sketch from the system • Save – Saves the sketch • Verify – Checks the code for errors compiling it • Upload – Compiles the code and uploads to configured board • Serial Monitor – Opens a serial monitor • Quit – Closes all IDE windows
  • 9. Variables • a place to store the data • Has name, value and type – Example declaration – int pin = 2; • Specified only once and can be used many times • Variable assignment – pin = 3;
  • 10. Functions • Setup – Called when a sketch starts – Used to initialize variables, pin modes, start using libraries – Will run only once, after each power up / reset of the board • Loop – Called after creating setup function – Function loops consecutively – Allows the program to change & respond – Actively controls the arduino
  • 11. Digital I/O • Generic Pin on an IC / Board • Configured as Input or Output • Can be enabled / disabled • Logic Level – High – Low • Input values are readable • Output values are writable / readable • Input configured pins also can be used as Interrupt • No predefined purpose
  • 12. Digital Pin Functions • pinMode – Configures pin as Output or Input – pinMode(pin, mode) • pin : pin number • mode: INPUT, OUTPUT, INPUT_PULLUP • digitalWrite – Writes a High or Low value to a digital pin – digitalWrite(pin, value) • pin : pin number • value : HIGH or LOW
  • 13. Digital Pin Functions… • digitalRead – Reads the current value of specified pin – int digitalRead(pin) • pin : pin number • Returns the current value
  • 14. UART / Serial Port • Univeral Asynchronuos Receiver / Transmitter • Supports NRZ encoding format • 7 or 8 bit data • 1 or 2 Stop bits • Hardware Flow Control – RTS – Request to Send – CTS – Clear to Send • Programmable Parity ( even, odd and none ) • RS485, RS232 compatible
  • 16. Serial function • begin • end • print • println • readBytes • readString • write • setTimeout • available • availableForWrite
  • 17. Inter Integrated Circuit Inteface • Multi master, multi slave serial interface bus • Uses only two bi-directional open drain lines – SDA : Serial Data Line – SCL : Serial Clock Line • Since lines are open drain, these pins needs to be pulled high. – Normally pull up resistor will be 4.7 K / 10K
  • 19. I2C / Wire Functions • begin • receive • send • onRequest • RequestFrom
  • 20. Serial Peripheral Interface • Synchronous Serial Communication Interface • Used for Short distance. Basically with in the board • Full duplex mode with master slave architecture • Also called as four-wire bus • Pins – MISO : Master Input Slave Output – MOSI : Master Output Slave Input – SCK : Serial Clock – SS : Slave Select
  • 22. Contact Us • Address : – No 16, First Floor, Ganesh 1st cross street – Madipakkam Koot Road, Chennai • Web : www.neeveetech.com • Email : – [email protected][email protected]