• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Endpoint/Midpoint as part of project

Scheduled Pinned Locked Moved General Discussion
4 Posts 3 Posters 304 Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    ankonaskiff17
    last edited by ankonaskiff17 Jan 15, 2024, 5:02 PM Jan 15, 2024, 4:50 PM

    A member of the MM community asked me about long runs between a sensor and a Pi if I remember the original question correctly. I had already assembled a project doing just that using Sparkfun Midpoint and Endpoint connections. They are part of the Qwiic "ecosystem but they work real well. As a trial a had a 50 ft length of standard ethernet cable plugged it in as shown and then hung several environmental sensors at the far end using Qwiic cables coming of the Endpoint.
    I refer to the wiring between instruments as “Jst TYPE” because I can’t keep up with all the various proprietary and industry standard connections in the market these days. There are different lengths of those Qwiic<–>Qwiic cables out there and have bought cables from both reputable venders and Amazon. Not entirely unexpected but have had a few of the Amazon cables that were bad.
    There was a question about could you get away with just buying an Endpoint and as I recall, Sparkfun says no. I think the reason has to do with you require a termination but not being a network person that is beyond my knowledge of setting up networks.

    MidpointLayout.jpg

    1 Reply Last reply Reply Quote 0
    • E Offline
      Egnos
      last edited by Jan 21, 2024, 8:04 PM

      Thanks @ankonaskiff17 for your description and sketch…very usefull!

      My problem is on “Seeed Grove - Gesture V1.0 (PAJ7660)” sensor due to the cable lenght.

      With the your enviroment, from the Endpoint, I should connect with my “Grove - Gesture Sensor” and I should solder a piece of cable with the “JST” connector at the end.

      I have two questions:
      1- which type of “JST” connector is on the Endpoint board?
      2- probably this cable is good (I have to cut the Female Jumper in order to solder the cables from “Grove - Gesture Sensor”), correct?

      I hope I was clear.

      My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

      A 1 Reply Last reply Jan 28, 2024, 5:57 PM Reply Quote 0
      • B Offline
        bhepler Module Developer
        last edited by Jan 22, 2024, 12:38 AM

        From the SparkFun website: “All Qwiic-enabled boards use a common 1mm pitch, 4-pin JST connector.”

        1 Reply Last reply Reply Quote 0
        • A Offline
          ankonaskiff17 @Egnos
          last edited by ankonaskiff17 Jan 30, 2024, 8:11 PM Jan 28, 2024, 5:57 PM

          @Egnos The Endpoints and Midpoints are the devices that boost the I2C signal because according to what I have read I2C by itself is distance limited.
          You buy the Endpoints and Midpoints to give you the distance capability. I’m not advocating Endpoints and Midpoints because of the JST connectors.

          Your original question was to the effect “I have this gesture sensor but I also have a distance requirement that I2C alone can’t handle” or words to that effect.

          I suggested you look at the Sparkfun Endpoint and Midpoints because that is what their function is.
          The best I have to offer is that I took a Raspberry Pi 4B, wired a Sparkfun Midpoint right next to the Pi. On a plastic panel, so the Midpoint was maybe 2 inches (50 mm) from Pi.
          I plugged a 50 ft (15 meter) standard ethernet cable into that Midpoint.
          I then took a Sparkfun ENDPOINT and plugged it into the far end of the ethernet cable. I connected 3 sensors to Endpoint.

          As far as Seeed/Grove it says it is I2C on your link but I have no experience with the brand and connection other than I think the Grove connection, may be proprietary. That is inconsequential though as you can get the Qwiic sized JST and splice the connector.
          When I first got the hardware I wanted to test the distance claim so slapped together the setup outlined above.
          All I can say is that the Midpoint and Endpoint purpose is to give you the distance. I have attached a picture of my ad-hoc test. The Raspberry Pi + Midpoint are another 10 - 15 ft beyond the tail of the blue line. That blue line and white line are the 50’ of ethernet cable and red circle is Endpoint and 3 sensors which are all Adafruit I2C. I want to reiterate that my experience is with Adafruit and Sparkfun sensors and as a general rule those are the only brands I buy so can’t vouch for other brands. In the past I have bought sensors from other companies that advertise as I2C but are really SPI .
          These companies will put their brand stamp on their connection by giving it a name such as “Qwiic Connector” or “Grove Connector” but they appear to be JST connectors except Grove may be proprietary.
          The easiest way out is to buy this cable but it is dependent on you buying a Midpoint and an Endpoint from Sparkfun. I’m no expert but I know of no other way to push that I2C signal a longer distance.
          If Grove is Seeed Studio’s proprietary connector you have to see if Seeed Studio has a solution for pushing I2C long distances and commit to using all Seeed Studio components. The other option is to get the parts I have provided links to.

          Cable Length Edit.jpg

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            2/4
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy