PICs in a RS-485 network?


Closed Thread
Results 1 to 22 of 22

Hybrid View

  1. #1
    Join Date
    Oct 2003
    Location
    holland
    Posts
    251


    Did you find this post helpful? Yes | No

    Default

    This is what I did a few years ago.The upper schema is the master, the rest is slave. Al programmed in PBP with the max speed possible at 4 Mhz. Connect all "A" 's to eachother, all "B" 's to eachother and also the gnd's to eachother.
    Each "ontvanger" and "input" is adressable for and adress between 0 and 255.
    So everything is possible. The program is so that an output adress follows the anput adres with the same adresnumber.
    Attached Images Attached Images  

  2. #2
    mtstorm's Avatar
    mtstorm Guest


    Did you find this post helpful? Yes | No

    Default Re: PICs in a RS-485 network?

    Quote Originally Posted by mat janssen View Post
    This is what I did a few years ago.The upper schema is the master, the rest is slave. Al programmed in PBP with the max speed possible at 4 Mhz. Connect all "A" 's to eachother, all "B" 's to eachother and also the gnd's to eachother.
    Each "ontvanger" and "input" is adressable for and adress between 0 and 255.
    So everything is possible. The program is so that an output adress follows the anput adres with the same adresnumber.
    I'm looking for what you have build, is your solution open source? I'm pretty new in pic programming and I hope I may use and learn from your code.

  3. #3
    Join Date
    Oct 2003
    Location
    holland
    Posts
    251


    Did you find this post helpful? Yes | No

    Default Re: PICs in a RS-485 network?

    In the attached file the source for the transmitter and the receiver.
    The receiver software fits in the input and output card.
    Attached Files Attached Files

Similar Threads

  1. RS 485 network
    By mychangl in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 25th November 2008, 09:35
  2. Retrieving infos from multiple PICs on a bus/chain
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 15th October 2007, 04:42
  3. RS 485 wireless communication
    By Armadus in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 26th January 2006, 19:30
  4. Internal EEPROM Read/write Addressing Errors with 18F PIC's
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 18
    Last Post: - 12th July 2005, 19:42
  5. RS 485 using 16F84A
    By ngeronikolos in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 18th May 2005, 14:46

Members who have read this thread : 3

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