# Wireless Energy Meter With Load Control

3,834

16

## Introduction: Wireless Energy Meter With Load Control

INTRODUCTION

This Project is Based on Atmel's Atmega16 Microcontroller as the main brain for computation.

NRF24L01+ Wireless communication module is used for the Wireless data transmission.

Today we have hundreds and thousands of Energy Meter installed in an Apartment Complex , Shopping Mall, School, University , Hostels and Lot more. The problem arises when meter is read by an employee to compute the bill per Energy Meter. Its require lot of manpower and cost.

Here I have come up with a simple project that will save manpower and cost by automatically transmitting the Energy count of multiple Energy meter to the Host Or Service provider.

I have taken he data from Three Energy meter and transmitted the Data to the receiver, which computed the load and the the total consumption per meter.

If the load exceeds the permissible level then a buzzer starts.

Data gets saved in sender's side so no data loss is produced if the receiver is switched off or connectivity is lost.

Here is the Working Video .

Different Components are:

• Energy Meter X 3
• NRF24L01 X 2
• Atmega16 X 2
• Optocoupler X 3

## Step 1: Energy Meter Setup

1. Open the Energy meter first

2. Just Cut the Cathode terminal of the Cal LED

3. Solder 2 wires on the 2 ends of the LED.

4. Connect the Cathode of the LED to the Pin1 of the Opto-coupler (MCT2E) and the other end of the LED to the Pin2 of the Opto-coupler

5. Connect pin 4 of the opto-coupler to a Black wire and Pin5 to the brown wire. Connect the Black wire to the ground of the circuit board for the projects Prepaid energy meter or Auto meter reading projects. The Brown wire carry's the pulse output.

6. Connect the power supply and load as per this picture.

## Step 2: Basic Algo for Calculation

Here meter is interfaced with microcontroller through the pulse that is always blinked on the meter. Further that pulse is calculated as per its blinking period, using this principle we calculated it for one unit and accordingly what charge will be for a unit.

After 0.3125 watt energy uses Meter LED (calibrate) blinks. Means if we use 100 watt bulb for a minute then the pulse will blink 5.3 times in a minute. And this can be calculates using given formula.

Pulse= (Pulse rate of Meter* watt * 60) / (1000 * 3600)

If pulse rate of meter is 3200 imp and watt used is 100 then we have

Pulse = (3200 * 100 * 60) / (1000 * 3600)

Pulse = 5.333333333 per minute

If 5.3333333333 pulses occurred in a minute then In one hour pulses will occur..

Pulse = 5.3333333333* 60 Pulse = ~320 ~320 Pulses will occur in a hour

So, in one hour 100 watt bulb consumed 100 watt electricity and almost 320 pulses blinks.

Now we can calculates one pulse electricity consumed in watt

One pulse (watt) = 100\320

One Pulse (watt) = 0.3125

Means 0.3125 watts electricity consumed a single pulse.

Now Units Unit = (one pulse energy (electricity) )* pulses / 1000

If One pulse = 0.3125 watt Pulses in 10 hours = 3200

Then Unit will be Unit = (0.3125 * 3200)/1000 Unit = 1 Means, One unit in 10 hours for a 100 watt bulb.

Now Suppose one unit rate is 7 rupee then For a single pulse cost will be

Single pulse cost = (7 * one pulse energy consumed) / 1000

Single pulse cost = (7 * 0.3125) / 1000

Single pulse cost = 0.0021875 Rupee

## Step 3: Nrf24L01 (Credit to Http://gizmosnack.blogspot.in/)

The nRF24L01 module is an awesome RF module that works on the 2,4 GHz band and is perfect for wireless communication in a house because it will penetrate even thick concrete walls. The nRF24L01 does all the hard programming fore you, and even has a function to automatically check if the transmitted data is received at the other end.There are a couple of different versions of the nRF-family chips and they all seem to work in a similar way. I have for example used the nRF905 (433MHz) module with allmost the same code as I use on the nRF24L01 and the nRF24L01+ without any problems. These little modules has an impressive range, with some versions that manages up to 1000 m (free sight) communication and up to 2000 m with a biquad antenna.

### nRF24L01 versus nRF24L01+

The (+) version is the new updated version of the chip and supports data rate of 1 Mbps, 2 Mbps and a "long distance mode" of 250 kbps which is very useful when you want to extend the broadcast length.The older nRF24L01 (which i have used in my previous posts) only support 1 Mbps or 2 Mbps data rate.Both the models are compatible with each other, as long as they are set to the same data rate. Since they both costs about the same (close to nothing) I would recommend you to buy the + version!

Part one - SetupConnection differencesThe nRF24L01 module has 10 connectors and the + version has 8. The difference is that the + version instead of having two 3,3 V and two GND, have its ground (the one with a white square around it) and 3,3 V supply, next to each other. If changing module from a new + version to an old one, make sure not to forget to move the GND cable to the right place, otherwise it will shorten out your circuit.
Here is a picture of the + version (top view), where you can see all the connections labeled. The old version has two GND connections at the very top instead of at the down right corner.

## Step 4: Basic Connection Diagram

This Connection diagram is a schematic

## Step 5: Code

For CODE Visit GitHub https://github.com/arnabdasbwn

54 3.5K
136 5.8K
846 66K
1 118 10K