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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/21/10 14:22
Read: times


 
#175221 - Think about which polarity you want the diode to conduct
Responding to: ???'s previous message
I recommend that you read a bit about diodes. Both silicon diodes in general, and also the schottky variant.

Google will produce a lot of nice links.

A diode is intended to lead current in one direction - not it the reverse direction.

The VCC is expected to be low-impedance - the voltage regulator is expected to strong enough to hold VCC at the voltage the regulator is specified for.

The processor inputs are expected to be high-impedance, to not load external electronics.

That means that an electrostatic discharge to VCC will basically just be shorted.

Since the input pins are high-impedance, they are much easier to destroy - an electrostatic discharge to an input will be able to rise the voltage of the pin.

So you want the diode oriented so that if the input pin gets a higher voltage than VCC, the diode will short down to VCC. That means that you must orient the diode to be "short-circuit" when the input has a higher voltage than VCC, and the diode is non-conductive when the input pin has a lower potential than VCC.

The diode makes the impedance of the input adaptive. For voltages below VCC+Vf, the input impedance will be high - little load on external electronics. When the voltage gets above VCC+Vf, the diode will clamp, making the impedance very low, shorting excess energy to VCC.

If you turn the diode the wrong way, then the diode will be conductive during normal operation and force the input pin always high. With a diode with Vf of 0.4V in the diode and 5V on VCC, an incorrectly oriented diode would result in 5V-0.4V = 4.6V on the input.

Having a diode between input and GND would only be meaningful if you believe that the input can get a voltage lower than 0V. And in that case, the diode would have to be oriented so that it will be conductive when GND is the positive side, and your input is the negative side.

List of 25 messages in thread
TopicAuthorDate
Hobbyist asking for professionals to solve noise problems            01/01/70 00:00      
   images on web upload            01/01/70 00:00      
   sounds like missing debounce            01/01/70 00:00      
      yes no software debounce            01/01/70 00:00      
         Sample superloop            01/01/70 00:00      
   Hhm, many problems to solve...            01/01/70 00:00      
      can only post after 7pm india            01/01/70 00:00      
      detailed reply with images link            01/01/70 00:00      
         Fast and low voltage drop            01/01/70 00:00      
            still have some doubts            01/01/70 00:00      
               ?? any replies            01/01/70 00:00      
                  Think about which polarity you want the diode to conduct            01/01/70 00:00      
                     it should be case2            01/01/70 00:00      
                        just a question            01/01/70 00:00      
                           adding it now            01/01/70 00:00      
                              software debounce done :-)            01/01/70 00:00      
                                 if you do not need "wake up" on a keypress ...            01/01/70 00:00      
                                    got it            01/01/70 00:00      
                                       you don't, so what            01/01/70 00:00      
                                          Thanks for pseudo            01/01/70 00:00      
         Two major mistakes...            01/01/70 00:00      
            points taken,my understandings            01/01/70 00:00      
               Design for an industrial environment!            01/01/70 00:00      
                  the oft missed point            01/01/70 00:00      
                     thanks for feedbacks            01/01/70 00:00      

Back to Subject List