This is a demo IoT project based on socket-io and express under DSC KGEC.
This contains the firmware for the demonstration
For the Server side, visit Socket-IoT-Demo
This is a demonstration on using Socket.IO Client on microcontroller for building IoT systems. Here Node MCU is used as the microcontroller. Some of the utilities used here, are described below:
- Node MCU provides us with WiFi connectivity for ease of its implementation in home IoT systems. It has an 32bit 80MHz processor from espressif which is pretty fast for embedded project. What attracts many hobbyist to use it in their projects, is Arduino support and presence of a lot of libraries. It is very cheap (cheaper than an Arduino Uno board) and compact in size.
- Socket.IO is a bi-directional and low-latency communication for every platform. It primarily uses websockets for communication, but it can also switch to other methods as well for realtime communication between server and clients.
Just install Platform IO from VS Code extensions, open the repository on VS code and start working on the main.cpp inside src/main.cpp
This is a concept for beginners starting with IoT. Feel free to fork, clone, create issues and/or make PRs. We will be more than happy to receive your contributions.