DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Enterprise AI Trend Report: Gain insights on ethical AI, MLOps, generative AI, large language models, and much more.

2024 Cloud survey: Share your insights on microservices, containers, K8s, CI/CD, and DevOps (+ enter a $750 raffle!) for our Trend Reports.

PostgreSQL: Learn about the open-source RDBMS' advanced capabilities, core components, common commands and functions, and general DBA tasks.

AI Automation Essentials. Check out the latest Refcard on all things AI automation, including model training, data security, and more.

Related

  • Connecting the Dots: Unraveling IoT Standards and Protocols
  • Protocols and Standards Behind IoT: CoAP, BLE, MQTT, DDS
  • Real-Time Communication Protocols: A Developer's Guide With JavaScript
  • Real-Time Remediation Solutions in Device Management Using Azure IoT Hub

Trending

  • How To Get Started With New Pattern Matching in Java 21
  • How to Submit a Post to DZone
  • Service Mesh Unleashed: A Riveting Dive Into the Istio Framework
  • Some Thoughts on Bad Programming Practices
  1. DZone
  2. Data Engineering
  3. IoT
  4. IoT Connectivity Explored: A Deep Dive Into Predominant Communication Standards

IoT Connectivity Explored: A Deep Dive Into Predominant Communication Standards

This article offers a comprehensive overview of major IoT communication protocols, detailing their purposes, primary use cases, and key technical specifications.

By 
Manvendra Sharma user avatar
Manvendra Sharma
·
Oct. 26, 23 · Analysis
Like (2)
Save
Tweet
Share
3.7K Views

Join the DZone community and get the full member experience.

Join For Free

The Internet of Things (IoT) is revolutionizing how we perceive and interact with everyday objects. As devices become smarter, it's increasingly important to understand the underlying communication technologies enabling them. This article provides an in-depth overview of various IoT communication protocols that have become industry standards.

MQTT (Message Queuing Telemetry Transport)

Purpose

Originally developed for the oil and gas industry, MQTT is a widely used lightweight messaging protocol optimized for high-latency or unreliable networks.

Features

Follows a publish-subscribe model where devices can publish or subscribe to topics. The broker mediates the messages, ensuring reliable communication.

Use Cases

Smart homes, remote monitoring, and mobile applications.

Technical Details

  • Protocol Type: Application layer
  • Transport: Typically uses TCP/IP, but can be used on virtually any transport layer.
  • Port Number: Default port is 1883; Port 8883 for MQTT over SSL.
  • QoS Levels: 3 (0 - At most once, 1 - At least once, 2 - Exactly once)

CoAP (Constrained Application Protocol)

Purpose

Designed for resource-constrained devices, a specialized web transfer protocol for use with constrained nodes and networks.

Features

Uses UDP instead of TCP, suitable for low-bandwidth environments.

Use Cases

Smart cities, energy management, and home automation.

Technical Details

  • Protocol Type: Application layer
  • Transport: UDP
  • Port Number: Default port is 5683; Port 5684 for CoAP over DTLS (for security).
  • Response Types: Confirmable (CON), Non-confirmable (NON), Acknowledgement (ACK), and Reset (RST).

Zigbee

Purpose

A wireless protocol based on the IEEE 802.15.4 standard designed for personal area networks.

Features

Operates on low power, supports mesh networking, and is known for reliability and low latency.

Use Cases

Home automation, industrial control, and medical data collection.

Technical Details

  • Protocol Type: Application layer, but also defines lower layers.
  • Frequency Band: 2.4 GHz (global), 915 MHz (Americas), 868 MHz (Europe).
  • Topologies: Star, mesh, and cluster tree.
  • Channel Capacity: 16 channels at 2.4 GHz, 10 channels at 915 MHz, 1 channel at 868 MHz.

Bluetooth and BLE (Bluetooth Low Energy)

Purpose

Known for short-range communication, especially its low-energy variant BLE, is popular in IoT for its low power consumption.

Features

BLE focuses on minimal power consumption and can function for years on a tiny coin-cell battery.

Use Cases

Wearable fitness trackers, smartwatches, medical devices, and proximity sensors.

Technical Details

  • Protocol Type: Physical and Data Link layers primarily, with BLE stack extending to the application layer.
  • Frequency Band: 2.4 GHz ISM band.
  • Topology: Piconet (star topology).
  • Data Rate: 1 Mbps (BLE) and 2-3 Mbps (Classic Bluetooth).

LoRa (Long Range)

Purpose

A long-range, low-power wireless platform is becoming the de facto choice for building IoT networks.

Features

Provides a very long range (more than 10 km in rural areas) with low power consumption.

Use Cases

Agriculture, smart cities, and infrastructure monitoring.

Technical Details

  • Protocol Type: Physical layer.
  • Frequency Band: Varies per region (e.g., 868 MHz in Europe, 915 MHz in North America).
  • Modulation: Chirp spread spectrum (CSS).
  • Sensitivity: As low as -148 dBm.

NB-IoT (Narrowband IoT)

Purpose

Cellular technology connecting devices efficiently, especially in remote areas.

Features

Offers wide coverage, low power consumption, and supports a high number of connected devices.

Use Cases

Smart metering, smart parking, and agricultural applications.

Technical Details

  • Protocol Type: Cellular, encompasses a full stack.
  • Bandwidth: 200 kHz.
  • Duplex Mode: Half Duplex.
  • Peak Data Rate: 250 kbps in downlink, 250 kbps in uplink.

Thread

Purpose

A low-power, wireless mesh networking protocol for securely connecting numerous devices.

Features

Built on proven Internet Protocols like IPv6.

Use Cases

Connected homes, energy management, and building automation.

Technical Details

  • Protocol Type: Network and Transport layers primarily.
  • Frequency Band: 2.4 GHz.
  • IPv6: Uses 6LoWPAN for efficient IPv6-based communication.
  • Routing: Employs RPL (Routing Protocol for Low-power and Lossy Networks).

Z-Wave

Purpose

A wireless communication protocol designed for home automation, specifically remote control applications.

Features

Operates in the sub-1GHz frequencies and ensures low latency communication.

Use Cases

Devices like lights, locks, thermostats, and garage door openers.

Technical Details

  • Protocol Type: Encompasses Application, Network, and Physical layers.
  • Frequency Band: Varies per region (e.g., 908.42 MHz in the U.S., 868.42 MHz in Europe).
  • Topology: Mesh.
  • Data Rate: Ranges from 9.6 kbps to 100 kbps, depending on the version.

Conclusion

Selecting the right IoT communication protocol requires a consideration of the application, device capabilities, power needs, and desired range. With the intricate details provided above, developers and businesses can tailor solutions to particular needs, ensuring effective communication in the expansive world of connected devices.

Communication protocol IoT MQTT Protocol (object-oriented programming)

Opinions expressed by DZone contributors are their own.

Related

  • Connecting the Dots: Unraveling IoT Standards and Protocols
  • Protocols and Standards Behind IoT: CoAP, BLE, MQTT, DDS
  • Real-Time Communication Protocols: A Developer's Guide With JavaScript
  • Real-Time Remediation Solutions in Device Management Using Azure IoT Hub

Partner Resources


Comments

ABOUT US

  • About DZone
  • Send feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: