Modifications

Sauter à la navigation Sauter à la recherche
1 467 octets ajoutés ,  9 mars 2014 à 19:44
Ligne 52 : Ligne 52 :     
Just as the layout and build technique of the control panel requires creative interpretation, so too will you need to decide on your own wiring methodology. We have some parts that can help. Aside from the aforementioned Perma-Proto board, there are ''quick-connect wires'' that work with the buttons and {{pl|82|assortiment de fil de connexion multifonctionnel}} in various lengths that can be used with a joystick or plug directly into the GPIO pins (without a Perma-Proto board). Options abound! You’ll likely need some combination of these, and may need to solder some connections.  
 
Just as the layout and build technique of the control panel requires creative interpretation, so too will you need to decide on your own wiring methodology. We have some parts that can help. Aside from the aforementioned Perma-Proto board, there are ''quick-connect wires'' that work with the buttons and {{pl|82|assortiment de fil de connexion multifonctionnel}} in various lengths that can be used with a joystick or plug directly into the GPIO pins (without a Perma-Proto board). Options abound! You’ll likely need some combination of these, and may need to solder some connections.  
 +
 +
== Raccordement ==
 +
=== Le joystick ===
 +
 +
{{ADFImage|Rasp-Retro-Games-Arcade-Control-20.png|640px}}
 +
 +
Here’s a pinout diagram for our arcade stick. Only one wire needs to go to GND, then each of the other four goes to a different GPIO pin.
 +
 +
These directions apply when the stick is oriented '''with the header at the top'''. It’s fine to install the stick in a different orientation, you’ll just need to adapt the wiring connections to match.
 +
 +
=== Raccordement sur le GPIO ===
 +
The plugs on the ends of the Quick Connect Wires tend to block adjacent pins on the GPIO header. You can trim these down a bit using an X-Acto knife or Dremel tool, or cut the plugs off and solder the wires to a Perma Proto board, or simply plan out your wiring to avoid nearby pins.
 +
 +
Here’s a no-soldering wiring setup we use with one joystick and two buttons, using 5 female-to-female jumpers for the joystick and two unmodified quick connects for the buttons. It’s a pretty basic layout, but sufficient to accommodate quite a few classic games. For the remaining seldom-used functions (coin insert, start game), a regular USB keyboard is kept nearby.
 +
 +
If you dont mind doing some soldering, you can connect to the other pins - just make sure one pin of each button connects to a GPIO and the other button pin connects to one of the ground pins. You may need to edit/recompile our 'helper'
 +
 +
{{ADFImage|Rasp-Retro-Games-Arcade-Control-21.png|640px}}
 +
 +
{{asm-begin}}
 +
 +
{{asm-end}}
 +
 +
 +
       
{{Rasp-Retro-Games-TRAILER}}
 
{{Rasp-Retro-Games-TRAILER}}
30 894

modifications

Menu de navigation