Due to high demand expect some shipping delays at this time, orders may not ship for 3-4 business days. On MLK Day no orders will be shipped.
0

Would it be theoretically possible for a raspberry pi to pla
Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Please be positive and constructive with your questions and comments.

Would it be theoretically possible for a raspberry pi to pla

by lesvaden3 on Sun Dec 05, 2021 8:53 am

If I converted the signals coming off of a raspberry pi's gpio pins to 5 volt logic, I bet I could have it sent pulses to a shift register and the shift register would read the signals like they were button presses and send that serial data to a Nintendo NES. The raspberry pi could play Nintendo games.

Obviously I would have to buy something like a CD2041 shift register chip, some some resistors(maybe) and a chip to convert the Pi’s three volt logic to the Nintendo’s 5 volt logic.

But before I foolishly attempt it, that seems possible, right? To make a raspberry pi play NES games…. I have a cheap original NES that I’m willing to sacrifice in the pursuit of strange goals.

lesvaden3
 
Posts: 32
Joined: Sat Feb 01, 2020 3:38 pm

Re: Would it be theoretically possible for a raspberry pi to

by lesvaden3 on Sun Dec 05, 2021 9:05 am

Sorry. Chip would be like a CD4021B or something related.

lesvaden3
 
Posts: 32
Joined: Sat Feb 01, 2020 3:38 pm

Re: Would it be theoretically possible for a raspberry pi to

by adafruit_support_mike on Sun Dec 05, 2021 10:10 pm

The general theory is good, and it should be easy enough to do if you're willing to use 8 GPIO pins to represent the NES controller's buttons.

The CD4021 is a decent choice for that application since it's a parallel-in/serial-out device. The NES will basically take snapshots of the RasPi's GPIO pins every few milliseconds, then read them in one bit at a time. You could also use a 74HCT165 which does the same thing as the CD4021, accepts 3.3V input, and produces 5V output.

adafruit_support_mike
 
Posts: 63921
Joined: Thu Feb 11, 2010 2:51 pm

Re: Would it be theoretically possible for a raspberry pi to

by lesvaden3 on Mon Dec 06, 2021 12:55 pm

Thank you!!!!

lesvaden3
 
Posts: 32
Joined: Sat Feb 01, 2020 3:38 pm

Re: Would it be theoretically possible for a raspberry pi to

by adafruit_support_mike on Tue Dec 07, 2021 10:19 pm

Post back if you get it working. We love to see photos of things like that. ;-)

adafruit_support_mike
 
Posts: 63921
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.