Strange Values with pcf8591 chip driver
I am using a pcf8591 chip on a linux 2.6.8 Kernel. The Adapter Driver is the scx200_i2c. When I do a sensors command I get random values on each input channel. Channel 1/2/3 are all set to 0V.
voyage:~# sensors pcf8591-i2c-1-49 Adapter: NatSemi SCx200 I2C Chan. 0: 1.28 V Chan. 1: 1.28 V Chan. 2: 1.28 V Chan. 3: 1.28 V Output: 0.00 V (enabled)
Does anyone have any hints or tricks on how I can proceed with debugging and error correction? Or is this a known problem?
Thanks and best Regards,
Mirko
Signature · 2 lines
Mirko Buholzer [email protected]
Hi!
Mirko Buholzer a ?crit :
Quoted 13 lines
I am using a pcf8591 chip on a linux 2.6.8 Kernel. The Adapter Driver is the
scx200_i2c. When I do a sensors command I get random values on each input channel. Channel 1/2/3 are all set to 0V.voyage:~# sensors pcf8591-i2c-1-49 Adapter: NatSemi SCx200 I2C Chan. 0: 1.28 V Chan. 1: 1.28 V Chan. 2: 1.28 V Chan. 3: 1.28 V Output: 0.00 V (enabled)
Quoted 2 lines
Does anyone have any hints or tricks on how I can proceed with debugging and error correction? Or is this a known problem?
Have you set the voltage reference of the chip correctly?
Note that you can also change the mode of the chip (single ended or differential inputs) with the input_mode parameter.
Aurelien
Signature · 4 lines
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian GNU/Linux developer | Electrical Engineer `. `' [email protected] | [email protected] `- people.debian.org/~aurel32 | www.aurel32.net