Question on calculation of GSR sensor

On the GSR sensor’s page has mentioned:

Human Resistance = ((1024+2*Serial_Port_Reading)10000)/(512-Serial_Port_Reading), unit is ohm, Serial_Port_Reading is the value display on Serial Port(between 0~1023)



1.

So I would like to ask if have an ADC ranging (0~4096) and have set the variable resistor to a position that the ADC value results in 2048 when it is not being worn, is the following modification of the formula correct?



Human Resistance = ((4096+2
Serial_Port_Reading)*10000)/(2048-Serial_Port_Reading), unit is ohm, Serial_Port_Reading is the value display on Serial Port(between 0~4096)



2.

Also, what does the “10000” inside the formula for?

Hi there



((4096+2Serial_Port_Reading)10000)/(2048-Serial_Port_Reading) is for the 12bit ADC. 10000 is a number after the calculation without any other unit. thanks.



best rgds

Bill