0% found this document useful (0 votes)
15 views35 pages

Embedded Section3

Uploaded by

Magy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views35 pages

Embedded Section3

Uploaded by

Magy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 35

Magy Elbanhawy

Section 1

Embedded Systems
01 Buzzer (PWM)

02 Seven Segment

03 LCD

04 Communications Protocols

CONTENTS
Buzzer

01
Buzzer
ACTIVE BUZZERS • PASSIVE
BUZZERS
02 Seven Segment
Seven Segment Display
* NOTES:

- Turn on Seven Segment Display switches


SW8.1, SW8.2, SW8.3 and SW8.4. (board
specific)
*/
03 LCD
LCD
protocols for
device
04 communication
Protocols for device communication
3 protocols for device communication: UART, SPI, and I2C

protocols for device communication: UART, SPI, and I2C


1. UART Communication Protocol
2. SPI Communication Protocol
3. I2C Communication Protocol
1- UART Communication Protocol

The first communication proto-


col we’ll cover is Universal
Asynchronous Receiver/Trans-
mitter (UART). UART is a form
of serial
communication because data is
transmitted as sequential bits
(we’ll get to this in a bit). The
wiring involved with setting up
UART communication is very
simple: one line for transmitting
data (TX) and one line for re-
ceiving data (RX). As you may
expect, the TX line is used to
for the data to send device, and
the RX line is used to receive
data. Together the TX and RX
1- UART Communication Protocol
2. SPI Communication Protocol
The next communication protocol
we’ll cover is Serial Peripheral
Interface (SPI). SPI is different
from UART in several key ways:
• Synchronous
• Follows a master-slave model,
where there is one master de-
vice and multiple slave devices
• More than two lines required for
implementation
The hardware connection diagram
for SPI is slightly more compli-
cated, and looks something like
this:
3. I2C Communication Protocol
The ability to connect mul-
tiple masters to multiple
slaves
Synchronicity (just like SPI),
which means higher
speed communication
Simplicity: implementation
only requires two wires
and some resistors
3. I2C Communication Protocol
THANK YOU

You might also like