Arduino USB and Solar Cells

Hi, I'm totally new on microcontrollers. Maybe my question is dumb but I wanted to ask you guys first before continuing with my project. Here is the thing: I have created a usb solar charger for mobile phones (is a project for the school) and I need to implement some intelligence on it. I was wondering if I could plug in my solar circuit on the microcontrollers analog input and read the amount of voltage that is producing, therefor I can submit a message on what is the light condition on the room ( like excellent , poor , good).

Thanks

Arduinos Anlog inputs (Analog to digital converter) reads a voltage in the 0- 5 volt range and turn it into a number in the 0 to 1023 range.

If your voltage exceeds 5V you will have to scale it down with a voltage divider or in some other way.

Hoo nice, and it is possible to trigger some kind of message depending on the current voltage? like sending a warning to the pc or something like that? or maybe even to a display???

thanks again for your time

Sure Go Here for lots of ideas and help.