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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum D-Sub signal access
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 20 replies
  • Answers 13 answers
  • Subscribers 665 subscribers
  • Views 3369 views
  • Users 0 members are here
  • rasberry_pi_3_b_plus
  • raspberry_pi
Related

D-Sub signal access

planedan
planedan over 7 years ago

I want to be able to interrogate the signal on each pin of any D-Sub cable, therefore I need to know what hardware do I need to get from the D-Sub input to the Pi?

I have yet to purchase my Pi, but at this time plan to get a 3B

I also hope to be able to connect it to my PC Monitor and install windows 10 with Visual Studio on it.

 

Thanks for any suggestions you may have.

  • Sign in to reply
  • Cancel
Parents
  • genebren
    0 genebren over 7 years ago

    You might be able to use something like this:

    https://www.ebay.com/i/111873783565?chn=ps

    If you can further explain your need, I might be able to help you further.

    Good Luck,

    Gene

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • planedan
    0 planedan over 7 years ago in reply to genebren

    I have a 9, 15, and 25 in pairs.  I plan to plug a cable to each end, and record where each pin on the input side exits on the output side.  For example pin 1 on one end of the cable may go to pin 7 on the other end.  My program will see this and store the result.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • genebren
    0 genebren over 7 years ago in reply to planedan

    Here are some clever little breakout boards that you can populate with D-sub connectors (male or female).  You could use these with a raspberry PI prototype board to interconnect the pins to the raspberry pi.

     

    Proto PCB for 9-25 pin D-SUB Connectors

     

    You could also build a fairly simple PCB to do all the interconnections for you.

     

    Good luck,

    Gene

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • planedan
    0 planedan over 7 years ago in reply to genebren

    Thank you.  I think I have what I need to wire the D-Subs to a breadboard, and have looked into the GPIO, but still do not see that it is possible to pragmatically energize each of the pins and subsequently record the result, ie when pin 1 is energized, pin 7 on the other end sees it.  Thinking that if I had 50 GPIO pins and a 25 pin D-Sub cable, then GPIO 1 would be input ( energizing voltage) for d-sub pin 1 and GPIO 26 would be output from from d-sub pin 1 on the other end.  Thus, when my program sends the voltage to GPIO 1, whatever GPIO that was connected to the d-sub pin that sees the voltage, would respond high when the loop of the program asked for the state of that particular GPIO.  However, we only have 40 GPIO and it appears that many of them are already spoken for.

     

    So, is the Pi capable of doing what I want to do? 

     

    Thank you for your time.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • dougw
    0 dougw over 7 years ago in reply to planedan

    You could use dual 16 bit decoders to get 32 output bits from 5 data bits.

    You will also need a 32 bit input expander.

    https://learn.adafruit.com/mcp230xx-gpio-expander-on-the-raspberry-pi/using-the-library

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • dougw
    0 dougw over 7 years ago in reply to planedan

    You could use dual 16 bit decoders to get 32 output bits from 5 data bits.

    You will also need a 32 bit input expander.

    https://learn.adafruit.com/mcp230xx-gpio-expander-on-the-raspberry-pi/using-the-library

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
No Data
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