element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
Experts, Learning and Guidance
  • Technologies
  • More
Experts, Learning and Guidance
Ask an Expert Forum Need help connecting Raspberry Pi to old Com-trol MCS-4000 boards.
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experts, Learning and Guidance to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 17 replies
  • Answers 3 answers
  • Subscribers 289 subscribers
  • Views 3188 views
  • Users 0 members are here
  • raspberry
  • pi
Related
See a helpful answer?

Be sure to click 'more' and select 'suggest as answer'!

If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!

Need help connecting Raspberry Pi to old Com-trol MCS-4000 boards.

Former Member
Former Member over 11 years ago

Hi All,

 

I have a Raspberry Pi V2 that I'm trying to see if I can connect them to an old Com-trol MCS-4000 control boards.

The Com-trol system had digital & analog input boards and relay output boards. The input and output board use the same IC chip. The IC chip is a p87c51sbpn. It uses UART to communicate.

The Com-trol system is powered with a 24vac transformer. They connect to the boards as (12vac, ct, ground, 12vac).

Then boards are then connected together and to the main console (MCS-4000) via the local bus. The local bus is a serial type communication.

 

How do I check to see if I can connect it to my Pi?

How would I get them to talk to each other?

If I can't us the boards can I just use the p87c51sbpn IC chip.

 

I do have PDF's for the Com-trol system if anyone needs them. They are very hard to find.

 

Teeterbuilt

 

Message was edited by: Teeterbuilt Added PDF's 12/27/13.

Attachments:
imageF_27262_4.pdf
imageF_28077_1.pdf
imageP87C51SBPN datasheet.pdf
  • Sign in to reply
  • Cancel
Parents
  • Former Member
    0 Former Member over 11 years ago

    I found a rs485 adapter on amazon. The adapter is for an Arduino. I would like to know if I can use it with my RPi and how to, or do I need to get a usb rs485 adapter.

    Amazon.com: HOSSENRegistered UART TTL Serial Port TO RS485 Converter Adapter MAX485 SMD SOP8 For Arduino: Computers & Accessories.

     

    Teeterbuilt

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 11 years ago

    I found a rs485 adapter on amazon. The adapter is for an Arduino. I would like to know if I can use it with my RPi and how to, or do I need to get a usb rs485 adapter.

    Amazon.com: HOSSENRegistered UART TTL Serial Port TO RS485 Converter Adapter MAX485 SMD SOP8 For Arduino: Computers & Accessories.

     

    Teeterbuilt

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • robotop
    0 robotop over 11 years ago in reply to Former Member

    Hello, no, that isn't the right device. It's just a "ttl to rs485 interface" and needs to be controlled by a txd, rxd and tx-enable signals. That means you must use the ttyS0 (or ttyS1, if present) com port on your Raspberry and add a real-time control (one spare output pin) for handling the data direction. If you just want to "sniff" the protocol (so if you are always in receive mode), this can be easy accomplished by putting a zero level on the tx-enable line; in this way the interface will be always in "receive mode". However, when you (after having sniffed the protocol) would need to send data, the tx-enable signal control may be an "hard job", if you can't program your Raspberry at "real-time" level. For these reasons, I strongly recommend to search for "USB to RS485 interface", preferably equipped with FTDI chip (like FT232RL or similar). There are some on ebay, at a price around 7 euros (the cheapest). Hope this helps, bye

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • robotop
    0 robotop over 11 years ago in reply to robotop

    Addendum...

    If you are accustomed to electronics and want to build your own interface, here is a picture of a prototype I realized for my own projects:

    image

    The ICs used are available on Element14 (or Farnell) catalogue and are:

    a) the usb interface FT231XS (1,86 Euros for 1 pc - look at this link:

    http://it.farnell.com/ftdi/ft231xs/i-f-usb2-0-fs-to-f-l-h-s-uart-20ssop/dp/2081328 )

     

    b) the ttl to rs485 interface SN65HVD3082ED (1,68 Euros for 1 pc - look at this link:

    http://it.farnell.com/texas-instruments/sn65hvd3082/transceiver-rs-485-smd-65hvd3082/dp/8452210 )

     

    Follow the data sheets and application notes for the remaining parts.

    Note that under linux you have to change the ID of the FTDI chip (it's a very new part) in order to make it recognizable by the system.

    Look at the FTDI site for a tool that can modify many parameters inside the chip, including the ID, then modify this in order to appear as FT232RL.

    Hope this helps, bye.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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