Microprocessor Asynchronous and Synchronous Serial Comm For ONLINE
Microprocessor Asynchronous and Synchronous Serial Comm For ONLINE
Systems
Asynchronous and Synchronous
Serial Communication
1. Highlight asynchronous and
synchronous type of serial
communication.
2. Describe the difference between
asynchronous and synchronous
type of communication.
Serial communication in microprocessors refers to the
method by which data is transmitted and received
between a microprocessor (or microcontroller) and other
devices using a serial communication protocol.
Slide 2 of 28
Serial Communications
Slide 2 of 28
Serial Communications
Commonly used serial communication protocols
Slide 2 of 28
Serial Communications
3. I2C (Inter-Integrated Circuit):
I2C is a multi-master, multi-slave serial communication protocol that
facilitates communication between microcontrollers and peripheral devices.
It is widely used for connecting sensors, EEPROMs, real-time clocks, and
other peripherals to a microcontroller. I2C allows multiple devices to share
the same bus, reducing the number of required pins on the microcontroller.
Slide 2 of 28
Serial Communications
5. RS-232 (Recommended Standard 232): RS-232 is a legacy serial
communication standard widely used for long-distance communication
between devices.
It uses voltage levels to represent data and provides a simple interface for
connecting devices such as modems, terminals, and serial printers to
microcontrollers.
Slide 2 of 28
Real-life examples
1. UART (Universal Asynchronous Receiver-Transmitter):
- GPS modules: UART is commonly used to communicate with GPS modules for receiving
positioning data.
- Bluetooth modules: UART is used to establish a serial communication link between
microcontrollers and Bluetooth modules for wireless data transmission.
- RFID readers: UART is often employed to interface with RFID readers for reading data from RFID
tags.
Slide 2 of 28
Real-life examples
3. I2C (Inter-Integrated Circuit):
- EEPROM chips: I2C is extensively used to communicate with EEPROM chips for reading and writing data.
- Sensors: Many sensors, such as temperature sensors, humidity sensors, and accelerometers, use I2C for
providing data to microcontrollers.
- Real-time clocks (RTCs): I2C is often used to interface with RTC modules for timekeeping and date retrieval.
Slide 2 of 28
Real-life examples
5. RS-232 (Recommended Standard 232):
- Legacy computer peripherals: RS-232 was commonly used to connect devices like modems, printers, and
serial mice to computers in the past.
- Industrial equipment: RS-232 is still employed in various industrial applications for connecting equipment such
as barcode scanners, data loggers, and PLCs.
- Serial communication with microcontrollers: RS-232 is often used to establish communication between
microcontrollers and external devices, such as sensors or displays.
Slide 2 of 28
Real-time system is a computer system or
software that is designed to respond to events
and process data in a time-critical manner.
Slide 2 of 28
End of Lesson. Thank you for listening
Slide 2 of 28