Search Results

by cizzi
Thu Jun 18, 2020 5:05 pm
Forum: General
Topic: 1135 voltage sensor
Replies: 14
Views: 23230

Re: 1135 voltage sensor

I did that and it seemed to help. Thank you!
by cizzi
Wed Jun 17, 2020 12:40 pm
Forum: General
Topic: 1135 voltage sensor
Replies: 14
Views: 23230

Re: 1135 voltage sensor

Hi Patrick, glad to see you still work here after so long. So I entered my value in the equation you linked me and it gave me 12.9 something volts which is off byt ~.2 volts, that's a large margin of error when my end goal is to use this data to gauge the battery level. I used the program I pasted i...
by cizzi
Wed Jun 17, 2020 7:09 am
Forum: General
Topic: 1135 voltage sensor
Replies: 14
Views: 23230

Re: 1135 voltage sensor

Hi! 9 years after my last post about this I pulled out my old 1135 analog voltage sensor and trying to get it to work. I used the nice example from phidget22 library and I get a voltage of: Voltage: 3.389900 Using this program #include <phidget22.h> #include <stdio.h> static void CCONV onVoltageChan...
by cizzi
Tue Nov 02, 2010 2:03 pm
Forum: General
Topic: 1135 voltage sensor
Replies: 14
Views: 23230

Re: 1135 voltage sensor

Are you running your conversion in the sensor change handler? Maybe you could try setting the sensitivity to 1. The manual states a worst case error of 2% and typical 0.7%. The case that you mention has an error of 3%, assuming that your voltmeter is accurate, so you should be able to get better ac...
by cizzi
Tue Nov 02, 2010 1:37 pm
Forum: General
Topic: 1135 voltage sensor
Replies: 14
Views: 23230

Re: 1135 voltage sensor

Are you running your conversion in the sensor change handler? Maybe you could try setting the sensitivity to 1. The manual states a worst case error of 2% and typical 0.7%. The case that you mention has an error of 3%, assuming that your voltmeter is accurate, so you should be able to get better ac...
by cizzi
Tue Nov 02, 2010 12:25 pm
Forum: General
Topic: 1135 voltage sensor
Replies: 14
Views: 23230

Re: 1135 voltage sensor

Well, depends on your language, but: ifkit.Ratiometric = false; The default is true, as most sensors are ratiometric, but 1135 is non-ratiometric. -Patrick For my program I used CPhidgetInterfaceKit_setRatiometric(ifKit, 0); Which gave me the same result (I allready had it disabled in my code not k...
by cizzi
Tue Nov 02, 2010 11:37 am
Forum: General
Topic: 1135 voltage sensor
Replies: 14
Views: 23230

Re: 1135 voltage sensor

patrick wrote:Do you have the 8/8/8 in non-ratiometric mode?

-Patrick
i don't know, how do I check the status of that, and how do I toggle it?
by cizzi
Mon Nov 01, 2010 3:50 pm
Forum: General
Topic: 1135 voltage sensor
Replies: 14
Views: 23230

Re: 1135 voltage sensor

i'm using a 1135 phidget voltage sensor, I'm using the Raw value for maximum accuracy using this formula voltage=(((value / 4.095 / 200.) - 2.5)/0.0681); yet the result is not accurate at all, i think on a 12.36v battery (tested using a good voltmeter), the phidget reports 12.73v, which is complete...
by cizzi
Mon Nov 01, 2010 3:09 pm
Forum: General
Topic: 1135 voltage sensor
Replies: 14
Views: 23230

1135 voltage sensor

i'm using a 1135 phidget voltage sensor, I'm using the Raw value for maximum accuracy using this formula voltage=(((value / 4.095 / 200.) - 2.5)/0.0681); yet the result is not accurate at all, i think on a 12.36v battery (tested using a good voltmeter), the phidget reports 12.73v, which is completel...