The device used for measuring daily insolation has been developed. The device was built with a PIC18F458 and the 128MB Multimedia Memory Card, MMC. The solar radiation is measured by a calculator solar cell. The PIC chip interfaces the MMC using SPI mode. The interval between samples is set to one minute. The firmware detects the memory card, assignes the file name and begins recording automatically. The LCD displays the file name, current sample and real-time ADC data. With the MMC flash technology and a cheap media card reader, the devices will be able to record huge amount of data and quick data uploading to the PC.
To estimate the sun energy for a given location, we record the irradiance (W/m^2) with time. Figure 2 shows a sample plot of irradince with time (5mins interval). The daily insolation can be computed easily by integraing the curve. For accurate total radiation measurement, we use the expensive pyranometer. However for simplicity and cheap instrument we can replace it with a small colar cell as the input sensor. The article shows the use of PIC microcontrolller and the Multimedia Memory Card for data storage.
The complete hardware schematic is shown in Figure 1. The MCU is PIC18F458 running at 4MHz clock. The SPI port RC2-RC5 is used to interface the MMC card. Since the memory card is +3.3V logic, we use CMOS CD4050 to translate from +5V logic to +3.3V logic. RC5 is MMC command shifted out from the MCU. The shift clock is RC3. Data out from the memory card is read back by RC4. The text LCD is interfaced to the PORTB using 4-bit mode. U2, TLV2451 is current to voltage converter. It converts the short circuit current from the solar cell to voltage signal. The output voltage is short circuit current multiplied with R5. We may adjust R5 to provide +5V full scale. The signal is tied to analog input channel 0. Channel 1 is available for thermistor input. U4 is +5V voltage regulator, the +3.3V is derived from the +5V through the use of D3 and D4.
For more detail: Solar Recorder