Posts

Showing posts with the label MQTT

Guide to IoT protocols

Image
Follow are the popular IoT protocols these days 1. MQTT 2.  CoAP Introduction for MQTT and example Nowadays we hear a lot about MQTT with IoT based projects. Let's see actually what is MQTT with simple examples in your Pc and later you can use them for your future IoT projects. MQTT is a publish/subscribe protocol that allows edge-of-network devices to publish to a broker. Clients connect to this broker, which then mediates communication between the two devices. Each device can subscribe, or register, to particular topics. When another client publishes a message on a subscribed topic, the broker forwards the message to any client that has subscribed. Hey let's make the idea so simple As an example imagine you have a plant. You put 3 sensors to it temperature sensor, humidity sensor, light intensity sensor So you need to get these sensor data to your application. Let's use the MQTT protocol to this scenario. He...