[Owfs-developers] DS2450 and voltages

2008-05-01 Thread Alessio Sangalli
Hi, I am using a DS2450 to control voltages. I use a voltage divider, 33K + 10K resistors and measure the voltage in the middle to measure up to about 20V. I have to calibrate each ADC to get an accurate reading depending on the real value of the resistors. In this operation I would be more comf

Re: [Owfs-developers] DS2450 and voltages

2008-05-01 Thread Paul Alfille
It's certainly possible to give the raw byte sequence. There is a slight wrinkle that the DS2450 does A/D conversion either 0-2.5V or 0-5V and we use the requested property to transparently set the correct resolution. >From modules/owlib/src/c/ow_2450.c: // data conversions f[0] = (resolu