Alan RMD 1200 with Baycom KISS interface

After enhancing my Baycom modem with a KISS interface it was time to do the same ‘trick’ to an Alan RMD 1200 modem. This modem is also a ‘Baycom style’ design except for some minor differences.

The main goal was also to expand the modem with a KISS interface. Just for an increased compatibility / usage level and not being stuck to old OS-es or Linux only. Al lot of people have them laying around somewhere but can’t use them because they simply won’t work on more modern Windows operating systems.

Recently I had a look at the Alan RMD 1200 schematic diagram and noticed a slight difference compared to a standard ‘Baycom style’ modem. This affects how the KISS interface should do the PTT signalling to the modem’s circuitry. It needed to be inverted and all 3 signals must be connected directly to the TTL level in/outputs. The interface can’t be used at the RS-232 side of the MAX232 driver IC due to different voltage levels.

Because the MAX232 inverts its inputs and outputs – just like the 74HC04 on a standard ‘Baycom style’ modem – it needed a slight modification in the KISS interface’s firmware to invert the PTT signal output. For ease of installation I think it was the best option.

Therefore there are 2 versions of the Baycom KISS interface firmware currently. One for all Baycom modems with a standard inverted buffer IC (mostly 74HC04) like in my previous post here. And one for modems with a MAX232 EIA-232 driver IC like the Alan RMD 1200 has.

Enough background info for now I think, let’s walk through the DIY process of the Alan RMD 1200’s modification a bit.

I first started to make some sort of fixture to mount the Pro Micro PCB to the backplate of the Alan RMD 1200. Just used some solderable material I had laying around… The micro USB connector itself is the most fragile component on such PCBs like a Pro Micro. That’s the reason I soldered the connector (carefully!) to the PCB material. It provides minimum mechanical stress on the micro USB connector’s solderings itself when inserting or disconnecting the cable.

A bit of measuring, drilling and filing at the backplate… Resulted in the following mount.

For some ease of installation (and didn’t like to solder directly onto the MAX232’s pins) I disassembled the modem and soldered the 3 signal wires to the corresponding IC (fitting) pins at the back according the diagram below. The MAX232 can still be swapped/removed without de- or re-soldering any of the wires in this case. I mention ‘in this case’ because most RMD 1200’s do not have IC fittings. If you need to solder directly to the MAX232 IC’s pins, be careful and solder nicely to not overheat the pins and damage the IC.

I also cut the RXD LED’s anode (+) trace on the back of the small PCB (red X mark on schematic). The RXD LED’s function isn’t quite representative in a standard RMD 1200. Even with open squelch noise or any other audio fed into it, it will light up as if there’s RX data due to the design and TCM3105.

Therefore I connected the RX LED’s anode to the DCD LED output (6) on the KISS interface through a 470 ohm resistor. I thought that would be a more representative function as the KISS interface has an open squelch DCD built-in and can light a LED when it receives legitimate packet radio data.

There’s also a 470 ohm resistor on the main PCB, you can cut and use that one too instead of adding one as I did.

Ok, that’s a bit about the installation. It’s just like a standard Baycom style modem pretty easy and very straight forward and it only needs 5 wires for proper functioning and 6 wires including the RXD LED modification.

This is the overview and schematic of the connections for the KISS interface addition:

FunctionPro MicroAlan RMD 1200
GroundGNDAny ground point. Ex: Center pin (2) on the 7805 Vreg.
+5VVCCRight pin (3) of the 7805 Vreg.
RX data2Pin 10 @ MAX232 socket.
TX data3Pin 9 @ MAX232 socket.
PTT4Pin 12 @ MAX232 socket.
DCD output6RXD LED anode through 470 ohm resistor.
Right click -> Open in new tab for a bigger image

After installing I’ve connected the modem with a micro-USB cable and uploaded the firmware’s .hex file by using the Freematics Arduino Builder tool. You also need to install the Arduino IDE which contains drivers to recognize the bootloader for programming. When programming you need to select an Arduino Leonardo @ 16MHz in the Freematics Arduino Builder tool. The Pro Micro is programmed with the Arduino Leonardo bootloader by default.

