So I want to put a LDR outside my window the whole day and log how much light shines in that area. I want it to record the data every idk 10 minutes? So what would be the easiest way of doing this?
Maybe even implementing a graph would be a good idea.
Six readings an hour for twenty four hours is 144 readings.
The readings will probably be ten bits each, so allow an 'int' per reading.
Unfortunately, the dynamic range of light over a day somewhat exceeds the dynamic range of your ten bit conversion.
Unfortunately, the dynamic range of light over a day somewhat exceeds the dynamic range of your ten bit conversion.
... in the cases of some simple sensor circuits. Some hardware pre-scaling would overcome this. The 10-bits only determines resolution, not range.
CAPTURING the data is relatively trivial...
Nuelectronics datalogging shield would eat this for breakfast... about $16...
... and would be capable of 20bits 60 times an hour for over 24 hours... maybe even a week... you'd write the data to an SD card, which would make the data "portable"... you would transfer the data to a big computer for display.
Alternatively, if you can program a big computer for drawing graphs, and you can master a link between Arduino and big computer...
... you could use the Arduino as an ADC attached to the big computer... read temperature and windspeed and barometric pressure, if you want to see some interesting things... and then have the big computer do the display work. Once you can create a new jpeg periodically, if you are on a Windows system, FarWatch ...
... will let you make that jpeg available across the internet in near real time for no further expenditure (other than your ordinary broadband account).
ALTERNATIVELY, visit the Arduino Playground... there are small LCD graphics panels you could use to display a graph of the past x hours of insolation data...