Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.
37 votes
Accepted

When and why to use MQTT protocol?

MQTT is a "messenger" between devices: your device measures at time T a temperature of X degrees it connects (itself or via the zwave hub) to the MQTT broker it create a message with the topic /...
user avatar
  • 3,636
26 votes

Do all Internet connected Things use the same "Application - TCP - IP - Hardware" stack to communicate?

There are some potential misconceptions or misunderstandings in the question that will be addressed in this post. In Diagram 2, it shows a representation of the software "stack" that a ...
user avatar
  • 680
22 votes

When and why to use MQTT protocol?

MQ Telemetry Transport Protocol known as MQTT is designed for devices which run on low power and low bandwidth. It is a lightweight publish/subscribe messaging protocol which means any other device ...
user avatar
  • 1,480
12 votes

Do all Internet connected Things use the same "Application - TCP - IP - Hardware" stack to communicate?

Do all kinds of computers - smartphones/tv's/gameconsoles, etc use this format? For something to exchange on the internet, it will have to go through an IP stack somewhere. Does the OS matter? The ...
user avatar
  • 506
12 votes

When and why to use MQTT protocol?

MQTT (Message Queue Telemetry Transport) seems to be well suited for the proposed application. It is lightweight both with respect to bandwidth (smallest packet size with a header of just 2 bytes) ...
user avatar
  • 2,419
11 votes
Accepted

What connectivity protocol did the Carnegie Mellon University's Coke Machine use?

The Coke Machine, rather amusingly, has its own website with a bit more information on its history. The Ancient History document explains how the original Coke Machine operated: The final piece of ...
user avatar
11 votes

List of important IoT references

I would add to the list OPC/UA The OPC Unified Architecture (UA), released in 2008, is a platform independent service-oriented architecture that integrates all the functionality of the individual ...
user avatar
10 votes
Accepted

How can a device get the SSID and Password of my Network without WPS?

If you are using an ESP8266 the built in Smart Config feature can achieve this. An example can be found here: ESP8266 Arduino WiFiSmartConfig.ino. The important steps are to set to STA mode: WiFi....
user avatar
  • 216
9 votes
Accepted

Wired sensor protocol for buildings monitoring sensors?

I would either go with RS485 or CAN because with long buses a lot of noise can be picked up. These are the most noise resistant as both of them use differential, twisted data lines. RS485 supports ...
user avatar
9 votes

Do I need to use MQTT or HTTP?

You mention a solar panel and battery as part of the device, so you probably want to minimise the power usage during transmissions to make sure your device doesn't run out of power completely. ...
user avatar
9 votes

Contacting Arduino through internet without port forward

In order to avoid the need to be on a network which allows inbound traffic, you need to connect outbound to a server which will relay requests from clients which also make outbound connections to it. ...
user avatar
8 votes

Do I need to use MQTT or HTTP?

If you are storing data, simply stick with HTTP. HTTP is just a one way signal. If your server or any other "thing" should react to a specific signal (low temperature,...) then use MQTT. Like this ...
user avatar
  • 3,636
8 votes
Accepted

Is Bluetooth a good enough protocol for "lost my keys" beacons?

The problem is essentially one of receivers and of power. A "find my keys" type of beacon needs to be small enough to attach to your keychain and you probably don't want to have to regularly ...
user avatar
  • 386
8 votes
Accepted

Does CoAP depend on IEEE 802.15.4?

No, CoAP is an application layer protocol it's not dependent Basically that's the beauty behind the OSI layers. If correctly implemented you can mostly stack them however you want. As with every ...
user avatar
  • 8,045
7 votes
Accepted

Does CoAP have a lower footprint than MQTT?

CoAP and MQTT have both equal RAM usage, measured in 10kbits [1]. Difference is in cpu and network usage: [2] Every client supports TCP and holds a connection open to the broker. So, CoAP has ...
user avatar
  • 4,301
7 votes

Is Bluetooth a good enough protocol for "lost my keys" beacons?

This is an unusual use-case where the data throughput which you require is really low - range and low power are the driving factors. This points in the direction of a low data-rate, narrow band ...
user avatar
7 votes

What are the differences between MQTT, HTTP, CoAP devices (besides communication protocol)?

I have linked this before to another question, this kind of nails it. Quite in the beginning there is a list of protocols compared. HTTP and MQTT are on that table and LwM2M as described on their ...
user avatar
  • 4,301
7 votes

What are the differences between MQTT, HTTP, CoAP devices (besides communication protocol)?

if the MQTT IoT devices are completely different from other types like HTTP in features, or is the difference only about communication protocols? Can a device that marked with "MQTT" be swapped to ...
user avatar
  • 201
7 votes

Optimal Wireless Technology for High Data Rate & Low Latency IoT Application

Latency vs Rate a low-latency (10 Hz) type of IoT application This is a conceptual error. Latency and Rate are largely independent. You could have a system which recorded thousands of readings ...
user avatar
7 votes
Accepted

Can I implement ZigBee with generic hardware?

You could, but you'd need a radio transceiver with compatible frequency range, modulation, and data rate. Typically radios with those capabilities are either sold as Zigbee radios, or for the ...
user avatar
6 votes
Accepted

What Messaging Type can be used for Cellular Network Oriented IoT Protocols?

Are you asking about the protocol or the message format? We often incorrectly use the term protocol when we mean the format of the data. I do this myself, often because the distinction isn't clear to ...
user avatar
  • 1,483
6 votes
Accepted

Protocol for configuring IoT device settings

Sounds like a job for CoAP: Like HTTP, CoAP is based on the wildly successful REST model: Servers make resources available under a URL, and clients access these resources using methods such as GET, ...
user avatar
6 votes

Is Bluetooth a good enough protocol for "lost my keys" beacons?

I would like to say that Yes, Bluetooth is a good candidate for indoor positioning. Depending on how good positioning you want, of course. If you have Bluetooth beacons scattered over your house it ...
user avatar
  • 663
6 votes

When and why to use MQTT protocol?

Here I wrote an article which shows and evolution in communications system we had in our project. It about micro-services, but you can consider any sensor to be micro-service with its job to gather ...
user avatar
  • 766
6 votes

How to select simple light weight IoT server for development?

I'm going to answer your first question. I think it would be better to ask just a single question per... question :) What makes an IoT server different from a webserver, mail server or FTP server? ...
user avatar
  • 830
6 votes

List of important IoT references

Standardization Bodies 3GPP—the 3rd Generation Partnership Project. The project covers cellular telecommunications network technologies, including radio access, the core transport network, and ...
6 votes

Quantum mechanics and Blockchain to secure IoT

Quantum mechanics and the blockchain Those are two evergreens in every futuristic buzzword bingo. Thus, naturally they get mixed with the Internet of Things, which has been derisively put in the same ...
user avatar
  • 8,045
6 votes

ZigBee integration (IP/Gateway)

Ubisys G1 seems to be a device (the only one?) that does this. A brief description from the product page, for reference: Our gateway links your ubisys smart home to the outside world. It ...
user avatar
  • 241
6 votes

Protocol for over 300 metres and minimum of 20 kbytes datarate?

I would recommend some sort of mesh network, as obviously plain old WiFi or BT won't cover those distances. Zigbee is as good a candidate as any. For hardware, AdaFruit does some good wearables, ...
user avatar
6 votes

Choosing appropriate protocol for IoT Application

A few thoughts on my experience with TCP, UDP, and MQTT as well as some additional resources to review. With UDP I have run into the silent failure problem in which an application on one network node,...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible