|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
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! ![]() |
|
#2
|
||||
|
||||
|
Re: Analog in on OI: Heads Up!
Quote:
If you're wiring a pot such that it can pull the analog input on the OI down to less than 0.05 volts (the spec which is stated in the OI documentation from IFI), then that means you have ground connected to the pot. Check the OI reference - this is not the correct way to wire a pot to the OI. Besides, you already asked this question and I already answered it. Why are you posting this same thing twice? |
|
#3
|
|||||
|
|||||
|
Re: Analog in on OI: Heads Up!
A sure sign your posting too much: You forget what you posted already and then post the same thing again.
But thanks on the wiring thing, I'll check that. but our solder boy won't be happy. Good call, though. I should remember these things. |
|
#4
|
|||
|
|||
|
Re: Analog in on OI: Heads Up!
Quote:
|
|
#5
|
||||
|
||||
|
Re: Analog in on OI: Heads Up!
Quote:
It sounds like your setup looks like this: Code:
15k 15k
+5v ---/\/\/\/\------+-------/\/\/\/\----- +5v
|
\
/
\ 560 ohm
/
\
|
Gnd
|
|
#6
|
|||
|
|||
|
Re: Analog in on OI: Heads Up!
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Allegro ACS750 Current Sensor 150uF Heads Up | Dale(294engr] | General Forum | 0 | 04-02-2004 21:14 |
| OI and analog: Zero value | Astronouth7303 | Programming | 1 | 02-02-2004 16:00 |
| Failing analog inputs? | Phasmatis568 | Control System | 5 | 22-01-2004 13:28 |
| Bouncing heads.... | archiver | 2001 | 2 | 24-06-2002 00:14 |
| DC Motor current to an Analog Input | junkyarddawg | Motors | 43 | 04-04-2002 15:53 |