Prototype “Sticks” Input controller

An AVR 5v tolerant 8-bit RISC microcontroller clocked at up to 24Mhz, used to interface to the 4 Atari/Sega joystick interfaces at the front of the computer. Programmable via a single wire UPDI interface.

Flash: 128K, SRAM: 16KB, EEPROM: 512 bytes, User row: 32 bytes.

The prototype uses a 16Mhz AVR128DB48 Curiosity Nano dev kit (on a Nano Base), the final will use a 24Mhz AVR128DB64 microcontroller.

  • Four Atari/Sega DP9 stick ports, (6 button sticks, analog paddles, 9 pin mice).
  • Port A can be configured to be an I2C port (pins 3 and 4)
  • Each port can be configured for serial port TX/RX (pins 6 and 7)
  • Curiosity nano pinout usage

    Description Function Pin Pin Function Description
    NC NC 1 29VBUS
    ID 2 30VOFF GND
    NC B0 3 31F6 RESET
    NC B1 4 32UPDI DEBUG
    Yellow LED B2 5 33GND GND
    Button B3 6 34VTG 5V
    DB9-D3 F4 7 35D6 DB9-D5
    DB9-D4 F5 8 36D3 DB9-B9
    DB9-A1 A2 9 37D2 DB9-B5
    DB9-A2 A3 10 38D1 DB9-A9
    DB9-A3 A4 11 39D0 DB9-A5
    DB9-A4 A5 12 40D7 DB9-D9
    DB9-A6 A6 13 41D5 DB9-C9
    DB9-A7 A7 14 42D4 DB9-C5
    GND GND15 43GND GND
    DB9-B6 B0 16 44E3 SPI0-SEL
    DB9-B7 B1 17 45E2 SPI0-SCK
    DB9-D1 F2 18 46E1 SPI0-MISO
    DB9-D2 F3 19 47E0 SPI0-MOSI
    DB9-C6 C0 20 48C7 DB9-C5 via 2N2222
    DB9-C7 C1 21 49C6 SPI0 INT-OUT
    DB9-C1 C2 22 50C5 DB9-C4
    DB9-C2 C3 23 51C4 DB9-C3
    GND GND24 52GND GND
    16 Mhz IN A0 25 53B5 DB9-B5
    16 Mhz OUT A1 26 54B4 DB9-B4
    DB9-B1 B2 27 55F1 CUT J208 DB9-D7
    DB9-B2 B3 28 56F0 CUT J207 DB9-D6

    GPIO Function GPIO Function
    0FRAM 29DB9-C2
    1SPI0 INT OUT 30DB9-C3
    2I2C0 INT Analog 0/1 Alert 31DB9-C4
    3I2C1 INT Sensors interrupt 32DB9-C5 VA
    4SPI0-RX (MOSI) 33DB9-C6
    5SPI0-CSn 34DB9-C7 v
    6SPI0-SCK 35DB9-C9 A
    7SPI0-TX (MISO) 36DB9-D1
    8I2C0-SDA – Analog input chip 37DB9-D2
    9I2C0-SCL 38DB9-D3
    10I2C1-SDA – Sensors 39DB9-D4
    11I2C1-SCL 40DB9-D5 VA
    12DB9-A1 41DB9-D6
    13DB9-A2 42DB9-D7 v
    14DB9-A3 43DB9-D9 A
    15DB9-A4 44DB9-A7 V enable via 2N2222
    16DB9-A5 VA 45DB9-B7 V enable via 2N2222
    17DB9-A6 46DB9-C7 V enable via 2N2222
    18DB9-A7 v 47DB9-D7 V enable via 2N2222
    19DB9-A9 A SWDIOConnected to DeMon to
    20DB9-B1 SWDCLKallow debug/programming
    21DB9-B2 ADCREF
    22DB9-B3 3V3
    23DB9-B4 BOOTSEL
    24DB9-B5 VA USB D-Mouse port
    25DB9-B6 USB D+
    26DB9-B7 v RUNConnected to DeMon
    27DB9-B9 A 3V3 EN
    28DB9-C1 VBUS

    Important: The Ant32 and Ant64 are both still at early design and prototype stage, everything you see here is subject to change.