Pangram verdict · v3.3
We believe that this entire text is human-written.
AI likelihood · overall
HumanArticle text · 657 words · 4 segments analyzed
fig.0 An adapter that adds wireless connectivity to the SNES via the controller port, with no external power source needed. USB included for debugging. 00 Why? 01 Prototyping 02 Save sync 03 AI dialogue 04 Hardware 05 Enclosure 00 Why? I always come back to the Super Nintendo (SNES). It was my first console and it’s still my most potent source of nostalgia. It inspired my early interest in electronics as a teenager, designing circuits for mods and flash carts that I hoped to build one day. I followed the launch of Hackaday, Adafruit, and the progress of bunnie Huang’s Chumby and knew exactly what I wanted to do. I dropped out of my final years of high school to study hands-on electronics at college, and continued on to university. Then, finally equipped with those skills I’d aspired to, I went off-track and spent the next fifteen years working in data, ML and software. A lot has changed in that time but I’m back now, picking up exactly where I left off. The Super Network Adapter is an exercise in ‘16-bit futurism’, it aims to be a faithful peripheral to the original SNES hardware and what we imagined the future might be back then: a wireless link to the net, sync’ing saves across devices and an uplink to AI. 01 Prototyping The SNES never had a dedicated network port. The closest it came was the Satellaview, a modem peripheral connected to a hidden expansion port that could receive game broadcasts via satellite. There was also the XBAND, a modem that plugged into the cartridge slot and supported pass-through patching of specific games for online play. Reproducing the hardware of either of these today would be challenging, however most peripherals for the SNES took a much simpler route, they used one of the controller ports. Controller Serial Link The SNES controller ports are small synchronous serial buses that a game can control, setting and reading individual lines and driving the clock. These ports have seven lines but in a typical controller cable, only five tend to be present, with the wires for D1 and IOBit left out. To make sourcing parts for this project easier, my design also only relies on the remaining five wires. ┌─────────────────────────────────────────────────────────────╮ │ ┌──────────────────────────────┐ ┌───────────────────────╮ │ │ │ ● ● ● ● │ │ ● ● ● │ │ │ └──────────────────────────────┘ └───────────────────────╯ │ └─────────────────────────────────────────────────────────────╯ 1 2 3 4 5 6 7 5v CLK Latch D0 D1 IOBit GND First I needed a protocol for talking over this serial link, which I iterated with Mesen and a virtual network adapter written in Lua simulating the controller port link. This protocol has the SNES writing to the Latch line and reading from the adapter on D0, one bit at a time (‘bit-banging’). Even with some optimisation (unrolling loops and ignoring mid-stream replies) this approach tops out at about 30 KB/s, but that’s enough for the ’90s. Breadboard Version The first physical prototype was built using a Pico 2 W dev board. The additional circuitry needed was very simple, just some pull-up resistors for CLK and Latch. The board’s RP2350A can handle the console’s 5v logic on its pins directly, and it has two cores: one can maintain the console link, while the other maintains the Wi-Fi network link, without juggling interrupts. fig.1 The first prototype: a Pico 2 W on a breadboard wired up to a repurposed controller extension cable. Controller port pinout PinSignalWiring 1+5Vfeeds pull-ups only (Pico on USB supply for now) 2CLKGPIO pin and 4k7 pull-up 3LatchGPIO pin and 4k7 pull-up 4D0GPIO pin, open drain 7GNDShared GND WarningThe prototype runs from USB, with the console’s 5v only feeding the pull-ups.
I did not connect the SNES 5v to the Pico’s VBUS or VSYS while USB is plugged in.
The Pico was powered on before the console so the RP2350’s pins were ready to handle 5v.
The PCB design later can run on either supply.