Class.JohnsDatalogging History

Hide minor edits - Show changes to output

Changed lines 9-11 from:
[[ http://stage.itp.nyu.edu/~js3646/sensors/lightmeter.txt | Light Meter - Processing Code ]]
to:
[[ Class.JohnsDataloggingProcessingCode | Light Meter - Processing Code ]]
Changed lines 3-4 from:
Hooking up the cell to the PIC's analog input was easy, positive line from the cell went to the pin and the ground pin + 10K resistor went to ground. The cell I was using came from SolarBotics.com and gives off 6 Volts when bathed in bright light. As the light changes across the surface, the electricity coming out changes linearly too. So my PIC would say something like 10 if the room was very dark and 255 if the room was bright. I didn't play with the pull down resistor but I suspect it could have made the cell work better in a brighter room had the resistor been larger.
to:
Hooking up the cell to the PIC's analog input was easy, positive line from the cell went to the pin and the ground pin + 10K resistor went to ground. The cell I was using came from [[ http://www.solarbotics.com/products/index.php?scdfa-250100084-viewDetail-productzq3883zq4categoryzq32=true | SolarBotics.com ]] and gives off 6 Volts when bathed in bright light. As the light changes across the surface, the electricity coming out changes linearly too. So my PIC would say something like 10 if the room was very dark and 255 if the room was bright. I didn't play with the pull down resistor but I suspect it could have made the cell work better in a brighter room had the resistor been larger.
Changed lines 5-6 from:
Ok so the code, the PIC is just sending out data whenever it receives an "A" (65). I'll put the PIC code up once I get it off a very old machine.
to:
Ok so the code, the PIC is just sending out the analog sensor value whenever it receives an "A" (65). I'll put the PIC code up once I get it off a very old machine. I'll even put up a schematic
Changed lines 10-12 from:
*Light turning on, then off \\ http://stage.itp.nyu.edu/~js3646/sensors/sensorDatalog1.jpg
*http://stage.itp.nyu.edu/~js3646/sensors/sensorDatalog2.jpg
*http://stage.itp.nyu.edu/~js3646/sensors/sensorDatalog3.jpg
to:

Light turning on, then off

http://stage.itp.nyu.edu/~js3646/sensors/sensorDatalog1.jpg


Opening a curtain in a dim room.

http://stage.itp.nyu.edu/~js3646/sensors/sensorDatalog2.jpg

Solar cell is sensitive, lots of noise if you hold it by hand.

http://stage.itp.nyu.edu/~js3646/sensors/sensorDatalog3.jpg
Changed line 10 from:
*Light turning on, then off - http://stage.itp.nyu.edu/~js3646/sensors/sensorDatalog1.jpg
to:
*Light turning on, then off \\ http://stage.itp.nyu.edu/~js3646/sensors/sensorDatalog1.jpg
Changed lines 10-11 from:
Attach:http://stage.itp.nyu.edu/~js3646/sensors/sensorDatalog1.tiff
to:
*Light turning on, then off - http://stage.itp.nyu.edu/~js3646/sensors/sensorDatalog1.jpg
*http://stage.itp.nyu.edu/~js3646/sensors/sensorDatalog2.jpg
*http://stage.itp.nyu.edu/~js3646/sensors/sensorDatalog3.jpg
Changed lines 9-11 from:
[[ http://stage.itp.nyu.edu/~js3646/sensors/lightmeter.txt | Light Meter - Processing Code ]]
to:
[[ http://stage.itp.nyu.edu/~js3646/sensors/lightmeter.txt | Light Meter - Processing Code ]]

Attach:http://stage.itp.nyu.edu/~js3646/sensors/sensorDatalog1.tiff
Changed line 9 from:
[[ Class.JohnsDataloggingPCode | Light Meter - Processing Code ]]
to:
[[ http://stage.itp.nyu.edu/~js3646/sensors/lightmeter.txt | Light Meter - Processing Code ]]
Changed lines 5-6 from:
Ok so the code, the PIC is just sending out data whenever it receives an "A" (65). Here's the PIC code
to:
Ok so the code, the PIC is just sending out data whenever it receives an "A" (65). I'll put the PIC code up once I get it off a very old machine.

The process code displays an active line graph that is moving high on bright light and low on darkness.

[[ Class.JohnsDataloggingPCode | Light Meter - Processing Code ]]
Added lines 1-6:
I decided to use a solar cell (Photovoltaic) as a light meter. The idea came from Forrest Mimm's book, where he used everything from pencils & mylar to lightning as a sensor. A solar cell is good for collecting electricity from light as well as metering how much light is available.

Hooking up the cell to the PIC's analog input was easy, positive line from the cell went to the pin and the ground pin + 10K resistor went to ground. The cell I was using came from SolarBotics.com and gives off 6 Volts when bathed in bright light. As the light changes across the surface, the electricity coming out changes linearly too. So my PIC would say something like 10 if the room was very dark and 255 if the room was bright. I didn't play with the pull down resistor but I suspect it could have made the cell work better in a brighter room had the resistor been larger.

Ok so the code, the PIC is just sending out data whenever it receives an "A" (65). Here's the PIC code