hi Randy Regards, Jim > -------- Original Message -------- > Subject: RE: [PIC] Pull Up Resistors > From: "Randy" > Date: Wed, April 03, 2013 1:15 pm > To: "'Microcontroller discussion list - Public.'" >=20 >=20 > For the most part, 10K will work fine. As you can see on your EasyPIC7 > development board (I have the same) 4K7 works just fine as well. 20K > resistors are too large. I have never used anything larger than a 10K in= my > projects. Of course there are always exceptions to any rule. >=20 > Randy Abernathy > CNC and Industrial Machinery=20 > service, repair, installation and=20 > design >=20 > 4626 Old Stilesboro Rd NW > Acworth, GA 30101 > Phone: 678-982-0235 > Fax: 770-974-5295 > E-mail: cnc002@bellsouth.net >=20 > -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf = Of > Allen Mulvey > Sent: Wednesday, April 03, 2013 1:47 PM > To: PIC List > Subject: [PIC] Pull Up Resistors >=20 > Sorry, this is my first post. I forgot to tag the subject > line. >=20 > =20 >=20 > Is there a way to compute the optimum value of pull up (or >=20 > pull down) resistors on PIC digital inputs? >=20 > =20 >=20 > Most example circuits I have seen seem to use 10k. My >=20 > EasyPIC7 board uses 4k7. I have been experimenting and 20k >=20 > resistors produce unreliable results. I don't see anything >=20 > in the data sheet to help with this.=20 >=20 > =20 >=20 > I am using a pic16f877a. The leakage current is one >=20 > micro-amp. Sampling the port must draw considerably more. My >=20 > current project is not battery operated but, if it were, I >=20 > would like to use the largest resistors possible. >=20 > =20 >=20 > Thanks, >=20 > =20 >=20 > Allen >=20 > =20 >=20 > --=20 > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2013.0.3267 / Virus Database: 3162/6222 - Release Date: 04/03/13 >=20 > --=20 > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .