Im reading voltage from a small solar panel. VOC is 25.6V. Im using a voltage divider to get it down to 5v. With a 10K on top and 2.4K on bottom, I get 4.95xxxV(close enough for my purposes). Because of my highest voltage being 25.6 my adc values are exact multiples of the actual voltages by 10. Therefore dividing the adc value by 10 would give me the actual voltage. With the picaxe my answer would be truncated.
I believe Ive read something about shifting decimals over before but am not quite sure what to search for. Id like to be able to take an ADC value of lets say 125 and make it 12.5. Is this possible or am I confusing what I remembered with something else?
The project is a datalogger measuring voltage and current from a small solar panel throughout the day. It takes a reading every 10 minutes and stores the data in eeprom.
The data is then download into Selmadaq for charting.
I believe Ive read something about shifting decimals over before but am not quite sure what to search for. Id like to be able to take an ADC value of lets say 125 and make it 12.5. Is this possible or am I confusing what I remembered with something else?
The project is a datalogger measuring voltage and current from a small solar panel throughout the day. It takes a reading every 10 minutes and stores the data in eeprom.
The data is then download into Selmadaq for charting.