jenzo
Posts: 11
Joined: Tue Aug 12, 2014 6:21 pm

Can i use an old IDE cable with RPi B+ GPIO pins?

Thu Aug 28, 2014 12:51 pm

I want to use an old IDE cable (with 40 pins) for the GPIO pins, without modifying it or removing the connectors. Is it safe to do that?

PiGraham
Posts: 3679
Joined: Fri Jun 07, 2013 12:37 pm
Location: Waterlooville

Re: Can i use an old IDE cable with RPi B+ GPIO pins?

Thu Aug 28, 2014 12:54 pm

Yes. 40 pin IDE cables are simple pin to pin cables.

User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

Re: Can i use an old IDE cable with RPi B+ GPIO pins?

Thu Aug 28, 2014 12:55 pm

Hi,
jenzo wrote:Is it safe to do that?
If the cable condition is ok, it is safe.

There are several details which can cause troubles in some circumstances (eg. length of the cable), but generally speaking, you can use it.


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: Can i use an old IDE cable with RPi B+ GPIO pins?

Thu Aug 28, 2014 12:59 pm

Yes and maybe no it depends on the IDE cable and whether it's blocked off the middle pin to prevent applying the cable the wrong way up.
If you have such a cable you may need to drill a hole otherwise it would be physically impossible to place this over the GPIO header.

Richard S.

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 12536
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Can i use an old IDE cable with RPi B+ GPIO pins?

Thu Aug 28, 2014 2:30 pm

The blocked hole in the IDE cable corresponds to a GND pin in the GPIO header, so you could simply cut that pin, without losing functionality.

User avatar
Burngate
Posts: 6153
Joined: Thu Sep 29, 2011 4:34 pm
Location: Berkshire UK Tralfamadore
Contact: Website

Re: Can i use an old IDE cable with RPi B+ GPIO pins?

Thu Aug 28, 2014 4:07 pm

Or just use a big hammer.
Either it'll make its own hole, or it'll bend out of the way

jenzo
Posts: 11
Joined: Tue Aug 12, 2014 6:21 pm

Re: Can i use an old IDE cable with RPi B+ GPIO pins?

Sun Aug 31, 2014 1:16 pm

Well, the middle pin was blocked, but that wasn't my biggest problem. I was able to drill a hole, but unfortunately the GND pins on the IDE cable ( http://courses.cs.tamu.edu/cpsc483/rabi ... a2copy.GIF ) are all connected, hence i can't really use it for raspberry. :cry:
Thanks for your answers though!

klricks
Posts: 6706
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Can i use an old IDE cable with RPi B+ GPIO pins?

Sun Aug 31, 2014 1:52 pm

jenzo wrote:Well, the middle pin was blocked, but that wasn't my biggest problem. I was able to drill a hole, but unfortunately the GND pins on the IDE cable ( http://courses.cs.tamu.edu/cpsc483/rabi ... a2copy.GIF ) are all connected, hence i can't really use it for raspberry. :cry:
Thanks for your answers though!
A 40 pin cable is just a 40 pin cable. It's not IDE unless plugged into an IDE device. When plugged into RPi GPIO then its GPIO.
Unless specified otherwise my response is based on the latest and fully updated Raspbian Buster w/ Desktop OS.

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 12536
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Can i use an old IDE cable with RPi B+ GPIO pins?

Sun Aug 31, 2014 2:02 pm

I was able to drill a hole, but unfortunately the GND pins on the IDE cable ... are all connected,
no they are not!

for a 40 wire IDE cable, it its just an IDE cable, wires are not connected between each other, unless plugged into an actual device that connects the wires together externally to the actual cable.

As said below a "80 wire IDE cable" is not a normal IDE (isolation displacement) cable, it is a specifically manufactured product that overcomes the transmit line problems of a normal 40 pin IDE cable by giving each wire its own ground return wire, and in the process it connects all pins used as GND in a harddisk interface cable together! it cannot therefore be used with a PI!

User avatar
joan
Posts: 14581
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Can i use an old IDE cable with RPi B+ GPIO pins?

Sun Aug 31, 2014 2:07 pm

I thought there was no interconnection. However on the IDE cable I have (is it an 80 connector one?) the ground pins are connected on the cable when I buzz through.

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 12536
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Can i use an old IDE cable with RPi B+ GPIO pins?

Sun Aug 31, 2014 2:25 pm

yes, there are IDE cables that have extra shielding and GND returns in the form of 40 extra wires interleaved with the 40 normal wires, and yes these connect to all the wires normall used for GND to the normal 40 wires assigned as GND's (in a HD interface cable) .

And no, what I said in the previous post does NOT apply to these cables, they are indeed useless for the PI, you need IDE cables with 40 wires, not 80 wires.

do not use 80 wire "IDE cables", they cause shorts!

User avatar
joan
Posts: 14581
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Can i use an old IDE cable with RPi B+ GPIO pins?

Sun Aug 31, 2014 2:31 pm

mahjongg wrote:yes, there are IDE cables that have extra shielding and GND returns in the form of 40 extra wires interleaved with the 40 normal wires, and yes these connect to all the wires normall used for GND to the normal 40 wires assigned as GND's (in a HD interface cable) .

And no, what I said in the previous post does NOT apply to these cables, they are indeed useless for the PI, you need IDE cables with 40 wires, not 80 wires.

do not use 80 wire "IDE cables", they cause shorts!
Well that was fortunate. I got my 80 connector IDE cable out of the loft intending to use it with the B+ but never got round to plugging it in!

reppard
Posts: 7
Joined: Sun Nov 25, 2012 4:50 am

Re: Can i use an old IDE cable with RPi B+ GPIO pins?

Thu Sep 25, 2014 12:08 am

I am using a 40(IDE) Cable without issue. I've got mine wired up to an analog joystick(pulled from a PS2) and some pushbuttons. The middle hole isn't blocked on this particular cable.
https://www.dropbox.com/s/d2clqy596zna5 ... i.jpg?dl=0

kayinseven
Posts: 1
Joined: Thu Jun 11, 2015 4:12 pm

Re: Can i use an old IDE cable with RPi B+ GPIO pins?

Thu Jun 11, 2015 4:35 pm

Hi.

I read tons of info about and I was still in doubt , so i plugged the old IDE cable 40 pin ATA 33 to the raspberry pi 2 with no alimentation. Then i tested each pin with a multimeter , comparing to the gpio 40 pin map.
The test showned nothing anormal. Results were the same as gpio map so
The old 40 pin ide cable with all holes can be used safely.

The 80 pin wasn't tested , so i can't say anything about it

Cheers

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 12536
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Can i use an old IDE cable with RPi B+ GPIO pins?

Thu Jun 11, 2015 5:15 pm

Yes, a "40-pin IDE Cable" is simply a 40 wire flatcable with two "isolation displacement connectors", no magic going on there, unlike the much later specially designed "80-wire IDE cables".

I wrote this: viewtopic.php?p=665572#p665572 about it in the "pitfalls for beginners" sticky.

Sozyer Faise
Posts: 1
Joined: Mon Mar 14, 2016 11:31 pm

Re: Can i use an old IDE cable with RPi B+ GPIO pins?

Mon Mar 14, 2016 11:43 pm

http://www.shivaranjan.com/shivaupload/ ... /80_40.jpg

This image is a great example of the differences between the two. Visually they are very different.

Consider the age of the computer you're about to gut for your new project. If its any newer than Y2K... you NEED to double check what kind of cable it is.

That all being said, it's perfectly reasonable with a few hours, a pair of snips, a lot of patience, and a few googles, you could probably isolate the 40 ground wires and suss out any proprietary common grounding in the plastic heads and bend the cable to your (apparently) iron based will / complete stubbornness. This would take a lot more time than going to your mom's house to pick up that old dell you had in high school, or swinging by your local online-retailer while you're supposed to be working... but keep in mind... we don't hack stuff into existence because it's easy.

elhtmlnoexiste
Posts: 1
Joined: Wed Jan 18, 2017 7:28 pm

Re: Can i use an old IDE cable with RPi B+ GPIO pins?

Wed Jan 18, 2017 7:39 pm

If you crack both conectors open the central metal row can be removed without affecting pin functionality. I've attached an image
IMG_20170118_203308.jpg
IMG_20170118_203308.jpg (12.33 KiB) Viewed 12477 times

Return to “Beginners”