Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/22/08 17:30
Read: times


 
#160210 - Filtering needed
Responding to: ???'s previous message
Quality can be improved with an OP-Amp used as comparator.

But filtering is needed, since the slow ramp of the RC will be modulated with any noise.

A constant current generator will definitely improve the precision, since a linear curve will keep the same absolute precision through the full range.

You can also do a dual-flank reading by measuring both the charge and the discharge.

But you may not need so many bits of resolution from the potentiometer, in which case this can work quite well - but you need to convert the measured time into a linear value.

List of 25 messages in thread
TopicAuthorDate
Reading a pot using a digital input???            01/01/70 00:00      
   And a cap            01/01/70 00:00      
      Forgot to say the capacitor!            01/01/70 00:00      
         Can you show us the corresponding link?            01/01/70 00:00      
            Shure!            01/01/70 00:00      
               Oh dear...            01/01/70 00:00      
                  I agree kay...            01/01/70 00:00      
                     it will still be only for a toy            01/01/70 00:00      
                     Begin with using two free P0 port lines, ...            01/01/70 00:00      
                        Can I measure the charge and discharge time of the cap?            01/01/70 00:00      
                           yes, no, maybe            01/01/70 00:00      
                              Two caps or comparator            01/01/70 00:00      
                                 Crap, also because of several other factors...            01/01/70 00:00      
         That is a PIC not an 8052            01/01/70 00:00      
            you need a pullup for this            01/01/70 00:00      
   RE: the only thing I found was for pic            01/01/70 00:00      
   Link...            01/01/70 00:00      
   inconsistent readings            01/01/70 00:00      
      Filtering needed            01/01/70 00:00      
         even better            01/01/70 00:00      
            Not so critical            01/01/70 00:00      
   Why Not Put the Pot            01/01/70 00:00      
      I agree...            01/01/70 00:00      
         Something Like This            01/01/70 00:00      
            I guess, Chico needs it for an Midi application...            01/01/70 00:00      

Back to Subject List