Serial communication between PIC and Atmega controileer trough RS485


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Nov 2011
    Posts
    12


    Did you find this post helpful? Yes | No

    Default Re: Serial communication between PIC and Atmega controileer trough RS485

    Hello mackrackit,

    I write on start of the programm ADCON1 = 7
    You mean that?

    Best regards
    visitac

  2. #2
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default Re: Serial communication between PIC and Atmega controileer trough RS485

    ..OK, all your network devices works at 2400 baud. First question: did you put the two 620 ohms resistors on the head and tail of your network? Remember that you need to connect a pullup on channel A and a pulldown on channel B at the extreme of your network.

    Next remove the "pace" value form your code. Between placing high portE.0 and the serout comand, place a 2 - 5 milliseconds delay using "PAUSE 5"

    Cheers

    Al.
    All progress began with an idea

Similar Threads

  1. USB / RS485 communication
    By Pedro Pinto in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 7th May 2009, 19:36
  2. rs485 communication
    By dreamman in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 10th June 2007, 21:47
  3. RS485 serial communication
    By mipie in forum Serial
    Replies: 5
    Last Post: - 10th February 2007, 13:15
  4. PIC to PIC RS485 with users the communication
    By x0914667 in forum Serial
    Replies: 2
    Last Post: - 21st July 2005, 00:20
  5. put an id adress on one pic for rs485 communication
    By ON4XAV in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 12th June 2005, 12:54

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