element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Connector Technology & Design
  • Technologies
  • More
Connector Technology & Design
Forum How can i test RS-485
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Connector Technology & Design to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 43 replies
  • Subscribers 127 subscribers
  • Views 10622 views
  • Users 0 members are here
  • connector
  • wiring
  • communication
Related

How can i test RS-485

Dsoky
Dsoky over 2 years ago

Hello, i am looking for a way to test MAX-485 , i do not have any idea how to do it , anyone can help me?

  • Sign in to reply
  • Cancel

Top Replies

  • beacon_dave
    beacon_dave over 2 years ago in reply to Dsoky +2
    Perhaps Jan Axelson's book 'Serial Port Complete' might help you ? http://janaxelson.com/spc.htm It covers the basics of serial communications, covers working with RS485 networks, and includes some…
  • KennyMillar
    KennyMillar over 2 years ago in reply to Dsoky +2
    Yeah no problem, here it is: https://www.analog.com/media/jp/technical-documentation/data-sheets/1111.pdf If you have any questions please feel free to ask - I use these chips in loads of things. …
  • Dsoky
    Dsoky over 2 years ago in reply to KennyMillar +2
    Ok good stuff i found that module https://handsontec.com/index.php/product/ft232r-usb-to-serialttl-converter-module/ will that work ?
  • Dsoky
    Dsoky over 2 years ago in reply to dougw

    One pc but two ICs right?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Dsoky
    Dsoky over 2 years ago in reply to beacon_dave

    good idea but with that way i only tested the transmitting part, i mean i tested the MAX485 as a transmitter , how to test it as a receiver?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • KennyMillar
    KennyMillar over 2 years ago

    If you want to test RS485, then really you should use THREE or more devices.

    Since RS485 is a multi-drop bus, you'll want to ensure that the data can be transmitted from any one node to every other node successfully.

    One node will becomde the bus driving force by asserting the DE signal on the Max485 and de-asserting it on all the other nodes.
    You can assert the !RE (Receive enable) signal on ALL the nodes, even the transmitting node at any time, even when transmitting. This allows the transmitting node to "read back" it's own transmissions. This is useful for detecting collissions on the bus. 

    For example if you send 0xff,0xff,0xff but read back something other than that, you can deduce that there is eithew a) A fault on the bus, or b)some other node transmitted at the same time.

    The bus should be wired point to point, from one node to the next, but not as a "star".
    Appropriate terminating resistors should be used on the nodes at the far extents of the bus, but not on the intermediate nodes.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • beacon_dave
    beacon_dave over 2 years ago in reply to Dsoky

    In the linked tutorial, one RS485 module is transmitting and one is receiving so you are testing both transmit and receive.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • KennyMillar
    KennyMillar over 2 years ago in reply to KennyMillar

    I should add... 
    Use the appropriate size and guage of wire, connecting all the A's together and all the B's together.
    A common ground is not necessary, since RS485 is a differential signal, however using a common ground can reduce current consumption.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • dougw
    dougw over 2 years ago in reply to Dsoky

    Yes. It should be possible with 1 pc and 2 ICs.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Dsoky
    Dsoky over 2 years ago in reply to dougw

    Any idea about the connections?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Dsoky
    Dsoky over 2 years ago in reply to KennyMillar

    Thanks for all that can you please send me a link or pdf for more explamation?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Dsoky
    Dsoky over 2 years ago in reply to beacon_dave

    I understand but these are complex steps for testing i hope i find easier solutions without the need of arduino.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Dsoky
    Dsoky over 2 years ago in reply to Jan Cumps

    Well having one RS-485 per side is not a problem if that will help, but also what about the connections? 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
<>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube