
When connecting the joysticks check the labeling of the pins and make sure you use the correct ones. Now you can connect all signal wires to the buttons. The ground line is connected to all of the buttons and joysticks. The pictures in this step and in Step 6: Buttons (Hardware) show all wiring points. In this step you'll need to solder 27+ wires - hurray.Īlways double (and triple) check your soldering. We're going to start with the component most of the wires are connected to. Write the code to the Teensy LC (in the menu bar: Sketch > Upload). If you connect the buttons in any other way you'll need to modify the attached code. If you connect the buttons like shown in the picture you can use the attached code. Select the correct port the Teensy is attached to (in the menu bar: Tools > Serial Port > COM x).
Select the Teensy LC board (in the menu bar: Tools > Board > Teensy LC). Connect the Teensy LC to your PC (it should be detected automatically if you are using Windows). In order to compile the code and write it to the Teensy you'll need the Arduino Framework and the Teensyduino support files. The Teensy will register the button clicks and joystick movement and send the signals to the Raspberry Pi via USB. In this step we want to write the button control code to the Teensy LC. 1x micro SD Card - 16GB (size is up to you). These are examples and show the required properties of the parts. You do not have to buy the listed parts and material from the amazon links. There is nothing more annoying than stopping your project because you have to wait for some small part being delivered. Make sure you have everything you need for the build. This is my very first instructable so if you have any suggestions for improvements please let me know. If you find any mistakes or something is not clear feel free to tell me and I'll try to fix it.
Please note that English is not my first language.
If you like it super affordable and simple you should take a look at the GamePi XS - a console in a controller. Check out my new alternation of this GamePi - the GamePi Zero. It combines all the good stuff of my other device. There is an updated version of this GamePi - Version 2.1. You can also post ideas on how to improve the design - just let me know Other Versions: If you like the GamePi check out my page AraymBox for other versions and the upcoming devices. The main difference between the old one and this are the analog joysticks and some minor improvements. This is the second version of my GamePi device (I did not write an instructable for the first one). There are a lot of similar instructables for such devices but for my taste most of them are either too big, too small, too complicated or I just do not like the look.
This instructable describes the build of a Raspberry Pi 3 powered handheld emulation console - I've baptized it GamePi.