All the microcontroller and matlab code for a MSP430 based weather station used in the introductory matlab class at University of California, Davis http://www.ece.ucdavis.edu/~swhsu/index.html/renewable/solar_mod.html