Professional Documents
Culture Documents
HOME APPLIANCES
1. Shreya R 2. Bhavana R 3. H R Yashwanth 4. Varun R
Specification
Usage/Application: Industrial
Fig 2. Circuit diagram
Supply Voltage: 5 V
The energy-monitoring device is a system that can be used Output Voltages: +1.8V, + 3.3V, +5V
to measure and monitor realtime AC voltage, current, real Maximum Load: 0.75 Amps
and apparent power. The monitoring devices comprise of Input Efficiency: 72 %
Current Transformer (CT), Voltage Transformer and power Input Frequency Range: 47 to 63 Hz
supply module. All of its hardware is based on the Arduino 3. 12V STEPDOWN TRANSFORMER
and Cloud platforms and need a power of 5 V DC. These
monitoring units are connected to the laptop via Ethernet to
access the local server, which is accessible via the IP
address of the Raspberry Pi and sends the data to Blynk
cloud via Wi-Fi. The Single-Phase circuit consists of three
CT sensors, so it measures three loads at a time. Figure 1
shows the block diagram of single-phase measurement
whereas Fig. 2 shows the circuit diagram.
Fig. 3 ESP8266
The ESP8266 is a highly popular and versatile low-cost Wi- Fig. 6 Relay module
Fi module developed by Espressif Systems. It integrates a
microcontroller with Wi-Fi capabilities, making it ideal for A relay module is an electronic device used to control the
IoT (Internet of Things) projects and applications requiring switching of electrical circuits. It typically consists of a coil,
wireless connectivity. Equipped with a powerful 32-bit contacts, and a switching mechanism. When a current flows
Tensilica microcontroller, the ESP8266 offers ample through the coil, it generates a magnetic field that attracts or
computational capability for a wide range of applications. repels the contacts, thereby opening or closing the circuit.
Its integrated Wi-Fi module enables seamless connectivity Relay modules are widely used in various applications,
to local networks and the internet, allowing devices to including home automation, industrial automation, and
communicate with each other and with online services. automotive systems, to provide electrical isolation between
2. POWER SUPPLY MODULE control circuits and power circuits, as well as to enable
remote or automated control of devices. Overall, relay
modules play a crucial role in facilitating the efficient and
safe operation of electrical systems across a wide range of lcd.print(Watt);
industries and applications. Blynk.virtualWrite(V0, AmpsRMS);
Blynk.virtualWrite(V1, Watt);
VII. SOFTWARE CODING
if(AmpsRMS>0.17)
#define BLYNK_TEMPLATE_ID "TMPL3HDv1If3L" {
#define BLYNK_TEMPLATE_NAME "REAL TIME HOME Blynk.virtualWrite(V2, "LOAD IS BEEN DETECTED");
MONITORING" lcd.setCursor(0, 1);
#define BLYNK_AUTH_TOKEN lcd.print("LOAD_IS_DETECTED");
"L4rb1TJkQzL_Ft8CzPeZN56DyrCWTNTA" }
#define BLYNK_PRINT Serial else
#include <ESP8266WiFi.h> {
#include <BlynkSimpleEsp8266.h> Blynk.virtualWrite(V2, "NO LOAD IS FOUND");
#include <Wire.h> lcd.setCursor(0, 1);
#include <SPI.h> lcd.print("NO_LOAD_IS_FOUND");
#include <LiquidCrystal_I2C.h> }
#include <SoftwareSerial.h>
#include <CD74HC4067.h> }
SoftwareSerial espSerial(2,3);
LiquidCrystal_I2C lcd(0x27, 16, 2); //SCL D1,SDA D2 float getVPP()
BlynkTimer timer; {
float result;
char auth[] = BLYNK_AUTH_TOKEN; int readValue; // value read from the sensor
char ssid[] = "PROJECT"; int maxValue = 0; // store max value here
char pass[] = "DEMO2024"; int minValue = 1024; // store min value here
#define SIG A0 uint32_t start_time = millis();
int RELAY=D7;//pin 13 while((millis()-start_time) < 1000) //sample for 1 Sec
{
//HOME ANALOG SENSOR sensorIn = analogRead(SIG);
int sensorIn;
int mVperAmp = 185; // this the 5A version of the ACS712 -use 100
for 20A Module and 66 for 30A Module readValue = sensorIn;
double Watt = 0; // see if you have a new maxValue
double Voltage = 0; if (readValue > maxValue)
double VRMS = 0; {
double AmpsRMS = 0; /record the maximum sensor value/
maxValue = readValue;
}
void setup() if (readValue < minValue)
{ {
Serial.begin(9600); /record the minimum sensor value/
Blynk.begin(auth, ssid, pass); minValue = readValue;
pinMode(SIG,INPUT); }
pinMode(RELAY,OUTPUT); }
lcd.begin();
lcd.backlight(); // Subtract min from max
lcd.print("LOAD MONITORING"); result = ((maxValue - minValue) * 5.0)/1024.0;
lcd.setCursor(0, 1);
lcd.print("JAIN COLLEGE DVG"); return result;
delay(4000); }
lcd.clear();
void loop()
{
Blynk.run();
Serial.println ("");
Voltage = getVPP();
VRMS = (Voltage/2.0) *0.707; //root 2 is 0.707
AmpsRMS = (VRMS * 1000)/mVperAmp;
Serial.print(AmpsRMS);
Serial.print(" Amps RMS --- ");
Watt = (AmpsRMS*240/1.3); // 1.3 is an empirical calibration factor
Serial.print(Watt);
Serial.println(" W");
lcd.setCursor(0, 0);
lcd.print("A:"); Fig 7. Module
lcd.setCursor(2, 0);
lcd.print(AmpsRMS);
VIII. ADVANTAGES AND APPLICATIONS
lcd.setCursor(8, 0); 1. Network setups can be carried out without fixed
lcd.print("W:");
lcd.setCursor(10, 0);
infrastructure
2. Suitable for the non-reachable places such as IX. RESULT
over the sea, mountains, rural areas or deep
forests.
3. Flexible if there is random situation when
additional workstation is needed.
4. Implementation pricing is cheap.
5. It avoids plenty of wiring.
6. It might accommodate new devices at any
time.
7. It's flexible to undergo physical partitions.
8. It can be accessed by using a centralized
monitor.
APPLICATIONS
The applications for WSNs involve tracking,
monitoring and controlling.
WSNs are mainly utilized for habitat
monitoring, object tracking, nuclear reactor
control, fire detection, and traffic monitoring.
Area monitoring is a very common
application of WSNs, in which the WSN is
deployed over a region where some incident
might be monitored.