Programming your msp430 to read analog voltage is very simple.
Measure power output from solar panel using adc with msp430.
You can see p1 7 pin on the right hand side this pin belongs to a7 channel 7.
Using the charger s integrated analog to digital converter adc and an input power management control loop input and output power are measured and the load as seen by the solar panel is dynamically adjusted.
But in this project we can easily measured voltage of solar panel using voltage divider.
Programming your msp430 for adc.
The defines shown in the current measurement 1 35 ino file refer to a stellaris arm adc not a msp430 and are therefore of no use to you.
In this program will read the analog of value and calculate the voltage with that value and then display both on the lcd screen.
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.
The graph above is constructed from the sample data.
As we know solar panels are dc power sources.
This project find more light intensity area so it help the solar panel to produce maximum power.
Solar panel output is expressed in units of watts w and represents the panel s theoretical power production under ideal sunlight and temperature conditions.
After doing your solar panel testing you should find that the solar panel output for the solar panel you built is about 21 volts and 5 amps.
The two ldrs analog signal are converted into digital signal in msp430g2231.
Solar energy measurement system block diagram.
Once you have the power for each resistance setting you can graph it.
Microcontroller mcu to support the software control.
Volts x amps watts.
The two ldrs are connected to both edges of the solar panel so it can able to follow sun direction from east side sunrise to until west side sun set.
So 21 volts x 5 amps 105watts.
Voltage sensor is used to measure a voltage of solar panel.
You can use any pins from a0 to a7 for reading analog voltages here i have selected a7.
You should be referring to the msp430f5529 s user guide as compared to the datasheet in order to understand more about the adc registers.
Adc lab goal use adc12 integrated temperature sensor setup adc12 to perform single conversion loop continuously converting to degrees f and c in software touch the msp430 with finger to change temperature.
I have found that the most understandable way to read the power output of a solar cell is to use an x y scatter plot with voltage along the horizontal axis and power on the vertical axis.
Similarly we can find the respective channel number for other pins as well.
There are many ways to sense voltage.
Hi everyone here i am showing my solar tracking project for solar panel.
At the right side of the diagram is a solar panel which energy you want to measure.
Most home solar panels on the market today have power output ratings ranging from 250 to 400 watts with higher power ratings generally considered preferable to lower power ratings.