How Do IoT Devices Connect to One Another?
- Starter
- Article
- Ages 10+
- 4 min read

IoT devices connect through radio or wired links. Wireless examples include Wi-Fi, Bluetooth, cellular, Zigbee and LoRaWAN. They can talk directly to each other, send data up to a cloud service, or go through a gateway that bridges between technologies. Each of these ways suits a different situation, and many real systems combine more than one of them.
Contents
- An IoT device
- A wireless link
- A cloud service
What you will learn
- Name the main ways an IoT device can connect to others.
- Describe how a device sends its data to the cloud.
- Explain what a gateway does and why one is sometimes needed.
Before you start
You should know in a few words what the Internet of Things is, as covered in the previous article.
Which technologies link IoT devices?
To send data to the cloud, an IoT device needs a path connected to the internet. IBM lists Wi-Fi, Bluetooth, cellular, Zigbee and LoRaWAN among the connectivity technologies used in IoT.
Think of connections as different roads. Besides the wireless examples above, links can use a cable; each is used where it fits. A protocol is a set of agreed rules for sending messages along such a road.
The IETF notes that most smart object deployments can use the Internet protocol suite that is already standardized. So a small sensor can often speak the same basic language as a laptop.
- A device
- A radio link
- A wired link
- A cellular mast
Can two devices talk to each other directly?
Yes. Sometimes two devices made by different manufacturers are meant to communicate directly, as with a light switch and a light bulb. The IETF calls this the device-to-device pattern.
For this to work out of the box, the manufacturers need to agree on the protocol stack, the set of protocols the devices use together. This is one part of compatibility: RFC 7452 also points to decisions about information and data models, authentication, security and privacy.
Agreement is not always there. IBM says that IoT devices from different manufacturers often use different standards and protocols, which makes machine-to-machine communication hard.
- A light switch
- A light bulb
- A direct link
How does a device reach the cloud?
A common way is to upload sensor data to an application service provider. The IETF calls this the device-to-cloud pattern.
The network a device uses is typically not controlled by the provider. RFC 7452 lists WLAN, wired Ethernet and cellular radio among the access technologies that are reused. Ethernet uses a cable; WLAN and cellular use radio.
This pattern may lead to silos: data kept apart and harder to combine with information from elsewhere. The IETF says device-to-cloud communication may lead to this situation; a provider may also let third-party devices connect to its server infrastructure.
- A first device with a sensor
- A second device with a sensor
- An application service provider
What does a gateway do?
A gateway connects different technologies and can also perform networking and security functions. The IETF says one has to be added to the communication architecture in some cases, such as when interoperability with legacy non-IP devices is needed.
A second IETF document describes a common setup. Resource-constrained smart objects are connected to the Internet via a gateway that is directly reachable. The gateway does the work of reaching the wider network, so the small device does not have to.
- Small devices
- A gateway
- A cloud service
Real-world example
Try this with an adult. Look around your home for objects that talk to a network, such as a phone, a speaker or a light with an app. For each one, guess which way it connects: directly to another device, to a cloud service, or through a gateway. Write your guesses down. Then check the manual or the app settings together.
Common misunderstandings
All IoT devices use the same connection. IBM lists several connectivity technologies, and the IETF describes several patterns, so devices differ.
Every device talks straight to the cloud. Devices can also talk to each other, and a gateway can sit between a device and the network.
Devices from different makers always understand each other. IBM notes that they often use different standards and protocols.
Frequently asked questions
Do IoT devices need Wi-Fi?
No single technology is required. IBM lists Wi-Fi, Bluetooth, cellular, Zigbee and LoRaWAN, and the IETF also mentions wired Ethernet.
What is the difference between device-to-cloud and device-to-gateway?
In device-to-cloud, a device uploads data to an application service provider. In device-to-gateway, a gateway bridges between different technologies.
Why can my smart devices from different brands not work together?
Devices from different manufacturers often use different standards and protocols. Agreeing on a protocol stack is one part; manufacturers also need to consider information and data models, authentication, security and privacy.
Summary
- IoT devices connect with technologies such as Wi-Fi, Bluetooth, cellular, Zigbee and LoRaWAN.
- Devices can communicate directly, upload sensor data to a service provider, or use a gateway that bridges technologies.
- For devices from different manufacturers to communicate out of the box, agreeing on a protocol stack is one part; information models, security and other choices can matter too.
Terms in this article
English and Vietnamese terms, with the meanings used here. Hover, tap or Tab to a term with a dotted underline for an explanation as you read.
- ConnectivityKết nối
- The ability of a device to exchange information with other devices or services over a network.
- GatewayCổng kết nối
- A device that connects different technologies and may perform networking or security functions.
- CloudĐám mây
- Remote computing services to which devices can send data over a network.
- ProtocolGiao thức
- Rules that devices follow to exchange information.
- Protocol stackBộ giao thức
- A group of protocols working together to support communication and data exchange.
- Device-to-deviceThiết bị tới thiết bị
- A communication pattern in which two devices communicate directly.
- Device-to-cloudThiết bị tới đám mây
- A pattern in which a device sends data to an application service provider.
- Data siloDữ liệu bị tách riêng
- Data kept apart, making it harder to combine with information from elsewhere.
This article is not marked as viewed
Spotted something wrong or unsafe?
Tell the administrator by email. The message already has the article title and address.
More in this topic
StarterWhat Is the Internet of Things?
What the Internet of Things (IoT) is, why people connect objects to a network and what limits small connected devices have. A first article for beginners.
4 min read
StarterWhere Do We Encounter IoT Sensors?
Where IoT sensors turn up around us: in the home, on farms, in healthcare and in cities. A first article for complete beginners.
4 min read
StarterExplore an IoT Actuator Through an Example
Explore control signals, energy sources and motion mechanisms through an example of an IoT actuator.
4 min read
StarterWhy Does the IoT Microcontroller Matter?
What a microcontroller is, where it sits in an IoT device and why its small memory and limited power make it matter. A first article for beginners.
3 min read
Sources
These sources are written for older readers. If they feel hard, read them with an adult.
- RFC 7452: Architectural Considerations in Smart Object Networking(opens in a new tab)
IETF (Internet Architecture Board)Tier A: government, standards or research bodiesRead on October 28, 2026
- RFC 8576: Internet of Things (IoT) Security: State of the Art and Challenges(opens in a new tab)
IETF (Internet Research Task Force)Tier A: government, standards or research bodiesRead on October 28, 2026
- What is the Internet of Things (IoT)?(opens in a new tab)
IBMTier B: vendor documentationRead on October 28, 2026
- RFC 4949: Internet Security Glossary, Version 2(opens in a new tab)
IETF (RFC Editor)Tier A: government, standards or research bodiesRead on October 30, 2026
