SlideShare a Scribd company logo
MICROPROCESSORS
CMPE-451
Department of Computer Engineering
Serial Communication-1
 Three protocols
 USART
 SPI
 I2C
 USART: Simplest way to establish a connection between an AVR
microcontroller and a computer (or another microcontroller).
Elif
Damla
12
5 V
Gnd
R1
LED
00001100
Button Press=0=LED off
No press = 1= LED on
Send LSB first
freq of button press = 1 press/sec
Start-bit = 0
Stop-bit = 1
Elif
Damla
12
5 V
R1
Gnd
LED
00001100
Button Press=0=LED off
No press = 1= LED on
Send LSB first
freq of button press = 1 press/sec
Start-bit = 0
Stop-bit = 1
Elif
Damla
12
5 V
R1
Gnd
LED
00001100
Button Press=0=LED off
No press = 1= LED on
Send LSB first
freq of button press = 1 press/sec
Start-bit = 0
Stop-bit = 1
Rcvd-bits = 0
Send start
bit
Elif
Damla
12
5 V
R1
Gnd
LED
00001100
Button Press=0=LED off
No press = 1= LED on
Send LSB first
freq of button press = 1 press/sec
Start-bit = 0
Stop-bit = 1
Rcvd-bits = 00
Elif
Damla
12
5 V
R1
Gnd
LED
00001100
Button Press=0=LED off
No press = 1= LED on
Send LSB first
freq of button press = 1 press/sec
Start-bit = 0
Stop-bit = 1
Rcvd-bits = 000
Elif
Damla
12
5 V
R1
Gnd
LED
00001100
Button Press=0=LED off
No press = 1= LED on
Send LSB first
freq of button press = 1 press/sec
Start-bit = 0
Stop-bit = 1
Rcvd-bits = 0001
Elif
Damla
12
5 V
R1
Gnd
LED
00001100
Button Press=0=LED off
No press = 1= LED on
Send LSB first
freq of button press = 1 press/sec
Start-bit = 0
Stop-bit = 1
Rcvd-bits = 00011
Elif
Damla
12
5 V
R1
Gnd
LED
00001100
Button Press=0=LED off
No press = 1= LED on
Send LSB first
freq of button press = 1 press/sec
Start-bit = 0
Stop-bit = 1
Rcvd-bits = 000110
Elif
Damla
12
5 V
R1
Gnd
LED
00001100
Button Press=0=LED off
No press = 1= LED on
Send LSB first
freq of button press = 1 press/sec
Start-bit = 0
Stop-bit = 1
Rcvd-bits = 0001100
Elif
Damla
12
5 V
R1
Gnd
LED
00001100
Button Press=0=LED off
No press = 1= LED on
Send LSB first
freq of button press = 1 press/sec
Start-bit = 0
Stop-bit = 1
Rcvd-bits = 00011000
Elif
Damla
12
5 V
R1
Gnd
LED
00001100
Button Press=0=LED off
No press = 1= LED on
Send LSB first
freq of button press = 1 press/sec
Start-bit = 0
Stop-bit = 1
Rcvd-bits = 000110000
Elif
Damla
12
5 V
R1
Gnd
LED
00001100
Button Press=0=LED off
No press = 1= LED on
Send LSB first
freq of button press = 1 press/sec
Start-bit = 0
Stop-bit = 1
Rcvd-bits = 0001100001
Flip the bits =
1000011000
Data-bits = 00001100 = 12
Send stop bit
Lecture6.pptx
Lecture6.pptx

More Related Content

PPTX
Sensors and Peripherals
PDF
Up and running with Teensy 3.1
PPTX
Sensors and Actuators in Arduino, Introduction
PPT
PIC Microcontroller
PPTX
PDF
Creativity and Computation Lab Notes - Akshansh Chaudhary
PPTX
LaunchPad MSP 430
PDF
Arduino: Open Source Hardware Hacking from the Software Nerd Perspective
Sensors and Peripherals
Up and running with Teensy 3.1
Sensors and Actuators in Arduino, Introduction
PIC Microcontroller
Creativity and Computation Lab Notes - Akshansh Chaudhary
LaunchPad MSP 430
Arduino: Open Source Hardware Hacking from the Software Nerd Perspective

Similar to Lecture6.pptx (20)

PDF
Automatic room light controller with visible counter
DOCX
Automatic irrigation system using Arduino
PPT
Physical prototyping lab2-analog_digital
PPT
Physical prototyping lab2-analog_digital
PDF
PDF
Arduino spooky projects_class3
PDF
Programming arduino makeymakey
PPTX
Switches and LEDs interface to the 8051 microcontroller
PPTX
Arduino Workshop Slides
PPTX
Arduino slides
PPTX
Electronz_Chapter_2.pptx
PDF
Microcontroller part 4
PPTX
Embedded systems and robotics by scmandota
PPTX
Embedded Application : An Autonomous Robot or Line Follower Bot
PDF
Mechatronics material . Mechanical engineering
PPTX
Vechicle accident prevention using eye bilnk sensor ppt
PPTX
02 General Purpose Input - Output on the Arduino
PDF
Embedded C Programming Module 7 Presentation
PPTX
Fun with arduino
DOCX
codings related to avr micro controller
Automatic room light controller with visible counter
Automatic irrigation system using Arduino
Physical prototyping lab2-analog_digital
Physical prototyping lab2-analog_digital
Arduino spooky projects_class3
Programming arduino makeymakey
Switches and LEDs interface to the 8051 microcontroller
Arduino Workshop Slides
Arduino slides
Electronz_Chapter_2.pptx
Microcontroller part 4
Embedded systems and robotics by scmandota
Embedded Application : An Autonomous Robot or Line Follower Bot
Mechatronics material . Mechanical engineering
Vechicle accident prevention using eye bilnk sensor ppt
02 General Purpose Input - Output on the Arduino
Embedded C Programming Module 7 Presentation
Fun with arduino
codings related to avr micro controller
Ad

Recently uploaded (20)

PPTX
OnePlus 13R – ⚡ All-Rounder King Performance: Snapdragon 8 Gen 3 – same as iQ...
PPTX
Job-opportunities lecture about it skills
PPTX
FINAL PPT.pptx cfyufuyfuyuy8ioyoiuvy ituyc utdfm v
PPTX
DPT-MAY24.pptx for review and ucploading
PDF
servsafecomprehensive-ppt-full-140617222538-phpapp01.pdf
PDF
MCQ Practice CBT OL Official Language 1.pptx.pdf
PPTX
ESD MODULE-5hdbdhbdbdbdbbdbdbbdndbdbdbdbbdbd
PDF
シュアーイノベーション採用ピッチ資料|Company Introduction & Recruiting Deck
PDF
Entrepreneurship PowerPoint for students
PDF
iTop VPN Crack Latest Version 2025 Free Download With Keygen
PPTX
cse couse aefrfrqewrbqwrgbqgvq2w3vqbvq23rbgw3rnw345
PPT
NO000387 (1).pptsbsnsnsnsnsnsnsmsnnsnsnsjsnnsnsnsnnsnnansnwjwnshshshs
PPT
ALLIED MATHEMATICS -I UNIT III MATRICES.ppt
PPT
notes_Lecture2 23l3j2 dfjl dfdlkj d 2.ppt
PPTX
Condensed_Food_Science_Lecture1_Precised.pptx
PDF
Understanding the Rhetorical Situation Presentation in Blue Orange Muted Il_2...
PPTX
Nervous_System_Drugs_PPT.pptxXXXXXXXXXXXXXXXXX
PDF
esg-supply-chain-webinar-nov2018hkhkkh.pdf
PPT
Gsisgdkddkvdgjsjdvdbdbdbdghjkhgcvvkkfcxxfg
PPT
APPROACH TO DEVELOPMENTALlllllllllllllllll
OnePlus 13R – ⚡ All-Rounder King Performance: Snapdragon 8 Gen 3 – same as iQ...
Job-opportunities lecture about it skills
FINAL PPT.pptx cfyufuyfuyuy8ioyoiuvy ituyc utdfm v
DPT-MAY24.pptx for review and ucploading
servsafecomprehensive-ppt-full-140617222538-phpapp01.pdf
MCQ Practice CBT OL Official Language 1.pptx.pdf
ESD MODULE-5hdbdhbdbdbdbbdbdbbdndbdbdbdbbdbd
シュアーイノベーション採用ピッチ資料|Company Introduction & Recruiting Deck
Entrepreneurship PowerPoint for students
iTop VPN Crack Latest Version 2025 Free Download With Keygen
cse couse aefrfrqewrbqwrgbqgvq2w3vqbvq23rbgw3rnw345
NO000387 (1).pptsbsnsnsnsnsnsnsmsnnsnsnsjsnnsnsnsnnsnnansnwjwnshshshs
ALLIED MATHEMATICS -I UNIT III MATRICES.ppt
notes_Lecture2 23l3j2 dfjl dfdlkj d 2.ppt
Condensed_Food_Science_Lecture1_Precised.pptx
Understanding the Rhetorical Situation Presentation in Blue Orange Muted Il_2...
Nervous_System_Drugs_PPT.pptxXXXXXXXXXXXXXXXXX
esg-supply-chain-webinar-nov2018hkhkkh.pdf
Gsisgdkddkvdgjsjdvdbdbdbdghjkhgcvvkkfcxxfg
APPROACH TO DEVELOPMENTALlllllllllllllllll
Ad

Lecture6.pptx