solar-sensor based on a msp430 microcontroller