Using a cable between the RPi and the PiTFT
Moderators: adafruit_support_bill, adafruit
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
- waterglass
- Posts: 6
- Joined: Tue May 29, 2012 1:50 pm
Using a cable between the RPi and the PiTFT
I have the PiTFT display working fine plugged directly into the RPi. Now I want to put the RPi and PiTFT into a nice box. This requires connecting them with a cable. I ordered and received a GPIO ribbon cable for the RPI (Adafruit ID number 862) and find that the cable does not provide the proper connections. The even and odd pins are swapped at the PiTFT. Would you provide a part number for a cable that provides the proper connections?
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Using a cable between the RPi and the PiTFT
That's a board-parity issue.
The IDC cable is designed to be plugged down onto rows of pin header at both ends. If you'd soldered your pin header so the long part was on the top of the PiTFT PCB, all the connections would line up correctly.
You're trying to connect to pins on the bottom of the PCB, and to make that work you have to flip the connector upside down. That moves the signals to the wrong places.
What you want is a straight pass-through cable. We don't have anything like that with IDC connectors, but we do have ribbon cable with female connections at both ends:
https://www.adafruit.com/products/794 - 3" long
https://www.adafruit.com/products/266 - 6" long
https://www.adafruit.com/products/793 - 12" long
The IDC cable is designed to be plugged down onto rows of pin header at both ends. If you'd soldered your pin header so the long part was on the top of the PiTFT PCB, all the connections would line up correctly.
You're trying to connect to pins on the bottom of the PCB, and to make that work you have to flip the connector upside down. That moves the signals to the wrong places.
What you want is a straight pass-through cable. We don't have anything like that with IDC connectors, but we do have ribbon cable with female connections at both ends:
https://www.adafruit.com/products/794 - 3" long
https://www.adafruit.com/products/266 - 6" long
https://www.adafruit.com/products/793 - 12" long
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/