NES/SNES Controller/Audio Pmod

Thanks to @lawrie we now have NES running on the iCEBreaker. I think it would be really good to have a single Pmod that allows us to easily plug in NES Controllers and get Audio out of the iCEBreaker.

Main requirements:

  • 2 x NES controller connections
  • 1 Audio jack for audio out

Optional requirements:

  • Also compatible with SNES controllers
  • Additional inputs to select ROMs

What else would you like to see on here. Do you have a napkin schematic already of how you would wire this up?

Cheers,
Piotr

It would be cool if this supported SNES controllers as well since they are basically the same protocol (SNES just has a larger shift register). I was wondering if something like the attached sketch would be feasible for a dual-purpose footprint. Unfortunately the pin spacing is very slightly different[1] for the 4 pins that are shared on the footprint - 4mm on SNES vs 0.16" = 4.064mm for NES. But it is such a small amount I wonder if a bit of extra tolerance on the hole sizes would be enough to make it work. The other complication is that right-angle connectors might save board space and be more practical but the hole spacing on a NES connector with 2 rows is less likely to be standard. Also, the two pins marked NC are actually used by some accessories[2], but with audio plus two controllers we would only have three spare pins so perhaps we could just connect the extra pins on the P1 port.

edit: corrected the comments about how many pins we have spare

[1] based on these drawings:
https://www.raphnet-tech.com/products/nes_controller_connector/index.php
https://www.raphnet-tech.com/products/snes_controller_connector/index.php
[2] https://www.beardypig.com/2015/12/11/nes-zapper-experiments-1/