AtariBits
  • Home
  • Systems
    • 576NUC+ >
      • NUCplus4
    • 1088XEL >
      • XEL-CF Drive
      • XEL-CF3 Rapidus Variant
      • Accessories
      • XEL Archives
    • 1088XLD >
      • RGB2VGA-XLD
      • ARROW2JOY-XLD
    • CV-NUC+
  • TransKey
    • TK-II >
      • TK-II Manual
      • Installation
      • Device Compatibility
      • TK-II Archives
    • TK-II-STEREO
    • TK-II Control
  • XEP80-II
  • JOY2PIC
  • MOUSE
  • MIDI
    • MIDI 3D Printed Cases
  • UGV
    • Old UGV Archive
  • SDrive
  • RAM
  • Blog
PictureShown Plugged into Joystick Port 2 on Atari 65XE with USB Mouse RCVR
USB2QUAD
USB to ST/8-Bit Mouse Adapter​

Modernizing the Atari ST mouse. This project is based upon a very small USB to Quadrature mouse adapter board running Jean-Jacques Michel's open source firmware on an AtariBits customized  version of his original PCB design. 

​Features
  • Atari ST and 8-Bit compatible
  • True USB HID Mouse Input
  • Atari ST Quadrature Encoder Output​​
  • Digital 3-button Mouse Output (left = trigger, right = paddle A, middle = paddle B)

Known Working Wireless Mice (V2 firmware)
  • Logitech (yes): M325,M325S,M317,M310,M185
  • Logitech (possibly): T720,T705,T620,T400
  • Microsoft (yes): Mobile Mouse 3500
  • Bambu Lab (yes): USB Mouse Kit MH002

Picture
Top and Bottom View of Assembled PCB
Click Below for Larger Images
              Top-Side View
Bottom-Side View           
What Makes it Tick

The heart of the mouse adapter is an inexpensive 8-bit enhanced E8051 microcontroller called the CH554G.

The CH554G is the only surface mount type (SMT) part being used, with everything else comprised of through-hole type (THT) components. However with the CH554G being in the larger SMT footprint category (SOIC-16), it's relatively easy to hand solder along with the minimal number of THT parts required.

Programming the CH554G only requires a double ended USB-A cable connected to your Windows or Linux computer, using a free flashing app to burn  Jean-Jacques Michel's open source Atari quadrature mouse firmware (a zipped file containing the flashing app, documentation, and the firmware is provided below).

Most all 'wired' USB mice and USB track balls will work. But if you want something absolutely guaranteed to work out of the box, use one of the mice from the known working list.
3rd Party Mouse Adapters and Cases

The USB2QUAD is a very straight forward DIY USB to Atari mouse adapter that gets the job done. However I would be remiss if I didn't mention one of the most prominent competing devices in this arena called the MouSTer which is far more versatile and constantly being improved to handle more and more alternative devices such as game controllers, USB joysticks, and also works with other consoles and computers. Plus it allows for custom configuration of some of its operating parameters.

With all that said if you still want to build your own Atari USB mouse adapter, the MouSTer is unfortunately not a public domain design, at least not yet. And even if it were, due to its complex and very dense surface mount electronics it really wouldn't be a good DIY candidate for most hobbyist's. Whereas the USB2QUAD is a relatively simple and easy build, with all of the design files now released to the public.

Also coming out of the MouSTer project there was a rather nice 3D printed case design by a guy who calls himself Tor from Norway. Since that design was freely downloadable, it became the basis for encasing the USB2QUAD mouse adapter once modifications were made to the original design. Those  modifications were absolutely required to accommodate the slightly bigger USB2QUAD PCB and the LED status indicator. Also because the case's body ended up being wider, more of the 9-pin joystick connector was allowed to protrude beyond the case to still accommodate XE computers which have a very restricted Joystick port opening.
Picture
3D Case Mods of Tor's Design Done in TinkerCad
Picture
Complete USB2QUAD Mouse Module
Picture

Build It / Flash It / Use It


File Downloads

usb2quad_case.stl
File Size: 175 kb
File Type: stl
Download File

usb2quad_v1.1_schema.pdf
File Size: 143 kb
File Type: pdf
Download File

usb2quad_v1.1_gerbers.zip
File Size: 13 kb
File Type: zip
Download File

flash_ch554_chip.zip
File Size: 1799 kb
File Type: zip
Download File

Firmware (updated to V2 11/15/2026) and Flashing app are provided in the zipped file directly above.  The V2 firmware update is courtesy of AtariAge member: Tobrew's compilation of JJ Mitchel's Platform IO source, and opens up this device to many more wireless mice.

Reference the schematic for required components, with the CH554G chip being purchased from eBay or AliExpress, and everything else can be sourced from Digi-Key or Mouser.

Picture
Click the PCB image above which buys you 3 bare PCBs with FREE international shipping included
Picture
Follow the discussion at AtariAge
There's a New DIY USB Mouse Adapter in Town...

