Main Content

Build your own IoT platform using node.js and ESP8266

If you are a hardware enthusiast then you might have blinked an LED through WiFi.

maybe on your local network or over the internet using third-party services like Blynk or ThingSpeak.

But It either works only on your local network or You have to use some 3rd party solutions.

In this article, I am going to guide you on how to build your own IoT minimal platform, that works over the internet.

Our platform will have three parts,

The User Interface ie. front end
Server ie back end
And all three parts of the application should be able to communicate with each other in real-time.

The obvious protocol for hardware-based products/projects is MQTT.

MQTT is a lite weight communication protocol designed to run even on low-power hardware. But today we are NOT USING MQTT, for the sake of simplicity and the cost of running the server.

There are many web hosting platforms like Heroku, which we can use free of cost. You don’t even need a credit card to sign up for them.

MQTT won’t work on these PaaS (Platform as a Service) providers.

So we will use the next best thing, Introducing Web Sockets.

It’s not as lite as MQTT but the MCU that we use is powerful enough to handle it.”

Link to article