The CDTV is essentially a Commodore Amiga 500 home computer with a CD-ROM drive and an infrared remote control. With the optional keyboard, mouse and floppy disk drive, it gained the functionality of a regular Amiga. Commodore overestimated the success of the CDTV and pre-ordered a large number of remote controls. That is why new-old-stock remotes are still available at a very reasonable price today.
This gave me the idea of developing an adapter that allows this infrared remote control to be used with any Amiga model, not only the Amiga CDTV.
The first step was to analyse and decode the infrared signal transmitted by the CDTV remote control. Technical specifications are hard to find, so I decided to buy a remote control and analyse it with AnalysIR.

After a thorough analysis of all the signal information, I wrote an interrupt-based program for the Atmel ATmega328 microcontroller that receives the infrared signals, decodes them and sets the corresponding pins on the joystick or mouse port to low or high accordingly. A switch on the remote control lets you choose between mouse and joystick mode. Generating the mouse signals is a bit more challenging: the Amiga expects a quadrature signal in which the mouse speed determines the interval of the signal. I achieved this steady signal generation with an interrupt routine that is called every 2.5 ms. The rest of the time, the CPU is busy receiving and decoding the incoming infrared signals.
I have made all project data publicly available on GitHub:
- CDTV Adapter PCB (Eagle CAD)
- CDTV Adapter Parts List (BOM)
- CDTV Infrared Protocol Implementation (Arduino Library)
- CDTV Adapter Firmware 1.0.1 (Arduino Sketch)
- 3D Housing Model for 3D Printing (STL File)
- 3D Housing Model for MoI (Moment of Inspiration)