METHODS USED TO TRANSMIT DATA BETWEEN DIGITAL DEVICES

Methods used to transmit data between Digital devices are described below, But before this you need to know ways of communication that are wireless and wired.

WIRED COMMUNICATION

In this type of communication, you have to depend on cable or wire to do communication between devices.

For example, If you look around yourself, you will find that printer connected to the computer via cable, get information or instruction via cable, and print that information as per instruction transmit through the computer.

WIRELESS COMMUNICATION

In this type of communication, communication occurs without wire or cable that is wirelessly.

There are certain modules you heard of like Bluetooth, Wi-Fi (Wireless Fidelity), GSM and more which transmit information using radio frequency waves up to fixed range.

METHODS USED TO TRANSMIT DATA BETWEEN DIGITAL DEVICES

To do communication or data exchange between two devices, suppose one is Arduino and other may be wireless module (GPS module, GSM module, Bluetooth etc.), RTC module, SD card or other Arduino/ Development board etc. and/or between PC (personal computer) and Arduino.

You have to follow certain rules and regulations that are known as communication protocols.

There are several communication protocols and each protocol can be categorized into the two categories that are serial and parallel communication.

In other words, serial communication means the exchange of data one by one (in bit) while in parallel communication exchange of multiple data (many bits) at the same time.

Serial Parallel communication

SERIAL COMMUNICATION TO TRANSMIT AND RECEIVE DATA

  1. To transfer data to a device located far away, use serial communication method.
  2. The data sent in this as one bit at a time
  3. It is an umbrella word for all that is “Time Division Multiplexed”, to use an expensive term. It means that the data is sent spread over time, most often one single bit after another.

Serial Communication Protocols are USART, UART, USB, SPI, I2C RS232 etc.

TTL is a logic level (0 – 5V) on which many protocols or interfaces work. But RS232 is a serial protocol and works on (10V, 12V, 15V)

PARALLEL COMMUNICATION TO TRANSMIT AND RECEIVE DATA

  1. Often 8 or more lines (wire conductors) are used in transferring data to a device that is only a few feet away.
  2. Parallel interfaces transfer multiple bits at the same time.
  3. They require buses of data-transmitting across eight, sixteen or more wires.
  4. Data is transferred in huge, crashing waves of 1’s and 0’s.

COMPARING SERIAL AND PARALLEL

Think of the two interfaces like two different roads one is a two-lane rural road and the other is an eight-lane road.

For instance 8 people can drive through the eight-lane road in time x, while for 8 people to cross the two-lane road needs more time than x obviously.

But a two-lane road serves its purpose well and is more cost effective than making an eight-lane road.

Similar to this, parallel communication is fast, easy to implement and straight forward but requires more I/O pins/lines of the microcontroller.

Suppose we have an Arduino UNO. It has 14 digital I/O pins, if we use 8 of them then we are left with limited numbers of pins. So, we often select Serial communication (which is also simple to use) over parallel communication, sacrificing potential speed for pins.


READ NEXT
SERIAL COMMUNICATION METHODS SYNCHRONOUS & ASYNCHRONOUS


Total Visits: 557
0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x