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
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Gough Lui's Blog Designing & Building a USB/LAN 40-input 1W/2W/4W Solid-State Relay Multiplexer with RP2040
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Gough Lui
  • Date Created: 24 Sep 2022 7:31 AM Date Created
  • Views 1398 views
  • Likes 11 likes
  • Comments 7 comments
  • project
  • ethernet
  • usb
  • test and measurement
  • rp2040
Related
Recommended

Designing & Building a USB/LAN 40-input 1W/2W/4W Solid-State Relay Multiplexer with RP2040

Gough Lui
Gough Lui
24 Sep 2022

Having recently finished my blog series for the Experimenting with Thermistors Design Challenge, and taking a breather on a RoadTest at the moment, I found some time to embark on a project that I had wanted to do during the challenge but did not have time to. Part of my experimentation used a mechanical relay multiplexer shield that I built to measure multiple thermistors quasi-simultaneously with the DMMs I have. Unfortunately, that relay multiplexer being mechanical has a limited lifetime and makes quite the racket - not ideal for use in a bedroom. The ten inputs were also a potential limitation for future experiments

As a result, I decided to embark on a journey to build a solid-state relay multiplexer that could operate in one-wire, two-wire or four-wire mode. I also decided it would be a good chance to put the RP2040 into action as well, being my first project to use the Raspberry Pi Pico microcontroller. I fought component shortages, redesigned the PCB after missing out on stock and did my best to do SMD at home with the minimal equipment (double sided too!) and 3D printed myself a matching case to go with it.

image image

In the end, I managed to get it all working just as I expected ... building something I just couldn't commercially buy at a price which was a fraction of what such modules would cost assuming I had the right scanning DMM to go with them. Performance was not bad either - the RP2040 is a bit of a beast. Even my spaghetti code decided to hold in there, with stress testing running over 5.25-million select operations without a single failure ...

Read the full article over at my personal blog - https://goughlui.com/2022/09/24/project-usb-lan-40-input-1w-2w-4w-solid-state-relay-multiplexer-w-rp2040/

  • Sign in to reply
  • Gough Lui
    Gough Lui over 3 years ago in reply to phoenixcomm

    Umm ... this one supports USB and Ethernet thanks to using a W5100S-EVB-Pico?

    I don't usually use USB, but there are instances where (for security) people do not allow the use of Ethernet, so USB is more of a fallback.

    Usually, I use USB for power or for resetting the Ethernet config as the board supports allocation of a static IP and custom MAC.

    - Gough

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • phoenixcomm
    phoenixcomm over 3 years ago

    cool, but personally I would have used a different communication other than USB. The problem I have with USB while it is ubiquitous, it never seems to come back at the same address twice, I have been burnt by USB so I try and avoid it.  Ethernet comes to mind as well as CAN..

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Gough Lui
    Gough Lui over 3 years ago

    Just when I thought I was done ... I decided that I wasn't ... so I'd spend some time improving the code and testing it more thoroughly. The results are in a follow-up posting:

    https://goughlui.com/2022/10/03/project-solid-state-mux-new-code-performance-stress-resistance-b-w-power-tests/

    - Gough

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Gough Lui
    Gough Lui over 3 years ago in reply to neuromodulator

    Glad to see I'm not the only one with the need. Would have to say that I learned quite a bit by doing this one - had I designed it with 2W as the priority, perhaps I would have changed the shape/terminal arrangement to make wiring such a beast more simple. But I thought 1W switching is good enough for many needs, so hence this compromise solution.

    Would be good to see what you come up with ...

    - Gough

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • neuromodulator
    neuromodulator over 3 years ago

    Very interesting, funnily this is something I've also been working on for the same reason.

    • Cancel
    • Vote Up 0 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