View Single Post
  #4   Spotlight this post!  
Unread 05-02-2004, 17:40
Biff Biff is offline
Registered User
AKA: Tom Cooper
#1227 (Techno Gremlins)
Team Role: Mentor
 
Join Date: Jan 2004
Location: Grand Rapids MI
Posts: 214
Biff is a jewel in the roughBiff is a jewel in the roughBiff is a jewel in the roughBiff is a jewel in the rough
Re: Analog in on OI: Heads Up!

Quote:
Originally Posted by Astronouth7303
Heads up: The OI will output 127 for what it perseves as infinate resistance. I'm not sure of the exact threshold, but my theory is that when volts <= 0.1, it outputs 127. But noise (flickers between 0 and 127) goes until about 0.110 or 0.115.

So if, as an example, you wire a potentiometer to p4_aux, when the pot. is all the way down, p4_aux=127. when it's a little higher, p4_aux=0.

also, 127 appears in it's "normal" position (midway 'round). So you can't just put in an if statement.

I hear this is by design. So watch out!
This is designed this way, I asked the people at Innovation First they said when there is 0 volts on the input, the default is 127. We tested ours and voltage level of 0.3 or so will get you 0 for that input less than that voltage and results vary. We are using 15K pots with 560 ohms feeding the ground side of two pots. Ie 7.5 k in series with the 560. Hope this helps.