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 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
Project Videos
  • Challenges & Projects
  • element14 presents
  • Project Videos
  • More
  • Cancel
Project Videos
Documents How Far Can I2C Go? -- Episode 666
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Project Videos to participate - click to join for free!
Related
Recommended
3M-Optimizing-Machine-Vision
Engagement
  • Author Author: cstanton
  • Date Created: 23 May 2025 9:30 AM Date Created
  • Last Updated Last Updated: 23 May 2025 11:10 AM
  • Views 2427 views
  • Likes 8 likes
  • Comments 23 comments

How Far Can I2C Go? -- Episode 666

Have you ever wondered if the humble I2C protocol, designed for short-distance communication on a PCB, could work over a stretched-out distance? Clem, an innovative DIY enthusiast, dives headfirst into this question in his latest experiment. Armed with two Raspberry Pi Pico microcontrollers, a coiled-up RG58 coaxial cable, and a few unconventional ideas, he sets out to see if I2C can bridge the gap between devices separated by meters—even outdoors.

Watch the Episode

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

The Problem: Taking I2C Beyond the PCB

I2C (Inter-Integrated Circuit) is a reliable protocol, but it’s typically intended for communication between components within a single PCB or, at best, over very short distances. The main challenge? Capacitance—as wires get longer, their ability to maintain signal integrity decreases. Clem had an ambitious thought: What if he could use I2C as a bus system running throughout his workshop to connect micro-controllers and sensors scattered across different areas? Could it work over 10 or even 20 meters of cable? Only one way to find out—test it.

image

The Setup: Breadboards, Raspberry Pi Picos, and Coaxial Cable

Clem began his experiment with a simple setup on breadboards. Using two Raspberry Pi Pico micro-controllers, he established a basic I2C connection with standard jumper wires to simulate a local, short-distance connection. With the baseline working, it was time to introduce the star of the experiment: a 10-meter-long RG58 coaxial cable. Why coaxial? Its shielding properties make it a good candidate for reducing interference, a critical factor when extending the range of I2C.

He connected the two micro-controllers through the coiled cable and ran initial tests. The results were promising—communication was intact! But Clem wasn’t done yet. He wanted to push the boundaries even further.

image

Taking It Outside: Testing I2C Over 20 Meters

With the system working over 10 meters of cable, Clem decided to push his experiment to the extreme. He ran the coaxial cable through a cellar window and out into his garden, effectively extending the distance to 20 meters. The sight of an I2C bus stretching through a garden might have seemed bizarre, but it was all in the name of science!

To his delight, the I2C communication still worked. By using the RG58 cable's shielding to his advantage, Clem demonstrated that the protocol could handle significant distances, far beyond its typical use case.

image

Bill of Materials

Product Name Manufacturer Quantity Buy Kit
Raspberry Pi pico H Raspberry Pi 2 Buy Now
RG58 50Ohm Coaxial Cable Multicomp Pro 20 Buy Now

Supporting Code and Links

  •  Supporting Files for Episode 666 of element14 presents  

element14 presents

element14 presents  |  About Clem  |  Project Videos

  • i2c bus length limit
  • i2c over coaxial cable
  • rg58 i2c testing
  • i2c wiring tips
  • extend i2c range
  • microcontroller i2c setup
  • i2c protocol tutorial
  • long range i2c experiment
  • raspberry pi pico i2c
  • i2c with raspberry pi
  • i2c communication distance
  • i2c on breadboard
  • i2c signal integrity
  • i2c workshop project
  • friday_release
  • i2c long distance
  • Share
  • History
  • More
  • Cancel
Actions
  • Share
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • mayermakes
    mayermakes 23 days ago in reply to kmikemoo +1
    you erased the erase out of the board.
  • mayermakes
    mayermakes 20 days ago in reply to DAB

    thanks DAB , this project seems to straddle the border of itf it actually behaves as transmission line or not.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • colporteur
    colporteur 21 days ago in reply to DAB

    PDP-11-04 Blue & Gold Airtraffic Crontol systems. The computers painted targets on radar screens.

    My Understanding of SCSI bus was just what you described a transmission line. The instructor was giving this complicated explanation about termination of the bus. I had worked in RF for ten years and discovered the SCSI speed is an RF signal. BAM! It all made sense.

    I pulled a few guys aside to share the RF theory SCSI insight since we all had similar backgrounds. Understanding the SCSI bus termination wasn't a problem after you understanding VSWR, standing waves and reflections.

    I hadn't thought about PDP-11 since the 80's. Great share.  

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB 21 days ago

    Well done Clem.

    Great experiment and useful engineering technique.

    When I worked with a PDP-11 computer back in the 1970's I was surprised to see that they had designed a tuned circuit for the buses.

    You can do a lot of research on tuned transmission lines, but it gets messy fast.

    I look forward to your next project.

    You always keep me entertained.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • colporteur
    colporteur 22 days ago in reply to kmikemoo

    Ah yes, I've experienced the quick-fix or have-you-tried replacement model. What was I thinking is usually the post project review question:)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mayermakes
    mayermakes 23 days ago in reply to kmikemoo

    you erased the erase out of the board.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • kmikemoo
    kmikemoo 23 days ago in reply to mayermakes

     mayermakes Laughing  Ah, yes.  Acetone.  Very effective BUT it will come at a cost - because it is effective.  When the dry erase board didn't erase, my wife grabbed my can of Acetone.  Now I have bought a new dry erase board.  Joy

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • colporteur
    colporteur 23 days ago in reply to mayermakes

    Way more chemicals involved than I care to try.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps 23 days ago in reply to mayermakes

    or warmed up with (not too) hot air

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mayermakes
    mayermakes 23 days ago in reply to colporteur

    most sticky tape can be soaked with IPA to loosen it, sometimes a bit of acetone is needed.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • colporteur
    colporteur 23 days ago in reply to mayermakes

    Well lookie there, it has screws. I had a unit where the breadboard used two sided sticky table. I destroyed the breadboard trying to get it separated. Hummm move it over to make room for a pi on legs. That was supposed to be my inside voice:)

    • 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