After successful programming the firmware a PC/laptop should install a new USB serial port (COMx) automatically in modern OS-es. Some OS-es will even notify you’ve connected a Baycom USB KISS interface. Who thought Windows 10 would ever recognize and mention a ‘Baycom’? 🙂

Note: Windows 8.1/10 don’t need any driver install and will recognize the interface automagically and add a generic USB serial port. For WinXP/Vista/7 there’s a driver INF download option below.

Now it’s ready to be used as if it’s a TNC in KISS mode with hardware DCD. Just configure it as a KISS TNC in your packet radio software. No init commands like with TF2.7b / TAPR etc. needed and all COM-port baudrates except 1200 baud can be used for the USB serial port communication speed. 9600 or 19200 will be fine.

Baycom USB KISS interface characteristics:
– Standard KISS protocol communication.
– USB powered modem.
– Utilizes a standard USB CDC serial port.
– No manual driver install needed on modern OS.
– Auto-baudrate selection, supposed to work with any serial interface speed.
– Digital PLL based open squelch DCD built-in, no need for XR2211 or software DCD.
– Optional LEDs for PTT and DCD signalling.
– Firmware (re)programmable through USB bootloader.

For this project a Pro Micro board (Arduino or clone) with ATmega32U4 is needed. Make sure you use the 5V 16MHz version.

9 thoughts on “Alan RMD 1200 with Baycom KISS interface

  1. Ha die Dave,

    Wat een heerlijke bouwbeschrijving en wat een gaaf project. Ik ga dit zeker ook doen en zal je waarschijnlijk nog wel een [aar vragen afvuren…..

    In ieder geval ga ik jouw bouwbeschrijving uitprinten en alvast klaarleggen om aandachtig door te lezen en dan uit te voeren.

    73 Ruud

  2. Ha die Dave,
    Ik heb de interface besteld en ga zodra hij binnen is aan de slag. Ik heb jouw verhaal even in een pdf gegoten vindt je het goed als ik die beschikbaar maak in de bestanden op de FB pagina van packetradio groep?

  3. Dave,

    Als ik de Pro micro aangesloten heb dan werkt het RMD1200 modem toch niet via de prik van de USB poort of wel?? Dat was toch alleen het geval bij een baycom modem? Als je de usb aansluit op de rmd1200 steekt hij dan wel genoeg naar binnen in de connector? Ik ben bezig met dat printje voor de mounting van de pro micro en ben aan het kijken of het ook op een andere manier kan maar ik zie weinig mogelijkheden omdat de pro micro zo klein is…

    73 Ruud PD0RH

    1. Jawel werkt via prik van de USB poort, kijk maar eens naar het aansluitschema. De USB aansluiting voedt Pro Micro en RMD 1200 modem. Dat is zowel bij een Baycom modem als RMD 1200 het geval.
      Een standaard micro-USB kabel steekt voldoende naar binnen wanneer je afgevlakte schroeven gebruikt die verzonken zijn in het RMD 1200 chassis. Dikte van het chassis is precies de marge die je hebt.

      73! Dave

      1. Ok maar dan zou je dus alles wat voor de 8705 zit weg kunnen halen? Als deze mod is uitgevoerd dan is het dus niet meer mogelijk om de RMD via de compoort te laten werken? Want dan zou de pro micro vanaf de 8705 5v krijgen of zie ik dat verkeerd…

        Die marge voor de USB stekker had ik inderdaad al gezien, dat past precies samen met de dikte van het gaatjes print voor montage van de usb connector..

        1. Beter om even te mailen wellicht, maar je hoeft niets voor de 7805 weg te halen, je kunt dan nog steeds de RMD via COM-poort laten werken. Het is dan OF micro USB OF RS-232.

  4. Hello Dave,
    I cannot upload the firmware to the Adruino Leonardo with the Adruino Builder! I always get the error message “uploading not succesful (errorcode -1)”!
    Can you help me with what I’m doing wrong?

    Thanks, 73 and a HAPPY NEW YEAR!
    Rudi

Leave a Reply to Dave Cancel reply

Your email address will not be published. Required fields are marked *