DIY i2c cables


#1

there are numerous ways to connect your i2c modules together.

quite simply you need to make a connection between the SDA, SCL, and GND pins. make sure they match.

originally we were using 2x3 headers on 6 conductor ribbon cable:

you can of course put multiple headers (as many as you want) on the same cable.

this is not difficult. cut the ribbon. use some pliers. there’s a satisfying click when the headers lock.


recently links for these popped up, and they will work well. particularly if you heat-shrink the bundle of three connectors.


if you have further solutions, please post them here.


//// pictures ////
Teletype workflow, basics, and questions
Telex: Teletype expanders
Mannequins W/ (with)
#2

Thanks for reposting those links. I was just looking for them


#3

will my gear be damaged by using a 1x3 pin header?

if i’m connecting the 1x3 header to a 2x3 array of 6 pins, aside from matching the GND orientation, is there anything else I should know about to connect properly?


#4

I found the Sparkfun connectors awkward to work with, especially if you’ve never messed with them before aside from plugging them in.

I ordered 6 (so I’d have extra for other projects) and broke 3 of them just figuring out how to separate the two pieces, and another trying to assemble it.


#5

Can anyone recommend a UK/ eu vendor from which to buy ii cables to connect up my Teletype and Just Friends?

Many thanks


#6

Brian from Monome responded to my email regarding the same thing with a link to this thread:

Basically, it’s just six female-to-female jumper cables. I bought 8" ones off of Amazon (I’m in the US though)


#7

Thanks that’s great :slight_smile:


#8

tagging you two @bpcmusic @Dan_Derks
hoping you have info on this…

ordered from bpc and would rather not fry my with or teletype


#9

If anyone would be up for posting a quick how to for total novices that would be awesome. I’m not remotely experienced with building electronics and likewise do not want to fry my beautiful Teletype


#10

@glia, should be good. In fact, @bpcmusic sells 1x3 cables in his store.

EDIT: read your initial post too quick. I have connected a TX with 2x3 header (and 3 of the slots unconnected to a pin on the TX module), as well as used a 1x3 cable with Just Friends and nothing bad has happened.


#11

Are there any issues with using a longer i2c cable? I’m finding that I’d like to put my Just Friends module on the opposite side of my case where the Teletype is located. I’ve got an ER-301/Earthsea/Ansible also hooked up via the backpack. The cable I’d like to make would be about double/triple the usual length.


#12

It depends, I’ve had some trouble with EM interference on longer I2C lines in some DIY projects (not in your application though). The I2C protocol recommends short lines as well. It really depends on the total capacitance of your cable and the value of the pull-up resistors in your machine.


#13

there’s been many posts on this. female to female dupont cables, only need 3 per link. i bought extras plus male to female for custom long cables. i used these and electrical tape:

HiLetgo 200pcs/5x40pcs Breadboard Jumper Wires Dupont Wire Male to Male, Male to Female, Female to Female, 2.54mm to 2.54mm, 2.54mm to 2.0mm, 2.0mm to 2.0mm 20CM Cables Assortment Kit for Arduino DIY https://www.amazon.com/dp/B077X99KX1/ref=cm_sw_r_cp_api_i_3nL6AbXRE3TEW

don’t plug shit in wrong!

i know they say it can’t fry your modules, but since my ansible just died (thanks for the replacement, brian!), i am now extra careful. i was dealing with faulty power or the i2c rats nest that was with the teletype, ansible, just friends, er301, and w/ all wired up in a 3u skiff.


#14

For anyone else who might have been waiting for the back order items to fill at sparkfun, I found them at Karlsson Robotics as well: Ribbon Cable & Ribbon Crimp Connector.


#15

Would these be OK?


#16

just seeing you tagged me in a subsequent post after searching to see if this very question had been answered – reconfiguring my case and the standard 2x3 cable is too short for the distance I need b/w TT and JF. I was going to use the 1x3 I got from @bpcmusic a few months ago – this is a-ok, yeah?


#17

I’d be lying if i said I had a comprehensive answer so i’ll re-test sometime this weekend

but fwiw my rack never fried itself the few times i used it this summer.


#18

to make an i2c bus, just make sure all the GND are touching, all the SDA, all the SCL. it doesn’t matter what kind of cable you use, how many contacts.

we used 2x3 cables because they’re easy to make. 1x3 cables are more ergonomic. hand-wired single cables are totally fine.

you’re good!


#19

Hi guys, late to the party, got Mannequins W/ today and realized I haven’t bought an i2c cables along. Sadly the i2c socket from W/ is ‘just fit’, sides got blocked by two sandwiched PCBs so a normal 5 x 2 pins bus cable is not appropriate.

What I need is a daisy chained cable for connecting TT with JF and W/, do you guys know where can find one? Thanks!


Mannequins W/ (with)
#20

Hello,

you can use these breadboard cables, a 2x5 cable is in any case not the right choice.

If you want to use several I²c modules on the same bus, it’s recommened to use the Teletype Bus board