I connected the current sensor module to the NodeMCU ESP8266 using jumper wires. The sensor output was connected to the analog input pin of the NodeMCU.
Step 2 – Connect the Current SourceThe electrical source/load was connected through the current sensor so that the sensor could detect changes in current flow.
Step 3 – Connect NodeMCU to the ComputerI connected the NodeMCU to my computer using a USB cable. This connection was used to power the board and upload the program.
Step 4 – Write the Arduino ProgramI developed the program using the Arduino IDE. The code reads the analog value from the current sensor and prepares the data for transmission to KiwisIoT.
Step 5 – Configure Wi-Fi and KiwisIoTI added my Wi-Fi details and KiwisIoT Topic ID to the program. This allows the NodeMCU to connect to the internet and communicate with the KiwisIoT platform.
Step 6 – Upload and Test the CodeI uploaded the program to the NodeMCU and opened the Serial Monitor. The current sensor readings were displayed continuously, which confirmed that the sensor was working.
Step 7 – Send Sensor Data to KiwisIoTThe NodeMCU sends the current sensor readings to the KiwisIoT cloud platform through Wi-Fi at regular intervals.
Step 8 – Create the DashboardI added a Gauge widget to the KiwisIoT dashboard and linked it with the current sensor data channel.
Step 9 – Monitor the Current in Real TimeThe sensor values can now be viewed on the KiwisIoT dashboard. When the current changes, the displayed value is updated.
Step 10 – Final ResultThe project successfully demonstrates IoT-based current monitoring using a NodeMCU ESP8266, current sensor, and KiwisIoT. It can be further developed for energy monitoring, abnormal current detection, and power-usage analysis.I wanted to build a simple system to monitor how much current an electrical device is using in real time. I connected a current sensor to the NodeMCU ESP8266 and used the KiwisIoT platform to view the readings online. The sensor measures the current flowing through the device, and the NodeMCU sends the collected data to the cloud through Wi-Fi. This project helped me understand how IoT can be used for real-time electrical monitoring and can be extended to identify unusual power consumption and improve energy management.






_JnuTDtq8iW.jpeg?auto=compress%2Cformat&w=48&h=48&fit=fill&bg=ffffff)





_3u05Tpwasz.png?auto=compress%2Cformat&w=40&h=40&fit=fillmax&bg=fff&dpr=2)
Comments