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
DIY Test Instrumentation
  • Challenges & Projects
  • Project14
  • DIY Test Instrumentation
  • More
  • Cancel
DIY Test Instrumentation
Blog Project14 | DIY Test Instrumentation: Build Your Own Test Instrumentation!: Automated Cable Tester ii
  • Blog
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join DIY Test Instrumentation to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: phoenixcomm
  • Date Created: 24 Jun 2021 2:17 PM Date Created
  • Views 2610 views
  • Likes 7 likes
  • Comments 5 comments
  • mcp23017
  • arduino mega 2560
  • i2c lcd display
  • diytestinstrumentationch
  • i2c expander
Related
Recommended

Project14 | DIY Test Instrumentation: Build Your Own Test Instrumentation!: Automated Cable Tester ii

phoenixcomm
phoenixcomm
24 Jun 2021

imageDesign Overview: As I said in the last blog I am going to use an Arduino Mega 256 not for its I/O capabilities, but for its memory size.  Getting to 50 pins is really 100 pins! Ouch. image

The only way I can achieve this is to use 4 16 bit I/O expander. Enter the MCP23017 which has a High-speed I2CTm interface (100KHz, 400KHz, 1.7MHz) and I can have eight (8) devices on this bus at one time. But I will only use 2 expanders on the input, and two more on the output.   I will also include an I2CTm interfaced LCD panel for display and control. The Arduino itself will read the buttons to scroll through the cables, or to enable the flying probe. I can interface the tester to my PC via USB or Ethernet (later). Well for better or worse, here it is. 

UPDATE - 6 JUN 2021
On one side I will have 3 MCP2317 as to also allow me to use a DB-37. and BTW it is just as easy to add the DB-37 to both sides.  image

 

 

 

Device Unit Pins
MCP23017 1 1 - 16
" 2 17 - 32
" 3 33 - 37
  • Sign in to reply

Top Comments

  • Jan Cumps
    Jan Cumps over 4 years ago +1
    Chris, Routing 50 I/Os is quite a task. I know that you use CAN a lot in your design. It's hard to get i2c routed over a distance, because it doesn't have a physical layer designed to go far. Would it…
  • DAB
    DAB over 4 years ago +1
    Reminds me of one of my early jobs in building a missile test station. Dozens of cables, hundreds of wires. I was very glad when that job was done. DAB
  • phoenixcomm
    phoenixcomm over 4 years ago in reply to Jan Cumps +1
    Jan Cumps Jan. If I used the can for transport I still need 50 pins and I don't know of a can-based I/O expander it will up the parts count and I am trying to KISS (Keep It Simple Stupid). And just for…
  • phoenixcomm
    phoenixcomm over 2 years ago in reply to Jan Cumps

    /members/jancumps 50 wires are not much work on a plane!! lucky me I did not have to build the dam things!! now I do Persevere

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

     I still need 50 pins

    yes, but not 50 wires routing from a single source all around the vehicle. They can be branched out locally at the point of load

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • phoenixcomm
    phoenixcomm over 4 years ago in reply to Jan Cumps

    Jan Cumps  Jan. If I used the can for transport I still need 50 pins and I don't know of a can-based I/O expander

    it will up the parts count and I am trying to KISS (Keep It Simple Stupid). And just for giggles 4 x 16 = 64 total pins Not Bad.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 4 years ago

    Reminds me of one of my early jobs in building a missile test station.

    Dozens of cables, hundreds of wires.

     

    I was very glad when that job was done.

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 4 years ago

    Chris,

    Routing 50 I/Os is quite a task.

    I know that you use CAN a lot in your design.

    It's hard to get i2c routed over a distance, because it doesn't have a physical layer designed to go far.

    Would it help to build CAN-commanded 50-pin connectors? Not complex ones, just smart enough to be able to read/write each of the pins?

     

    edit. I'm not referring to the cable tester, I'm referring to the requirement to have cable beams of 50 I/O wires from one component to the next ...

    in the late 80's I worked for truck company DAF, and these were the things I struggled with at the time image:

    image

    Image source: wiring harness of a DAF 95. Source: https://www.trucks.nl/tweedehands-daf-kabelboom-95-ati-4642437-vd

    CAN should solve at least part of that.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • 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