Está en la página 1de 23

UTILISATION OF

SERIAL
COMMUNICATION
IN ARDUINO

HELLO!
I am Osisiogu,
Ukachi
I am here to talk to you about the
utilisation of the serial
communication protocol in
Arduino.
You can e-mail me @
ukachi2011@yahoo.com

Do you know that?


Embedded electronics are the
most commonly used deviced
in the world.

The world isn't run by


weapons anymore, or
energy, or money. It's
run by little ones and
zeroes, little bits of
data. It's all just
electrons. Sneakers

What to expect
An Overview on Arduino
An Overview on Serial
Communication
Illustrations on the utilisation of
serial communication in Arduino

An Overview on Arduino

A physical
programmable circuit
board
A piece of software, or
IDE

An Overview on Arduino
Microcontroller

ATmega328

Operating Voltage

5V

Input Voltage (recommended)

7-12V

Input Voltage (limits)

6-20V

Digital I/O Pins

14 (of which 6 provide PWM output)

Analog Input Pins

DC Current per I/O Pin

40 mA

DC Current for 3.3V Pin

50 mA

SRAM

2 KB

EEPROM

1 KB

Clock Speed

16 MHz

Big concept
Bring the attention of your
audience over a key concept
using icons or illustrations

An Overview on Serial Communication

Serial Communication: Serial communication can be defined as


the form of information exchange in which the individual bits
that compromise the information in the form of bytes or
character travel one after the other through a single channel.

An Overview on the Classifications


of Serial Communication
Serial Communication

Synchronous

Asynchronous

Synchronous Serial Communication


In the synchronous mode, the transmitter and receiver share a common clock
The transmitter typically provides the clock as a separate signal in addition to the
serial data
Clock
Receiver

Transmitter
Data
1 byte-wide Data

The Transmitter
Shifts the data onto the serial line
using its own clock
Provides the clock as a separate
signal
No start, stop, or parity bits added to
data

1 byte-wide Data

The Receiver
Extracts the data using the
clock provided by the
transmitter
Converts the serial data back
to the parallel form

Asynchronous Serial Communication


With asynchronous communication, the transmitter and receiver do
not share a common clock
Remove: Start, Stop, Parity Bits

Add: Start, Stop, Parity Bits

Transmitter

Receiver

Data
1 byte-wide Data

The Transmitter
Shifts the parallel data onto the
serial line using its own clock
Also adds the start, stop and parity
check bits

1 byte-wide Data

The Receiver
Extracts the data using its own clock
Converts the serial data back to the
parallel form after stripping off the
start, stop and parity bits

Asynchronous Serial
Communication
Start bitindicates the beginning of the data word
Stop bitindicates the end of the data word
Parity bitadded for error detection (optional)
Data bitsthe actual data to be transmitted
Baud ratethe bit rate of the serial port
Throughputactual data transmitted per sec
(total bits transmittedoverhead)

Example: 115200 baud = 115200 bits/sec


If using 8-bit data, 1 start, 1 stop, and no parity
bits, the effective
throughput is: 115200 * 8 / 10 = 92160 bits/sec

Stanadards of Serial Communication


Morsecodetelegra

UniversalSerialBus

phy

FireWire

RS-232

Ethernet

RS-422

FibreChannel

RS-423

SONET

RS-485
IC
SPI

Illustrations of Different
Standards

Ethernet

Fibre Channel

SPI
MIDI Cable

I2C

How then does


Arduino utilise
Serial
Communication?

The Underlying Process of Serial


Communication in Arduino

Serial Communication with PC

An image
showing the
communication of
Arduino with the
PC in real time.

Place your screenshot here

Serial Communication with PC (Graphing)

An image
showing the
communication of
Arduino with the
PC for graphing
purposes.

Place your screenshot here

Arduino Controlling another Arduino and ICs


through serial communication (I2C)

Conclusion
Let us review some concepts
Arduino
This is a programmable
circuit board, and also an
IDE.

Arduino +
Serial
Communicatio
n
This combination gives
Engineers the ability to
create better and more

Serial
Communicatio
n

Types of Serial
Communicatio
n

This is a method of
communication between
two devices.

Synchronous
Asynchronous

Bottom Line
(Story):
The better devices can
communicate with each
other, Engineers can be
able to create better
systems.

Thank
you for
listening
Any
questions?

Credits
Special thanks goes to:
My Project Supervisor Prof. C.C.
Okezie

To all the wonderful Lecturers of


this department.
Presentation template by

También podría gustarte