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 3192 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
  • 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
  • Former Member
    0 Former Member over 11 years ago

    Thanks Emilio.

    I found a usb rs485 on amazon. Was wondering if this one would work.

    http://www.amazon.com/Estone-Converter-Adapter-Support-WinCE5-0/dp/B00HGA1UZG/ref=sr_1_10?s=audio-video-accessories&ie=UTF8&qid=1389234223&sr=1-10&keywords=rs485

     

    Teeterbuilt

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

    Hello, yes, this can work, but ONLY at short distance and with devices with common ground. Note that the board has a connector with only 2 contacts... this means that the common wire is absent. The RS485 is a differential mode transmission, so one wire has opposite polarity respect to the other and apparently this is enough to transmit data, but connecting one device on a certain location with another device in a different location, without a common wire (a ground with small resistor) it will happen that both the signals are at level that goes out if the input max (or min) voltages admitted by the device. This can happen if the ground level of the transmitting and receiving circuits are different. In the real world this happens very frequently, expecially on large distances. Using a 485 connection with only the A+ and B- wires may work only with devices that have the same ground level (or the difference is in the range accepted by the devices). I don't believe that the interface you found is FTDI chip based (it's VERY low cost), so may be you can have some problems with the linux driver (not all chips are recognized), but you can give it a try... In my opinion, it's better if you invest some money over and find an interface that will be surely supported by the Raspberry's OS. Hope this helps, bye.

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

    Emilio,

         I would like to build the usb to rs485 adapter but I am very limited in circuit / component knowledge. I am good at trouble shooting and fixing electronics. I am also good with a soldering iron. I dont know if it would be cheaper and easier to build one or just buy one. I have found another usb to rs485 & 422 adapter.

     

    http://www.amazon.com/RS485-RS422-Serial-Adapter-Converter/dp/B00H8V19KY/ref=sr_1_4?s=audio-video-accessories&ie=UTF8&qid=1389313935&sr=1-4&keywords=rs485

     

    Thank you for your time.

    Teeterbuilt

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

    Well, I don't know if you have a "contract" with Amazon for that great amount of links... but surely I haven't one with ebay image  The device you linked may be working (it offers a linux support) but I never tested it and can't warranty it will work. I just can suggest this, that I purchased before developing my own. I developed an application under puppy linux with this interface without any problem. The link is:

    http://www.ebay.it/itm/LJN-USB-to-RS485-FTDI-interface-Board-FT232RL-75176-New-/151131138209?pt=LH_DefaultDomain_0&hash=item23301e28a1

    Hope that the link policy of this site would admit ebay links...bye

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

    Emilio,

         Thanks. No I don't have a contract with amazon I just didn't think of ebay.

    Teeterbuilt

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

    Hi Emilio.

    I'm a bit interested in your application for the USB-to-RS485 board. I have the same board, but I can't seem to recieve the information from the RS485 communication.

    I have a solar inverter (RS485 two wire) connected to the USB port on the Raspberry using the board, but I can't read any of the data.

    Can you help me out?

    Best regards

    Mikkel

    • 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