Picture
Atari ST Mouse Case 3D Print Files for
Bambu Lab Wireless Mouse Kit MH002
DOWNLOAD



Picture
  MOUSETARI™
PS/2 Mouse Interface Chip
​

When programmed with the MOUSETARI firmware, a Microchip PIC MCU turns into a PS/2 to Atari ST or 8-Bit (400, 800, XL, XE) mouse converter. And although originally intended for internal installation, it could easily serve external plug-in applications.

​Features
  • Microsoft Intellimouse PS/2 Input
  • USB/PS2 Multi-Protocol Compatible
  • Atari ST Quadrature Encoder Output
  • Selectable Mouse-to-Joystick Porting
  • Hardware Acceleration​​
  • Hot Pluggable
  • Planned Future Upgrade: changeable resolution (currently fixed at 400 dpi)

Picture
Picture
 

Programmed PIC16F1847 MCU Chip Pin-Out

​
​      XA0
 = Channel 1 Encoder XA Out   to:  Joystick 1 Pin-2
      XA1 = Channel 2 Encoder XA Out   to:  Joystick 2 Pin-2
      XB0 = Channel 1 Encoder XB Out   to:  Joystick 1 Pin-1
      XB1 = Channel 2 Encoder XB Out   to:  Joystick 2 Pin-1
​

      YA0 = Channel 1 Encoder YA Out   to:  Joystick 1 Pin-3
      YA1 = Channel 2 Encoder YA Out   to:  Joystick 2 Pin-3
      YB0 = Channel 1 Encoder YB Out
   to:  Joystick 1 Pin-4
      YB1 = Channel 2 Encoder YB Out   to:  Joystick 2 Pin-4

      L-BTN0 = Channel 1 Left Button     to:  Joystick 1 Pin-6
      L-BTN1 = Channel 2 Left Button     to:  Joystick 2 Pin-6
      R-BTN0 = Channel 1 Right Button  to:  Joystick 1 Pin-9
      R-BTN1 = Channel 2 Right Button  to:  Joystick 2 Pin-9
​
      J0 and J1 = Joystick Port Selection  to:  Switch or Logic
       
      VDD = +5 VDC                    Connect to:  Joystick X Pin-7
​      VSS = Ground                   Connect to:  Joystick X Pin-8
​
​     Revised December 12th, 2018 -- fixed error for XA and XB connections
 For plug-in applications, J0 can be left unconnected (has internal pull-up),  J1 gets grounded, and then wire Channel 1 connections to a D-Sub9 female plug. For internal connection example, check out the 1088XEL 0r 1088XLD page and download the schematics.
Where internal installation is to be implemented, all Joystick related connections should be made behind in-line resistors so as to protect the PIC chip outputs from a direct short in the event that a Joystick were to be plugged in and toggled. An easy way to accomplish this would be to trace the Atari's Joystick pins to where they tie into a resistor on the motherboard, and then connect the opposite side of that resistor to the appropriate PIC chip I/O pin (see Pin-Out Chart above).

Picture
In Circuit Serial Programming Connections
Picture
Best Mouse to use with MouseTARI --- Logitech M-SBF96
The M-SBF96 is a true optical mouse, with a resolution of 400 dpi. Usually found in black, but also available in a white (creme) color which is a better match for the XL or 1088XLD.

Logitech M-SBF96 can be sourced from eBay

Programming the PIC MCU Chip

The MOUSETARI firmware needs to be programmed into the PIC MCU in order for it to become the MOUSETARI chip. To do this, you first need to download the zipped firmware file. It contains the FlowCode source, the Microchip Hex Machine Language file, and the Program Flashing ATR which can be used with the JOY2PIC programming adapter. The hex file is for use in a PIC programmer such as the PICkit3, or any programmer that can flash the PIC16F1847. However by far the easiest method is to use the Atari-JOY2PIC solution. In either case you will need to connect the programmer to the chip via its ICSP lines (there are 5 connections required --- see diagram). The JOY2PIC-STIK's ZIF socket makes this a cinch.

This firmware release is a fully working version which I feel is even closer to what the envisioned final version will be like, and incorporates a fix for one of the mouse button inputs not tri-stating when that channel was deselected. For the time being the resolution feature that was in some of the beta versions has been removed until such time that it can be implemented in a more proper way. However the feature where the Middle mouse button press sends a simultaneous Left+Right button press was retained.

Hot Plugging now supported in a limited way, with a slight delay as it rediscovers that a mouse is present.

Works with either 400 or 800 dpi mice, with the higher resolution creating a correspondingly faster movement.

Here is the current MouseTARI Firmware (Still Beta)

Mousetari_v1.2_firmware.zip
File Size: 57 kb
File Type: zip
Download File

Picture
Follow the discussion at AtariAge
PS/2-to-A8 (ST Emulated) Mouse...


Powered by Create your own unique website with customizable templates.