GPIO Confirmation.... Plz Save my add brain

Having trouble with your GBZ build? Ask your questions here!
Post Reply
rastus
Posts: 9
Joined: Sat Oct 27, 2018 12:39 am
Location: Perth wa
Has thanked: 8 times
Been thanked: 3 times

GPIO Confirmation.... Plz Save my add brain

Post by rastus » Sat Oct 27, 2018 1:03 am

Hi all

i been here for a long time and wow.. you guys have some awesome hardware you have put together.

so im working on my 2nd build. First 1 was a pi3 an i built it in my old DMG gameboy i got as a kid an well
lets just say it worked and it didnt work lol... but it was fun. an after good amount of $$ that my partner is still to notice
that is missing. i figure i better get it done b4 she works it out :lol:

so GPIO has taken me a bit to get my head around but i think i have got it now. this forum is filled with so much info i think
i worked out what i wanted to do. but i would like if someone who really knows what there doing could confirm what i have for
my controls

can i use GPIO 14, 15, 18, 23, 24, 25, 8, 7, 16, 20. for my Up, Down, A, an sow on and Pin 20 for GND?

thanks for any help

User avatar
VeteranGamer
Posts: 1738
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 528 times
Been thanked: 909 times

Re: GPIO Confirmation.... Plz Save my add brain

Post by VeteranGamer » Sat Oct 27, 2018 6:33 am

rastus wrote:
Sat Oct 27, 2018 1:03 am
Hi all

i been here for a long time and wow.. you guys have some awesome hardware you have put together.

so im working on my 2nd build. First 1 was a pi3 an i built it in my old DMG gameboy i got as a kid an well
lets just say it worked and it didnt work lol... but it was fun. an after good amount of $$ that my partner is still to notice
that is missing. i figure i better get it done b4 she works it out :lol:

so GPIO has taken me a bit to get my head around but i think i have got it now. this forum is filled with so much info i think
i worked out what i wanted to do. but i would like if someone who really knows what there doing could confirm what i have for
my controls

can i use GPIO 14, 15, 18, 23, 24, 25, 8, 7, 16, 20. for my Up, Down, A, an sow on and Pin 20 for GND?

thanks for any help


i dont know how your telling the RPi that the GPIO are used for controls/keyboard

but if your using something like Adafruits Retrogame

https://learn.adafruit.com/retro-gaming ... s-software


then you can configure the GPIO to however you want (within reason)


Image


providing your NOT using these for anything else
any of the yellow coloured GPIO can be used for controls (if you know where the 5V & 3.3V are, its not that difficult to figure out)
(and for the controls also the white)

the Power (5V & 3.3V) and Ground and only be used at they are intended




.

rastus
Posts: 9
Joined: Sat Oct 27, 2018 12:39 am
Location: Perth wa
Has thanked: 8 times
Been thanked: 3 times

Re: GPIO Confirmation.... Plz Save my add brain

Post by rastus » Sat Oct 27, 2018 7:01 am

thank you VeteranGamer

now i can keep going along slowly but at least im not second guessing myself.

btw love all your builds

User avatar
rodocop
Posts: 1723
Joined: Mon Aug 22, 2016 3:14 pm
Location: Saskatchewan
Has thanked: 606 times
Been thanked: 608 times

Re: GPIO Confirmation.... Plz Save my add brain

Post by rodocop » Sat Oct 27, 2018 8:18 am

What veteran said.

I always follow this wiring guide.

This one works good, and leaves the sda and scl pins open (if you plan to do battery monitor), and leaves the spi pi s open too (if you are doing an spi screen).

Only thing to note Y (bcm19) and L (bcm21) will need to be moved if you plan to use an i2s amp, since that type of amp using bcm 18, 19, and 21.

https://sudomod.com/forum/viewtopic.php?t=57

rastus
Posts: 9
Joined: Sat Oct 27, 2018 12:39 am
Location: Perth wa
Has thanked: 8 times
Been thanked: 3 times

Re: GPIO Confirmation.... Plz Save my add brain

Post by rastus » Sat Oct 27, 2018 7:21 pm

Thanks rodocop

I taken note of that.
on screen battery monitor was next on my list to start figuring out.
But I'm not 100% sure about it so I'm going back to do some more searching

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest