Thread replies: 8
Thread images: 1
2016-02-06 05:21:05 Post No. 942226
Post No. 942226
My bro's birthday is coming up next month and I'm making him a handheld emulator for NES, Gameboy, etc., and I'm doing it with a Raspberry pi. The most interesting part is going to be the controls, for which I have bought an arduino pro mini. Ideally, I would like it to have 11 buttons on it (A, B, X, Y, L, R, up, down, left, right) and also a joystick. The arduino can handle all of those inputs, however my problem is that it doesn't have enough empty headers to use on the GPIO on the Raspberry pi (nor does the RPi contain enough empty GPIO pins for all those buttons). I was thinking of using only 1 digital output on the Arduino and sending a few bytes at a time containing all of the button states to the Raspberry Pi for it to know if a button is pressed or not. I guess my question is can I even do this? Is there a better way to do it?
tl;dr can I use an Arduino board using only digital out to be a controller for an emulator?