Skip to main content

Posts

Showing posts from March, 2018

MQTT and stuff

Journey through the internet of things world Wanted to explore and understand the ecosystem of internet of things. Started with some hardware ESP8266 ESP-01S is used in a range of relatively cheap board which can connect to a wifi network, handle some IOs and be programmed using the arduino language and software. Mated with a temperature sensor and a power regulator (supports 3.3v only), you get a small circuit  that can read data and publish it. libraries used : dht mqtt wifi Where to ? MQTT is a protocol used to handle object to object communications. Light and supported by free brokers and libraries for several languages, it takes a few hours to get started and publish the first message. broker used : hivemq also mosquitto and other In our basic example, the object sends data - publishes and we retrieve the data published on a phone or website. The broker is a middle ground where the data is made available. Using the data many free IOS apps out there that pr