I am having difficulty understanding the output from my ADC. I am using a 10-bit MCP3008 with a photoresistor and CT current sensor connected into the analog inputs. I am reading the signals with this module. The module has a 'read_adc' function which 'Reads the current value of the specified ADC channel. The values can range from 0 to 1023 (10-bits).'
So far in the photoresistor channel, I am seeing values range from 100-200 (when the lights are low) to near 1000 when the lights are very bright. What exactly do these values mean? Are they a value of voltage being passed through the analog input port? Are they some sort of voltage measurement as a proportion of the reference voltage?
Same goes for the current sensor. The values remain steady at around 6 (which is the same for other grounded analog inputs), but then jumps to around 60-80 when a load the sensor is monitoring turns on, put then plummets back down to 6 after a few samples. Are the 60 and 80 values again reading voltage ?
Sorry if this is a simple question about ADCs. Thanks for the help!
-Tuomas