> -----Original Message----- > From: Dwayne Reid [SMTP:dwayner@PLANET.EON.NET] > Sent: Tuesday, March 11, 2003 5:40 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: Weak pull ups not so weak? > > At 10:35 AM 3/11/03 +0000, Michael Rigby-Jones wrote: > > >The resistors are not actually needed if the pins are never switched to > >outputs. If this is the case zero ohms would be fine. > > Series resistors are always a good idea when connecting to switches that > might get zapped with an ESD hit. One side of the switch should go > directly to ground, the other side through a resistor to the PIC pin. > > The reason for using a series resistor is to limit the peak current and > slow the rise time of the ESD spike that actually hits the PIC pin. > Agreed, although this is not overly relevant in this situation as the OP circuit has the resistors between the switch and ground where it is unlikely to protect the PIC in the event of an ESD hit. Regards Mike ======================================================================= This e-mail is intended for the person it is addressed to only. The information contained in it may be confidential and/or protected by law. If you are not the intended recipient of this message, you must not make any use of this information, or copy or show it to any person. Please contact us immediately to tell us that you have received this e-mail, and return the original to us. Any use, forwarding, printing or copying of this message is strictly prohibited. No part of this message can be considered a request for goods or services. ======================================================================= Any questions about Bookham's E-Mail service should be directed to postmaster@bookham.com. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu