# SMART WIRELESS SOLAR POWER MANAGEMENT

6,098

23

1

Hi.. Solar energy is abundant, pure form of energy. You could build your own solar system with the things you have in your home without wasting much money and time. All you need is a bit of Enthusiasm and little time to experiment things.

In this Instructables, we are going to see how to make use of the Home Inverter with simple Relay Logic Circuits. Here all you will learn to build your own solar panel circuit and understand the basics of what is happening in the relay circuits made in this Instructable and also to control and monitor via home wifi using ESP8266.

For further more projects and details kindly visit http://engineerthoughts.com/

Solar Panel Facts and Details ( You May Move Ahead If You Know the Basics)

• The solar panel produces the Current due to the hitting of the photons from the sun on the silicon atoms.Thus in simple words, SUNLIGHT FALLS ON THE SOLAR PANEL AND CURRENT is produced.
• The main thing to be noticed when considering the other form of Energy is that SOLAR PANEL is CURRENT SOURCE and not voltage source, thus by virtue of this, the voltage will change depending on the load.

• Power of the solar panel is equal to the product of the Open Circuit voltage and the Short Circuit current.for example for 100 watts pannel, Voc=20V or 21V and Isc=5 A thus P=100 watts (approx) (at full bright sun)
• The Power produced will be directly proportional to the intensity of the Sun Light.There are two types of Solar Panel:
• Monocrystalline (high efficient)
• Polycrystalline ( comparatively less efficient)

Thus without wasting much time, lets get on to the making.......!

### Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

## Step 1: LIST OF COMPONENTS

I won't waste much time in the selection and construction of the solar panel, I don't want you to get bored anymore. Thus I will move fast as possible in this instructable...!

LIST OF COMPONENTS:

1. SOLAR PANEL: Depending on the need of yours you may select the solar panel.
2. SOLAR CHARGE CONTROLLER: It is Essential as the Solar panel is a Current source. There are Two Types of Charge controllers namely :
3. Battery: Proper selection of the Battery for the correct backup of the Load.You may make use of the Home Inverter battery.https://www.amazon.in/Exide-42AH-PowerSafe-Sealed-...
4. Inverter: To run the AC (Alternating Current LOADS). Here you may use the home Inverter already installed
5. WIFI CONTROLLER: ESP8266 nodemcu is the cheap and best controller to control the system in WIFI. Can be programmed via the Arduino IDE. https://www.amazon.in/Lolin-NodeMCU-3-01-0268-1-No...
6. RELAY: The Electromechanical device which may act as the electronic switch to control the Solar System. It consists of the electromagnet whenever the magnet is switched on the Switch is closed and vice-versa. Thus it can be used to control the any higher voltages using the small microcontroller signal. 4 channel 10 amp relay link -->https://www.amazon.in/REES52-Optocoupler-Channel-C...70 AMPS car relay link--->https://www.amazon.in/Bike-Heavy-Split-Charge-Rela...

The links are given just to give an idea on the availability....!

FOR FURTHER UNDERSTANDING OF THE TOPICS, Google it and be clear before going any further.....!

## Step 2: MODES OF OPERATION

There are basically two modes of operation in this Solar connected Systems, They are :

• Manual Mode
• Automatic mode
1. Manual Mode: As the name indicates it is controlled manually.But there are two different options for that they are :
• Physical switches: Here it is controlled by the switching ON and OFF by the conventional switches.
• Relay Switch: Here the same operation is carried out using the wifi web page to turn on and off the relay coils and monitored using ESP8266.
2. Automatic Mode: Here it automatically runs depending on availability of the Solar and the Main Supply Power. Here the data can be monitored in the Web page.

## Step 3: MANUAL MODE

RELAY CONNECTIONS

1. Connect the solar panel to the Charge controller, Charge controller to the battery and Battery to Inverter through a relay as per the Circuit Diagram.
• The relay must be of the correct specification. The main data to be noted is the relay coil voltage, Operating voltage and most importantly the current capacity of the relay.

Considerations :

• Solar panel to Charge controller maximum current =5 Amp ( so relay of 10 amp is enough)
• Charge controller to battery maximum current =5 amp (so relay of 10 amp is enough)
• Battery to Inverter maximum current =50 AMP ( relay of 70 or 80 amp is enough)

Here for many of you, even me have the same question, how it can be 50 amps at most. The answer to this question is simple when we look at the basic power equation.

Power=Voltage *current

Consider 600va (watts)inverter (for basic understanding 4 tube light 4 fan inverter)

Power is taken from battery = Power delivered to the load ( taking Ideal condition)

Voltage of Battery (12Volts)* current form battery=600 VA

12*I=600 =>I=600/12=50Ampere

Thus from the basic calculation, we can come to the conclusion that relay switch must withstand min 50 amp so a bigger relay is taken for the consideration and another important thing is that, this relay is activated by other normal relays.

