Main > Raspberry Pi & Dev Board
Retropie SNES, GPIO reset switch how to.
severdhed:
clear explanation...maybe to someone who does a ton of electronics work. :dunno
here is how i have it wired now...it does not work:
i looked at that page, and they are using things like breadboards and breakout boards...things that I do not have and prefer not to spend money on. i probably have some resistors lying around from years ago when doing some LED projects.
i guess i just don't fully understand how to physically hook this up to the pi.
i found this diagram on that linked page,
If i understand this correctly, (which i probably dont) this looks as if the 3v line goes to the switch, and then it comes out from the other side of the switch and splits to pin 17 and to a resistor then to ground...is that correct?
DaOld Man:
Im not real sure what you are doing here, but yes, 3rd drawing is electrically the same as the second drawing.
The way you are using it, with the switch open, pin 17 will be pulled down to ground (also called sinking), through the resistor.
With the switch closed, pin 17 will be pulled up (also called sourcing) to positive.
So switch open, pin 17 low, switch closed pin 17 high.
EDIT: You dont need one of those perforated development (bread) boards, they are for testing circuits before building them.
You may want to get one to play and learn with, but you dont need it for this project.
severdhed:
thank you
this whole project is so much more challenging than the arcade cabinets i've built because i just don't have much experience with linux or electronic circuits. I'm very comfortable with an ipac and a windows pc, but weird command line linux scripting and electronic circuit building are just beyond the current scope of my understanding. That's why i'm so thankful for this board. You guys rock.
i'm going to check to see if i can find some resistors when i get home and try to get this finished up.
severdhed:
Ok, so I wired it up like the 3rd pic in my last post, but nothing happens when I press the switch. Any suggestions?
Sent from my SM-G900V using Tapatalk
DaOld Man:
--- Quote from: severdhed on September 01, 2015, 05:11:27 pm ---Ok, so I wired it up like the 3rd pic in my last post, but nothing happens when I press the switch. Any suggestions?
Sent from my SM-G900V using Tapatalk
--- End quote ---
Im new to the Pi too, but Im pretty sure you will have to load some script that does something when that pin goes high.
Did you check out the link that Slippy posted a few posts back?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version