Hello everyone, I'm working on automating the capture of voltage, temperature, current and irradiation in a photovoltaic panel. The program design is done, where enters the four values to obtain the IV characteristic curve of a photovoltaic panel, also the power and efficiency is calculated.
The circuit design is in the program, the system: must have two states, the resting and active, all in function of time, the active state is given only every 10 minutes for a period of one minute, and the resting it's during the 10 minutes.
Let's start by resting state, in this state that it's during 10 minutes the entire period, writes in PWM port 11 an output of logic 0 (or volts), which connects the panel to the charge controller, also verified temperature, if the temperature in the panel exceeds 30 ° C activated a logic 1 in the PWM port 12, that's it all for the resting state.
As for the active state is once they finish 10 minutes, is activated for 1 minute, in this period, the PWM 11 outputs a logical 1 (5 volts), the program captures all values of the analog ports every 10 seconds (voltage, temperature, current, irradiation as already mentioned) which are stored in a excel file and calculates all equations, graphs and display their outputs once concluded starts again counting 10 minutes in an infinite loop.
But it is not synchronizated of time, try by all means, anyone can help me with that?. the active state (Automatizacion curvsa I-V) and the rest (Automatizacion parte2), I regret my ignorance.
↧
timer
↧