A device which is small and compact and allows you to monitor the power consumed by electrical appliances. It also can switch on and off your connected electrical appliances remotly using an app.
- ESP8266
- AC Voltage Sensor Module ZMPT101B
- SCT013‑030 30A Current Sensor Clamp Current Transformation for Current Measurement
- Relay
A.Smart.Energy.device.-.Shakthi.mp4
Aim - To set up a simple circuit using ESP3266 which can turn on and off an LED through the Blynk app
Connected a relay and power supply to and was able to turn on and off an led using Blynk app.
Video I referred to
Code used
Result Video
This is the circuit connections which i have followed for this project.
Aim - To setup a simple websocket connections with ESP3266.
Aim - To calibrate and get accurate readings from Voltage sensor
Voltage sensor calibrated and displayed on the serial monitor
Code used
Video I referred to
Aim - To enclose all the sensors and the circuit within a box and integrate the voltage sensor code with the main code
- The smart plug can remotely switch on and off any appliance which is connected to it.
- It can also measure the voltage(Vrms).
- The current value is fixed to 2.0 Amps(next step is to integrate the current sensor)
- Both power an energy calculation is done successfully and displayed on the Blynk app as well as the terminal.
Code used
Aim - To integrate the current sensor so that we can accurately determine the power consumed.
Current sensor which we are using is SCT013
Aim - To integrate wifi manager which prevents from hardcoding wifi credentials.
Refrence Video
Library Used
Code Used
Aim - Shifted from ESP8266 to ESP32
Code Used