0% found this document useful (0 votes)
33 views11 pages

IoT Session 4

This document provides an overview of serial communication concepts and the UART protocol. It discusses wired and wireless data communication, serial versus parallel communication, common serial communication standards including UART, and how to use the onboard UART of an Arduino microcontroller to communicate with a computer via the serial monitor. Practical exercises are outlined to collect and share data between an Arduino and computer.

Uploaded by

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

IoT Session 4

This document provides an overview of serial communication concepts and the UART protocol. It discusses wired and wireless data communication, serial versus parallel communication, common serial communication standards including UART, and how to use the onboard UART of an Arduino microcontroller to communicate with a computer via the serial monitor. Practical exercises are outlined to collect and share data between an Arduino and computer.

Uploaded by

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

Internet of Things

www.cognixia.com
Session Outline

• Deep dive on core concepts of data communication


• Understanding parallel and serial wired communication
• Serial communication standards - UART protocol
• Practical exercises:
– Write an Arduino sketch to collect and share data with serial monitor on computer
– Building a control node using Arduino

www.cognixia.com
www.cognixia.com
Data communication

• Data communication is the process to transfer data from one place to another
• Requires a physical link (Wired or Wireless) to carry data
• Data is represented as voltage, light and RF signals on medium
• Confidentiality, integrity and availability of data have to be addressed

www.cognixia.com
www.cognixia.com
Wired communication

• Wired communication refers to the transmission of data over wire


• Commonly used mediums – Coaxial cables and twisted pair cables
• Copper is most commonly used conductor
• Being replaced by optical fiber for better speed and larger bandwidth

www.cognixia.com
www.cognixia.com
Serial and parallel communication

www.cognixia.com
www.cognixia.com
Types of Serial communications

www.cognixia.com
www.cognixia.com
Serial communications protocol

• Protocol refers to set of rules and guidelines for system to connect and
effectively communicate with each other.
• Standard protocols:
– UART
– USART
– USB
– I2C
– SPI
– CAN

www.cognixia.com
www.cognixia.com
UART protocol

www.cognixia.com
www.cognixia.com
ATMega2560 On-Chip UARTS

www.cognixia.com
www.cognixia.com
Computer to Arduino communication

www.cognixia.com
www.cognixia.com

You might also like