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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/25/09 09:52
Read: times


 
#162819 - Why bandages, and why 9V VCC?
Responding to: ???'s previous message
So you have a sinusoidal signal between 2 and 7 volts. You decide to use a comparator with what looks like a bogus voltage reference (Try instead a voltage divider of two resistors between VCC and GND, with the quota 4/9), and then you feed your comparator with 9V.

Without looking at the datasheet for your specific comparator - do you expect your comparator to produce 0 and 5V suitable for your processor (or possible 0 and 3.3V if you have a 3.3V processor)?

And why do you use a sensor construct that gives 7V in the first place? You have not made any post describing that the 7V part is outside your control so why not fix the problem at the root, instead of spending time adding bandages?

List of 27 messages in thread
TopicAuthorDate
comparator with 8051            01/01/70 00:00      
   What have you tried?            01/01/70 00:00      
      description of project            01/01/70 00:00      
         Look at photo transistor            01/01/70 00:00      
            further description            01/01/70 00:00      
               But why 7V ?            01/01/70 00:00      
   Another project?!            01/01/70 00:00      
      this is another project            01/01/70 00:00      
   Not a sinusoidal waveform!            01/01/70 00:00      
      Well, it can look like a sine...            01/01/70 00:00      
         still problem with comparator            01/01/70 00:00      
            Circuit missing            01/01/70 00:00      
            sorry the circuit is here            01/01/70 00:00      
               the circuit            01/01/70 00:00      
                  Why bandages, and why 9V VCC?            01/01/70 00:00      
                  VREF is wrong!            01/01/70 00:00      
               How is Vref 4V ?            01/01/70 00:00      
            used two diodes at input to MCU            01/01/70 00:00      
               Doesn't solve the Vref problem!            01/01/70 00:00      
   kai, help me with comparator            01/01/70 00:00      
      Give this a try...            01/01/70 00:00      
         thanks            01/01/70 00:00      
         thanks, the circuit worked            01/01/70 00:00      
   LM339 is an open collector            01/01/70 00:00      
   As Aamir Javaid said about input to 8051.            01/01/70 00:00      
      Not for an open-collector output!            01/01/70 00:00      
         Is that tied to +5VDC            01/01/70 00:00      

Back to Subject List