## Step 4: Practical Construction

Note

• Make a main normal switch before connecting to the relay. This will ensure the proper control of the system in case of any undesirable problems.
• Even though making relay connections as per the diagram, it is also equally important to make the manual normal switches parallel to the relay as you cannot completely depend on the Microcontroller for the operations as per the example.
• make the proper fuse to avoid the short circuit and overload faults.
• In the connections between the inverter and the battery where we have seen, there is the maximum amount of the current is passing, make sure to connect with the thick wire which resists, There use the MCB( Miniature Circuit Breaker as the Switch) instead of the conventional switch.

## Step 5: CONTROLLER- WIFI ESP2866 NodeMCU

Here the microcontroller used is ESP8266node MCU. The Main purpose of using this Microcontroller is :

• Built in wifi control
• Easily programmable with Arduino IDE
• Cheap and simple

Connect the Relay Outputs to the GPIO of the controllers. Selection of the Port is as per wish. Kindly make sure you connect it in the proper I/O terminals of the microcontroller and mention the same in the program.

## Step 6: AUTOMATIC MODE

In this Mode of Operation, the controller automatically checks the power supply, solar input is present or not and relays are automatically made to ON and OFF depending on this.

The Basic Outline of the Automatic Mode of Operation is as follows:

Case1: SOLAR OFF and MAIN ON

Relay 1 OFF (solar to charge controller off)

Relay 2 OFF (Charge controller to Battery off)

Relay 3 ON (Battery to Inverter On)

Case2: SOLAR OFF and MAIN OFF
Relay 1 OFF (solar to charge controller off)

Relay 2 OFF (Charge controller to Battery on)

Relay 3 ON (Battery to Inverter On)

Case3: SOLAR ON and MAIN ON
Relay 1 ON (solar to charge controller on)

Relay 2 ON (Charge controller to Battery on)

Relay 3 OFF (Battery to Inverter off)

Case4: SOLAR ON and MAIN OFF
Relay 1 ON (solar to charge controller on)

Relay 2 ON (Charge controller to Battery on)

Relay 3 ON (Battery to Inverter On)

Thus programming these cases makes the microcontroller operate in the Automatic Mode.

All these are monitored in the web page.

## Step 7: INPUTS OR SENSOR

Before we step onto the programming of the Manual and the Automatic Mode of Operation, We need to detect two factors, they are :

• SOLAR on or off
• MAIN SUPPLY on or off

SOLAR SENSOR :

The presence of the solar can be detected in various ways, there are no limitations, Some of the ways I suggest are as follows:

1. Using of the LDR, Photodiode, Phototransistors to detect the presence of the Sunlight.
2. Using the Voltage sensor (voltage bridge to measure the voltage in the microcontroller GPIO)
3. Use of the Relay or Optocoupler

To make the system and the code simple I used the relay as the sensor.

• I connected the relay (12V) coil to the solar input, So when the sunlight is bright enough to trigger the coil, a relay is on a switch will be closed, thus it can be taken as the presence of the solar energy.

MAIN SUPPLY SENSING:

If you are Electrically strong you could make the sensor connection from the Main supply 220 volts by converting the 220 v ac to (5 or 6 VA)(transformer)and to dc (rectifier) then connect it to the microcontroller input.

BUT IF YOU ARE LAZY LIKE ME ,I STRONGLY SAY THERE IS A VERY VERY SIMPLY MEASUREMENT SYSTEM

• Take a waste phone charger and plug it in the supply, the output is 5-volt dc which is more than enough to power up the relay coil. When the switch is closed the input is obtained to the microcontroller.

## Step 8: ARDUINO PROGRAMMING

Thus we have come to the final part of this project,

If you are familiar with the Arduino programming, it is very easy to step

1. Give the wifi name and password in the beginning of the program.
3. The web page is basically an HTML code written in the Arduino IDE, you may also edit and change if you are good in the website designing.
4. After the code being uploaded on the serial monitor, there will be the IP address where it must be connected.
5. From the device connected to the same wifi open that IP address then the web page will be Opened showing the details.

## Step 9: CONCLUSION

There are many things which can be added in this project. Some of the ideas which I have are as follows, you may also :

1. Usage of the Current sensor (hall effect sensor ) to measure the current and finally to show the status of the power utilized to form the Solar Panel.

2. Making an IOT based control to the same system.

If you have any doubts or any further Ideas feel free to comment and be confident to EXPERIMENT it...!

thank you and be happy, God is with you... all the best
With love

(N.Aranganathan)

Participated in the
Automation Contest 2017

Participated in the
Solar Contest 2017

## Recommendations

• ### Internet of Things Class

22,712 Enrolled

## Discussions

Hi Ranga, Can you provide schematic diagram of the MAIN SUPPLY DETECTION and SOLAR POWER DETECTION so help people to understand the circuit. Thanks. bdinh2hh