PIC16F87 pins seem to be getting crossed over


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    The programmer is not attached. I have to take the chip out of the circuit to program it (Ive still not tried ICSP yet)

    Ive tried adding the 3 lines from my last thread "CMCON = 7, CVRCON = 0, CCP1CON = 0". They have no effect.

    I havn't done a schematic for this circuit but the input pin has a 100K pullup resistor and connects to an optoisolator that grounds it. The UART pins are connected to an RS485 chip along with portB.4 for driver/receiver control.

    This circuit is actually for that time of year So far there has been a problem with every circuit ive made for it this year. Im still working on the others but i might have to make some other threads soon.

  2. #2
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    699


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Try a smaller pullup resistor, something like 4.7K. 100K pullup resistors might be too much. I hope this helps.

    Robert

  3. #3
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    I dont think the pullup resistor is the problem. I want a fairly weak one to make it easy to ground. 100K should be more than enough to pull up any pin on a PIC. Ive used them many times before without a problem and there are 3 others on the same circuit working fine.

Similar Threads

  1. 16F877A Pullups/Pulldowns and unused pins
    By DavyJones in forum General
    Replies: 6
    Last Post: - 17th April 2009, 01:39
  2. Change On Interrupt, PIC16F884
    By elec_mech in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 14th November 2008, 17:25
  3. PIC - 8 Pins - 6 Output Pins ?
    By DanPBP in forum Off Topic
    Replies: 0
    Last Post: - 22nd October 2007, 00:23
  4. I2C Effects on other PortA pins
    By kenmac in forum General
    Replies: 2
    Last Post: - 11th July 2005, 05:36
  5. PIC PORT 'special' pins
    By barkerben in forum General
    Replies: 1
    Last Post: - 18th January 2005, 21:40

Members who have read this thread : 0

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