Using weak pull-up


Results 1 to 7 of 7

Threaded View

  1. #6
    Join Date
    Aug 2007
    Posts
    2


    Did you find this post helpful? Yes | No

    Unhappy 16F883 Weak Pull-up

    I'm attempting to configure portb.0 and portb.1 on a 16F883 as inputs with weak pull-ups. The register set-up code I'm using is:

    ANSELH=%00000000 'portb are all digital
    trisb=%00000011 ' portb.0 and portb.1 are inputs
    option_reg=%10010111 'Global Pull-up disabled and internal clk
    WPUB=%00000011 'Weak pull-up portb.0 and portb.1
    portb=%00000011 ' Outputs off, inputs don't care

    However, when I measure these nodes with a DVM (input impedance ~ or > 500K), I get 0v instead of the 5v I'm expecting.

    Any ideas?

    Thanks
    Last edited by dougsego; - 11th September 2007 at 05:16.

Similar Threads

  1. Pull Up enabled and PWM question
    By financecatalyst in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th September 2009, 08:21
  2. Weak pull Up 12F629
    By Lionheart in forum General
    Replies: 1
    Last Post: - 9th December 2008, 21:07
  3. switch on 1 weak pullup on portb?
    By peterdeco1 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th December 2008, 18:32
  4. 16f684 Porta.2 Instability
    By JDM160 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 5th November 2006, 02:38
  5. Weak Pull-ups
    By markcadcam in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 12th June 2006, 19:41

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts