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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/28/08 15:56
Read: times


 
#151602 - Being paranoid is a good attitude...
Responding to: ???'s previous message
Brian said:
I'm sure I've been way too cautious and overly paranoid from the start of this project but considering the amount if time and work I have in the little prototype area of my eval. board, I've been trying to play it safe.....thus my wayyy to large a value in the current limiting resistor department.

Being a bit paranoid is entirely proper when doing electronics.

Brian said:
As for the pull-up resistor I'm using with the sensor, the value of 470 ohms was recommended by the manufacturer of the sensor. Should I go against their recommendation in this case?

The question is, in which context they recommend this pull-up. If the sensor is far away from microcontroller, cable capacitance and pull-up resistance form a time constant allowing the output signal only rising rather slowly. In order to achieve fast edges the pull-up is then reduced to rather small values. It's exactly like the old open collector TTL-chips, if you have experience in this field.

The disadvantage of a small pull-up is the big current it causes whenever the output transistor is turned on. This can cause a lot of interference.

In an ABS project where sensor and micro are far away from each other it might be better to use an additional driver at the sensor and an additional receiver at the microcontroller. The advantage would be a reduce of source impedance and by this a reduce of injected noise (into the cable), and finally a smaller current consumption.

So, you could put a Schmitt trigger gate of 74HC14 directly at the sensor, using a pull-up of 4k7, unless the data sheet intervenes. At microcontroller side another 74HC14 gate could act as a receiver. Now you can also place some filtering in front of receiver in order to remove noise or to protect against ESD, etc.

Could you please tell us which sensor you use? Then we might give a schematic for your interface.

Kai

List of 40 messages in thread
TopicAuthorDate
P3.5 input problem            01/01/70 00:00      
   100k is way too large            01/01/70 00:00      
      Yup            01/01/70 00:00      
      ports1-3 vs. port0            01/01/70 00:00      
      a small correction            01/01/70 00:00      
   Page 4 datasheet says            01/01/70 00:00      
      Calculating the maximum resistor            01/01/70 00:00      
         Calculating the ...            01/01/70 00:00      
   80uA is not a maximum specification            01/01/70 00:00      
      re:resistor            01/01/70 00:00      
   Resistor            01/01/70 00:00      
      I would not            01/01/70 00:00      
         Resistor            01/01/70 00:00      
            Resistor ... again ...            01/01/70 00:00      
      basic troubleshooting first            01/01/70 00:00      
         the sensor and its application            01/01/70 00:00      
            Oh, max frequency is ~4kHz :-)            01/01/70 00:00      
         Please ignore the "basic troubleshooting"            01/01/70 00:00      
         pray tell why            01/01/70 00:00      
            Capacitance problems ...            01/01/70 00:00      
   You have totally misunderstood the situation            01/01/70 00:00      
      thank you Kai            01/01/70 00:00      
         maybe it is            01/01/70 00:00      
            Link in original post            01/01/70 00:00      
            datasheet            01/01/70 00:00      
         Being paranoid is a good attitude...            01/01/70 00:00      
            Paranoia medicine            01/01/70 00:00      
               Yes, perfect, i also thought about this...            01/01/70 00:00      
                  the "industrial strength" 485 transciever            01/01/70 00:00      
                     But they gaurantee this            01/01/70 00:00      
      But the micro port shouldn't be driving anything            01/01/70 00:00      
         Missing the boat.            01/01/70 00:00      
            Waving at the boat.....            01/01/70 00:00      
               wrong place (in some instances)            01/01/70 00:00      
            More about the P3.5 pull-up issue            01/01/70 00:00      
               one simple way            01/01/70 00:00      
               AT89S8252            01/01/70 00:00      
         Please read this...            01/01/70 00:00      
   ABS & Safety            01/01/70 00:00      
      safety concerns            01/01/70 00:00      

Back to Subject List