METHODS USED TO TRANSMIT DATA BETWEEN DIGITAL DEVICES

Methods use to transmit data between Digital devices is describe below, But before this you need to know, ways of communication which 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 computer via cable, get information or instruction via cable, and print that information as per instruction transmit through computer.

WIRELESS COMMUNICATION

For example, 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 wave 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 regulation those are known as communication protocols.

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

In other words, serial communication means 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 works. 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) 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 transfer 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 two-lane rural road and other is eight-lane road.

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

But two-lane road servers it purpose well and cost effective than making eight-lane road.

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

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

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