Problem with PIC16F87


Closed Thread
Results 1 to 40 of 44

Hybrid View

  1. #1
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    I see Data A & Data B but no GND for the RS485 network.

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


    Did you find this post helpful? Yes | No

    Default

    The RS485 ground is the same as the ground for the rest of the circuit (0V)

  3. #3
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Try it with the RS485 network disconnected. If the current drops, then use a 100 ohm, 1/4W resistor between the RS485 GND and this circuit's GND.

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


    Did you find this post helpful? Yes | No

    Default

    The RS485 chip hasnt been plugged in most of the time

  5. #5
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by The Master View Post
    The RS485 chip hasnt been plugged in most of the time
    You could still be drawing a lot of current due to mixing grounds. Try it with the network disconnected, including its GND.
    Last edited by dhouston; - 13th September 2009 at 18:24.

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


    Did you find this post helpful? Yes | No

    Default

    For most of this testing the RS485 chip hasnt been plugged in and the data wires disconnected. When it has been connected up the RS232 to RS485 convertor has been running from the same power supply.

    Im pretty sure theres no problem with the RS485 part of the circuit. When the chip starts having a fit during pause commands if i pull the 555 out then it suddenly goes back to normal.

    I also tried using the 555 on the breadboard but removing its regulator and connecting the power wires after the regulator on the PCB and that causes problems aswell. It only works when the 555 and PIC have different regulators

Similar Threads

  1. problem using GOSUB under interrupt
    By fobya71 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 5th March 2010, 19:52
  2. Problem to compile my program
    By wagner in forum Off Topic
    Replies: 5
    Last Post: - 7th July 2008, 20:17
  3. USART Problem , but don't know where, in pc? or in PIC?
    By precision in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th July 2007, 08:12
  4. 1 slave 1 master 1 MAX232 1 problem ?
    By SuB-ZeRo in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 31st July 2005, 22:59
  5. PORTA.PinNo = 1 ' problem
    By frank small in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 6th May 2004, 14:30

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