beardymanuk
Posts: 5
Joined: Fri Mar 21, 2014 12:44 pm

PITFT and Ryanteck MCB

Sat Mar 22, 2014 10:05 pm

Hey all!

Very new to the RPi world, so I apologise in advance for any stupid questions. I have setup and got working the PITFT and Ryanteck MCB with 12v battery and motor, just attaching them to the GPIO header seperatly. I would like to use them together. I have a breakout board and have done some research on each regarding which pins they both use, but I don't think they give the entire story.

E.G. Ryanteck MCB uses pins 17 & 18 and 22 & 23 for it motors but what other pins does it need?

Same goes for the PITFT, it uses SPI pins (SCK, MOSI, MISO, CE0, CE1) as well as GPIO #25 and #24. What other pins are used.

I can't seem to find any additional resources for these.

Any help would be so helpful,
Thanks!

ryanteck
Posts: 82
Joined: Mon Apr 16, 2012 10:49 am
Location: Great Yarmouth , United Kingdom
Contact: Website Twitter

Re: PITFT and Ryanteck MCB

Sun Mar 23, 2014 12:31 pm

Hia there,

The RTK RPi M.C.B just requires them 4 Pins + 5V and Ground.

The pins should be fine if you plug an RPi MCB into the PiTFT from the looks of the map.

The Adafruit TFT also requires 5V and GND. We use pin 9 for the ground on the RPi MCB

beardymanuk
Posts: 5
Joined: Fri Mar 21, 2014 12:44 pm

Re: PITFT and Ryanteck MCB

Sun Mar 23, 2014 3:45 pm

Thank you so much! Will give it a go.

Bm

beardymanuk
Posts: 5
Joined: Fri Mar 21, 2014 12:44 pm

Re: PITFT and Ryanteck MCB

Sun Mar 23, 2014 5:17 pm

Am I able to use the second connector on the PITFT for the MCB? Thanks

ryanteck
Posts: 82
Joined: Mon Apr 16, 2012 10:49 am
Location: Great Yarmouth , United Kingdom
Contact: Website Twitter

Re: PITFT and Ryanteck MCB

Mon Mar 24, 2014 11:36 am

You may be able to with an GPIO Extension cable. As long as Pin 1 Matches Pin 1 on the RPi MCB all should be fine.

If you want take a picture first and I'l reply weather it should work. Just make sure if you do try stuff out don't have the motors and power for the RTK RPi M.C.B plugged in until you are confident it is correctly plugged in.

beardymanuk
Posts: 5
Joined: Fri Mar 21, 2014 12:44 pm

Re: PITFT and Ryanteck MCB

Mon Mar 24, 2014 8:31 pm

Hey,

Thanks so much for helping me out, quite new to this.

https://www.dropbox.com/sh/zqioa1lzi1maxfg/H_QkowaL39

So i have connected up the PITFT via a ribbon cable to the RPI. From the second connector on the PITFT i have connected to the corresponding connector on the MCB as follows:

Pin (2) 5V
Pin (6) Ground
Pin (11) GPIO 17
Pin (12) GPIO 18

Thanks again,
BM

ryanteck
Posts: 82
Joined: Mon Apr 16, 2012 10:49 am
Location: Great Yarmouth , United Kingdom
Contact: Website Twitter

Re: PITFT and Ryanteck MCB

Mon Mar 24, 2014 9:00 pm

Hia,

Not sure if the PiTFT will work via ribbon cable but the RPi MCB Should work off them pins instead.

The wiring looks right for the motors apart from the ground pin which needs changing to pin 9. (Right of the blue wire).

beardymanuk
Posts: 5
Joined: Fri Mar 21, 2014 12:44 pm

Re: PITFT and Ryanteck MCB

Mon Mar 24, 2014 11:11 pm

It worked!!!!

thank you so much for your help, if your ever in London, i owe you a pint!

texy
Forum Moderator
Forum Moderator
Posts: 5161
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: PITFT and Ryanteck MCB

Tue Apr 08, 2014 5:57 pm

LOL - he is 17, so let's not encourage under age drinking ;)

Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

ryanteck
Posts: 82
Joined: Mon Apr 16, 2012 10:49 am
Location: Great Yarmouth , United Kingdom
Contact: Website Twitter

Re: PITFT and Ryanteck MCB

Tue Apr 08, 2014 6:00 pm

I actually don't like alcohol at all flavour wise but I rarely go down to London (Only been once). I'm more of a person who visits cambridge.

sjc07
Posts: 3
Joined: Wed Dec 16, 2015 8:49 pm

Re: PITFT and Ryanteck MCB

Wed Dec 23, 2015 3:49 pm

Hi,

I am doing something very similar. Would you mind sharing that picture again please?

Also, did you manage to code the PiTFT ok?

Thanks
Stuart

Return to “HATs and other add-ons”