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