Page 1 of 1

GPIO Confirmation.... Plz Save my add brain

Posted: Sat Oct 27, 2018 1:03 am
by rastus
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

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

Posted: Sat Oct 27, 2018 6:33 am
by VeteranGamer
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




.

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

Posted: Sat Oct 27, 2018 7:01 am
by rastus
thank you VeteranGamer

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

btw love all your builds

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

Posted: Sat Oct 27, 2018 8:18 am
by rodocop
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

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

Posted: Sat Oct 27, 2018 7:21 pm
by rastus
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