This project is designed to measure parameters of solar panels and objective is to measure Voltage, current, power, temperature and intensity of light .Digital display is used to display values of these parameters.Pic microcontroller is used to measure analalog values of these sensors and PIC microcontroller built in analog to digital to converter is used to measure values of these parameters. I have written this article on request of one follower of my blog.You can also ask me to write article you need.
BLOCK DIAGRAM:
The block diagram above shows a solar panel measurement system. Voltage divider is used to measure voltage.I have used polar and not polar capacitor along with voltage divider to avoid fast voltage fluctuations in voltage during measurement. Difference amplifier is used to measure current. Signal conditioning is done by using shunt resistor to convert current into voltage form. Lm35 tempertuare sensor is used to measure voltage of solar panel. Light dependent resistor is used to measure light intensity. Power can be calculated by product of measured current and voltage.

As shown in above block diagram sensors are connected with four ADC channels with PIC micrcontroller. Next I have explained how these sensors works and circuit diagrams of all these sensors is shown below.
Voltage sensor circuit diagram :
There are many ways to sense voltage. But in this project we can easily measured voltage of solar panel using voltage divider. Two capacitors are connect parallel to voltage measurement resistor to avoid voltage fluctuation and avoid harmonics to go into ADC of PIC microcontroller.I have already posted a article on how to measure AC voltage using PIC microcontroller. You can also check this article by clicking on link below:
AC voltage measurement using pic microcontroller
Circuit diagram of voltage sensor is shown below:

According to voltage sensor formula ,for solar panel of 24 volt values of voltage divider resistors are R2 = 10K and R4 = 2K. The reason I have used voltage divider because the maximum input voltage to Analog to digital converter can never be greater than 5 volt. But I calculated these resistor values according to 4 volt to increase accuracy of  measurement  and to insure protection of ADC in case of greater voltage fluctuation.
Note: DC voltage source is used instead of solar panel in Proteus just for simulation purpose. Because solar panel simulation is not available in Proteus.
current sensor circuit diagram :
Below is a circuit diagram of current measurement circuit. I have used difference amplifier to amplify voltage appearing across shunt resistor. Because current value may be too high and too low in different timings and different voltage will generate across shunt resistor.So it is not possible to use voltage divider as we don’t know the values of current.

I have already posted a article on how to measure AC current using difference amplifier. You can check following article to understand how above circuit is working.
AC current measurement using op-amp and pic microcontroller
Temperature sensor circuit diagram :
Circuit Diagram of temperature sensor is shown below. To know more about temperature sensor and its details go through following articles:
Digital temperature sensor using PIC microcontroller
Wireless temperature sensor using PIC microcontroller and gsm

Light sensor circuit diagram :
Light dependent resistor is used to measured intensity of light. LDR is a light controlled variable resistor.Resistance of LDR changes with the change in intensity of light. Greater the intensity of light, lower will be the resistance and lower the intensity of light, greater will be the resistance. Change in resistance can be easily measured by converting it into voltage form as shown in circuit diagram below.

In above circuit non polar 100nf capacitor is used to avoid voltage fluctuations.
Power measurement :
Output power of solar panel can be easily calculated by product of voltage and current output of solar panel.Because solar panel is a DC voltage source and in case of DC, voltage and current remain in phase and power relation become simple which is just a product of voltage and current. These calculations can be easily done with the help of algorithm/program.
Complete circuit diagram:
Complete circuit diagram of solar panel voltage measurement is shown blow. you can easily write code for this circuit using ADC of pic microcontroller and lcd display for digital display of these values.if you still have any issue after reading this article, feel free to comment on this post. Don’t forget to subscribe to my blog to get updates of new posts in your inbox.

If you want to purchase complete circuit diagram and code of this project, comment on this post with your email address.
[button-white url=”http://store.microcontrollerslab.com/product/solar-panel-parameters-measurement-system/” target=”_blank” position=”center”]Buy code and proteus simulation in 35$[/button-white]
Hi;
Thank you for all of these subjects, actual they are very useful and give me very clear idea about the topic which I try to design. Would you please send to me the code for the topics which has been mentioned above.
Best regards;
I have already posted articles on temperature, voltage and current sensors along with code. you can get from those articles. I will post complete code of solar panel measurement system in few days.
thank u for ur great role here. please send it by my
email address [email protected]
please can you send me the detailed file of this subject i am currently working for my graduation project. thank you
hi.
dear this is what i want …………….can you send me its simulation,circuit diagram and the most important thing code…….please send me as soon as possible.
id: [email protected]
thanks,
To download circuit diagram of solar panel parameters measurement system click on link below :
http://www.4shared.com/rar/-PValhUNce/ciruit.html?
I have posted articles on temperature , light , current and voltage measurement separately. you can go through them to write code for this project. Or just combine code of all these sensors to make solar panel parameters measurement system.
Sir,
can you please send the code of above project with using PIC18f4520 or PIC16f877a at email [email protected]
please sir. Thank you.
hey bilal….
will you please send me its simulation file and code…………?
id: [email protected]
Read above comment for circuit diagram of solar panel parameters measurement system.
can you send me its simulation,circuit diagram and the most important thing code ,please send me as soon as possible.we are doing solar monitoring project for that we want simulation,code and circuit.
email id:[email protected]
To download circuit diagram of solar panel parameters measurement system click on link below :
http://www.4shared.com/rar/-PValhUNce/ciruit.html?
I have posted articles on temperature , light , current and voltage measurement separately. you can go through them to write code for this project. Or just combine code of all these sensors to make solar panel parameters measurement system.
hello, i thank you if you send to me he details including the codes .
can you send me its simulation,circuit diagram and the most important thing code ,please send me as soon as possible.we are doing solar monitoring project for that we want simulation,code and circuit.
email id:[email protected]
Can u send me code. email: [email protected]
hi Sir :).. i’m interested to built this … can you please email me the details? and codes? ..
thanks in advance :)..
[email protected]
Bhong2002
sir kindly send me the details of the project
[email protected]
pelez send code and complete circuit diagram on this email
[email protected]
Bilal malik want showing solar panel parameters measurement system, but he don’t want to share code. If he not want to share code. Why share circuit diagram download link, I don’t understand. he he he ha ha ha
pls send the complete code of the project
pls send complete code on the mail id [email protected]
I like this project. I am working on solar energy system. Every time I need to use voltmeters and current meters for measurement. This project is very good because this gives additional parameters like temperature and light intensity along with this voltage and current. I will implement this hardware, so please send me circuit diagram and code of this project.
Thank you
regards,
Abhijit V. Padgavhankar
plz send me ckt diag and code on [email protected]
till i am not getting source code for this project. plz send it on [email protected]
[email protected]
sir plz can you tell me , can i do all this stuff using aurdino or avr atmega 16…if yes then kindly help me in this regards…
Yes you can use any microcontroller or arduino you just have to change microcontroller and write code using respective compiler
Thank you very much astonishing work
please SEND me the complete circuit diagram and the CODE
[email protected]
Thank you again
Hi.
Can you send me its simulation,circuit diagram and the most important thing code.please send me as early as possible.
my e-mail id is: [email protected]
Hi Bilal,
Thanks for sharing this knowledge with us. I just have a question and I am confused about it. As you said, the 24V from a solar panel (dc power in this case) goes through a voltage divider circuit which will reduce to 4V since the microcontroller cannot take voltages greater than 5V. Does this mean that the output from the solar panel reduces to 4V in total and the remaining 20V is lost?
plz send me ckt diagram and code for this project
Sir please send me the full code for this project sir. code is not available for dc measurement of current so please send me as soon as possible
solar panel parameters measurement system, i doing coding complete myself…
https://www.dropbox.com/s/pmhpyaxhis51653/Untitled.png?dl=0
pls send complete code
email: [email protected]
Hi.
Can you send me circuit diagram for this projects? Thank you so much for share this.
Its a nice topic to work. Thanks for the posting. Kindly send me the circuit diagram and code for the above to this mail. Email: [email protected]
Hi.
Can you send me circuit diagram for this projects? Thank you so much for share this.
[email protected]
send me the code for this project. thanks
Email: [email protected]
Hi Sardar
Its not free you can purchase it from me by contact me at [email protected]
contact me at [email protected]
Sir can you please send me the code for this project on 8051 or pic .. And the hardware details ..thankyou
Hi sir!
Can you guide me to make this project.
I need your help in coding section( how to wright code to microcontroller and can you plz send me the code also
contact me at [email protected] if you need my project assistance
Hi Bilal,
Thank you for your helpful information. I have one questions, How is it possible to remove the possible noise from the environmen which has effect on the measurement system. For example, we implement one measurement system to measure the paramteres fo the solar panels. However, we see some noise around 0.7V during night and date on the output of out measurement system.
Thanks,
RZ
please give me the code
I am working on a similar project….. Would you kindly send me the circuit diagams, simulations and codes on my email please.. I would really appreciate it…… Mainly on solar tracking and monitoring.
Hi
I sent you an email on [email protected]
thanks
replied
Hi
I would like to say thank you for your initiatives and your work, it is such an magnificant project.
I would be grateful if you sent me the code to my e-mail: [email protected], and
I just wanted to know if I used UNO Arduino mircrocontroller, would this be useful for me ?
thank you
can you send to me code pleaz
[email protected]
[email protected]
i want complete circuit diagram and code of this project please
i want the code of this circuit plzz.
[email protected]
hi, can you upload the codes for this project..thank you
hie can you kindly sent circuit diagram and code
you can sent at [email protected]
Hi,pls send me the complete PDF write up for this [email protected]
you can reach me at my email [email protected]
Hi! Great project! May I ask how do you determine the best value for the parallel capacitors attached to the solar panel’s voltage divider? Thank you 🙂
sir is it possible for the sensor to measure voltage up to 300 volts with few modifications?
Sir,
Please send me detail of overall system and circuit diagram.
Thank u.
from where i can get full code of this project please