A tact switch works by connecting the pins from one side to the other. You would just wire them up as you would any other button (either to some GPIO pins or to a Teensy). So, just a matter of preference.As for extra custom buttons, they're quite easy to make. You can probably get away with GPIO alone, but a Teensy gives you many more pins and is USB-compatible. In order for the buttons to work, there's a simple driver on Adafruit right here.
Dmg Gameboy Case Free To AskThe site's down for maintenance at the moment, but they look like this: 1 2. It doesn't use a Raspberry Pi, but the process is similar, and the pictures are helpful: Gameboy Reloaded ( with video).And if you want a case that is closer to the original DMG without gutting an original, ASM Retro has some (and make the project look way cooler in my opinion). If something doesn't make sense, feel free to ask and I'll try to explain better!Here's a similar project that might give you other ideas. Sorry if this isn't being too clear. You could either use some perfboard to tidy things up, or just skip it to save space.The instructions on that page are pretty straightforward. Assign some buttons to whatever pins you want (in my case, I used 17, 18, 24, 25, and 27 - you'll see in a moment), and compile. I only have black wire, but I recommend using multiple colors and labeling on a piece of paper which colors go to what buttons.After you've done that, you will need to use Adafruit's retrogame script by Phil B. They're labeled quite nicely.In the picture above, there are 2 wires going into pin 24. I actually used the tact button to show you how you can use external buttons. Just plug them into a breadboard and you're done!I was testing with The Legend of Zelda, so only needed the D-pad and the A button (pin 24). You can just use some female-to-male jumper wires if you know the pinout on your Pi. I have a bunch of Model B RPis, but no Model As, the smaller power consumption of the Model A might be a better choice, but for now on, I need the 2 USB pins of a Model B to make sure that I can connect a keyboard for modifying my Python scripts and allow the buttons to work at the same time! Also, with a spare USB port, I can solder a male to female socket to the USB pins, and attach the USB port on the outside for a WiFi dongle and such.Shadow Link wrote:The controller board is too wide. It's 5V out, so with a DC-DC boost, you could achieve 6V from the GPIO output pins.I'm looking at the 2.8" PiTFT by Adafruit, it's slightly too wide, however, one side can be filed down to fit.Have you looked into PiPlay? It's a great way to hook everything into quite a sleek interface.I'll probably start ordering my parts this week, however, my first steps will be the screen, desoldering of RPi components and getting the buttons working and in-order. I even thought about The Adventurer 6,000MaH battery pack, it's small, and has a Micro-USB charging port, which is very common and accessible when I travel. I want at least 5-6 hours of battery life. That would, in theory, allow for the original battery compartment to be of use.As for space, I'm not sure how that would fit.You're right about the chargers, they're extortionately priced! I think 5000MaH is about as low as I want to go, with either screen, you're looking at a pull of 700-800MaH, possibly even more. Here, I removed the pcb to show you the basic concept of attaching a button.Sounds great - a really cool battery solution would be using battery contacts with a MoPi to use 4 AA batteries. Lucky block mod for minecraft mac5mm FFC cable extension to extend the ribbon cable. The ports look a little different on his.I really didn't want to have to buy a new screen so I found a 60 pin. A guy named FalconXY managed to do it (here's his post) though I believe his board was set up slightly different. Unfortunately the ribbon cable is too short to fold it properly to get the board to fit at 90 degrees, unless I'm doing something wrong. I took the model number off the TFT and found the data sheet which states that it is a 320x240 resolution screen. I'll post how it turns out when they get here, though I'm fairly sure it should work.Another note is that this screen is not 640x480 resolution though it is advertised as such. Though it does come from china so there is a bit of a wait. Here's the two links to the cable and the connector:Both fairly cheap, and shipping isn't that bad, under 10 bucks total. Also a couple of times I wasn't paying attention to where the barrel of my iron was and now there's a couple of small melt marks, suppose it has character now, lol.By the way, thanks Shadow Link for posting about the Gameboy Controller PCB. I need to find a way to wrap it tighter. Though the wire can get a little loose after some time then I have to let it cool and re wrap it. My iron is dual watt, at 40 watts it cuts through plastic quite nicely. I took a piece of razor blade (have one that pieces break off of for when they get dull) and I wrapped it to my soldering iron tip with uninsulated copper wire.
0 Comments
Leave a Reply. |
AuthorJim ArchivesCategories |