Node Adapter using CMX589A (DV DIGI peater Interface)

V02.06  V02.05   V02.05 & V02.06  Linux tools  Stand alone repeater   Mod. Info.  V06.xx

Notice
V02.06 owner (V05.xx owner): I will upgrade your board to V06.xx (latest version of V06) with free of charge. If you want to upgrade to V06.xx, please contact me. (see Node Adapter Upgrade page)

Some people reported "PTT Problem". This is application problem (not node adapter problem). When weak signal is received, the application does not execute the "PTT OFF command". Scott already fixed this problem his application. But I do not know another applications.

This problem occures under following conditions.
Application executes the "PTT ON command", but application does not send the effective DV stream data to node adapter. Node adapter transmits the pre-bits pattern until adapter receives the efective DV stream. If application does not have effective DV stream, application must executes the "PTT OFF command".


Own program (application) writter:
libusb-win32-0.1.xx user
If you got -5(return code) of PUT_DATA command, please retry same command after 10 20 mSecond. This error code(-5) of PUT_DATA is "TX buffer is full".
libusb-0.1.xx user
If you got -32(return code) of PUT_DATA command, please retry same command after 10 or 20 mSecond. This error code(-32) of PUT_DATA is "TX buffer is full".
libusb-1.xx user
If you got -32 (return code) from usb_control_msg command, the pipe between PC and Node adapter was borekn. If you got this, you could not access the USB driver (libusb-win32 or libusb) more. This conndition occured when you re-executed the former usb command with short interval. You must delay to re-execute at least 1 mSecond (5mSecond or more is fine.). This is the physical requirement (low level layer) of USB interface. (This is not Node adapter problem.) Also, when you will execute the usb_control_msg commands with short interval, you will get this problem. And you must check the return code of all usb_control_msg commands.

Sample source file of echotest program (Linux version for libusb-0.1.xx)
sample.tar.bz2

Linux version of rf_read, echotest, recorder and player are available. Also, settign program is avaialble at V05.52 or later PIC program.
If you make your own internet apllication using this adapter, you must support the jitter buffer and reconstruction logic of UDP packet. Also, you must impute the loss packet. Because, sometimes the UDP packet does not come original sequence and same delay time.

Do not ask me about natool. That is not mine. Fred(PA4BYR) missunderstands the command sequence of my node adapter (my firmware). His program is wrong. Do not use natool for my firmware.

Important notice:
Many people have the trouble of 24MHz Xtal. Therefore, I change the disribution method of the PCB and pre-programmed PIC. I distribute the PCB that is pre-assembled the USB part with pre-programmed PIC only. Also, I will test the condition of PICs before shipping. Price is changed. (See below) S/N Squelch is avaliable on V05.43 or later varsion. No more need COS signal when you use this feature. You do not need another board. You add one registor only.



This photo is V02.05 PCB. Size 100mm x 69.5mm (include the stand alone repeater option.)


V02.06 PCB Information (error fixed PCB)
V02.06 PCB is available.No more available.
Note: Do not use V05.03. Becasue V05.03 has "TX broken problem" and "USB timeout bug".

Price: (Changed)
PCB + main PIC is $26 (preassembled PCB only. include shipping charge).
PCB + Main PIC + Option PIC is $33 (pre-assmebled PCB only. include shipping charge).
Note: Current version of Main PIC is V05.54L. (This version does not support rs232c yet.) And version of Option PIC is V05.02. Those version do not distribute the Hex files of PIC program. I distribute PCB with pre-mouted PIC only. This price does not include the future update fee. New version of PIC has "code protect". So, do not modify this pic. If you do it, all data of pic is erased automatically. Also, this PIC has right owner callsign.

If you have V05.xx PIC, I will offer the newest programmed PIC for $7 (include shipping charge).

No longer abailable.

V02.05 & V02.06 PCB Information
Assembled minimum parts for HotSpot
Now available 5 sets of this board.(11/29/2009) Price is $110 (include shipping charge). If you are interesting this, please contact me.
No longer available.

Main PIC only
price is $26 (include shipping charge).

No longer avaiable

Main + Option PIC
Price is $33 (include shipping charge).

No longer available

Programs for V05.xx (PIC version) Mod. History
Before V05.43L
Default setting program V02.08.2(09/13/2009 include DLL)
Default setting program V02.08.2(09/13/2009 execute only

V05.43L - V05.51L
Default setting program V02.13 (09/13/2009 include DLL) Support S/N Squelch (PIC version is V05.43 - V-5.51)
Default setting program V02.13 (09/13/2009 execute only)

After V05.52L
Default setting program V02.17 (12/10/2009 include DLL) Support Beacon(IDer) and Jitter buffer (PIC version is V05.52 or later)
Default setting program V02.17 (12/10/2009 execute only)

Notice:
If you use S/N squelch, please Auto polarity is unchecked, COS Check is unchecked and S/N Squelch is setted from 100 to 300. (do not set big value.)

RX display program
rf_read V00.04 (RX test program)

Echo test program
execute(V00.03 06/14/09) Audio file for reading
play02.exe (V00.02 05/10/09)

libusb-win32 device driver
  • libusb-win32-device-bin-0.1.12.1.zip

  • include main and option INF files.
    libusb-win32 is same as libusb (linux version). See http://www.libusb.org/

    Linux user
    Linux version of rf_read, echotest, recorder, player and NodeAdapter_Set are available.
    Linux static link version V00.06 for libusb-0.1.12 (12/03/2009)
    You must install the libusb-0.1.12
    Linux version v01.01 for libusb-1.xx (10/10/2009)
    You must install the libusb-1.0.3(not need libusb-compat-xx)


    Connecter Information
    CN1from/to Rig (see below)
    CN2from programmer (PICKIT2)
    CN3USB (main)
    CN4from programmer (PICKIT2)
    CN5USB (option)
    CN6LED 1:COS 2:PTT 3:both GND
    CN7external power from 7V to 9V (see SW7)
    CN8RS232C (see SW8)

    Diagram of connection between RIG and Adapter.
    1Data (to RIG)
    2GND
    3PTT (to RIG)
    49600 bps Input (from RIG)
    5Not use
    6SQ(COS)







    SW1, SW2 and SW3 setting
    Yaese/KenwoodICOMIC-208H/ID-800
    SW1offonoff
    SW2onoffon
    SW32-31-22-3
    Detail Information.
    SW1:
    ON when COS circuit is "open colector without pull up registor",
    OFF when COS circuit is "not open colector" or "with pull up register".
    SW3:
    1-2 (must be SW2 OFF) when COS is reversed signal.
    2-3 and SW2 ON when COS is normal signal.

    Note
    If you use the S/N squelch without COS signal, please uncheck the COS check of PIC default setting.


    SW4, SW5 and SW6 setting
    Normal ModeStand alone repeater
    SW41-2 on2-3 on
    SW51-2 on2-3 on
    SW61-2 on2-3 on

    SW7 setting (Power selection) Correct!
    USB Bus powerExternal power
    SW72-3 on1-2 on
    External power is from 7V to 9V.

    SW8 setting (RS232C signal level. V05.42 supports the received signal of RF.)
    TTL levelRS232C level
    SW81-2 on2-3 on

    PIN assign of CN8
    TTL level1:TX 2:RX 3:GND
    RS232C level4:RX 5:TX 3:GND

    Stand alone repeater setting(Must install option parts.)
    If you use the standalone mode, DV adapter does not accept any PC control via USB. Do not use any PC programs. If you need to modify the deault setting parameter, please set the normal mode.

    1. Must moutted all parts.
    2. Must programed each HEX progam on main PIC and Option PIC.
    3. Jummper pins of SW4, SW5 and SW6 are setted option side.
    4. Must setted "Repeater Callsign" on main PIC using main setting program.
    5. Must setted delay time on option PIC usign option setting program. (200mSec. - 300mSec. is fine.)
    6. Connect power (5V) thru USB connecter.Do not run PC prograum for this adapter.
    7. PTT and Mod. output are connected to TX rig. And COS and Demod. input are connected RX rig.

    Diagram of connection between TX rig, RX rig and this adapter.


    Mod. Information
    S/N readout is too sensitive. Please add following mods. Also, S/N squelch is needed same mods.
    1. Cut the pattern between + of C7 and pin 23 of CMX589A.(photo)
    2. Add 47K between + of C7 and pin 23 of CMX589A.(photo)


    V02.05 PCB Information
    I tested V02.05 PCB. I found one mistake on V02.05 PCB. I will fix it and reorder soon. (06 July 2009) Please wait future announce!See above!

    V05.xx PIC(main) and V05.xx PIC(option) are available now. (This version does not support rs232c yet.)
    Right original owner of V01.00 or V01.01 PCB (You must modify your PCB.):
    Mian PIC is $11.
    Main and option PIC is $16.

    No longer available.
    Your are not right original owner of V01.00 or V01.01 PCB.
    Main PIC is $300.
    Main and option PIC is $350.

    Remark: This version does not distribute the Hex file of PIC program. I distribute the programed PIC only. This price does not include the future update fee. New version of PIC has code protect. So, do not modify this pic. If you do it, all data of pic erase automatically. Also, this PIC has right owner callsign.
    Mod. information for V02.05 PCB
    1. Cut two pattern on the front of PCB.
    2. Cut one pattern on the rear of PCB.
    3. Add three jumpers. (Modified photo)


    For V01.00 or V01.01 board user:
    Current version of main PIC is V04.57L and option PIC is V04.02. (I added "Copyright mark" in the description area".) This version is not bug fixed version. I changed the frame detecting logic. This version is more detectable rather than before. I do not distribute the hex file of this version. I distribute the programmed PIC only.

    Right orignal owner of V01.00 or V01.01 board:
    Main PIC is $11 (include shipping charge). Main + Option pic are $16 (include shipping charge).
    Others:
    Main PIC is $100 (include shipping charge). Main + Option pic are $150 (include shipping charge). I do not know this version works on the third party board or does not.

    Note:
    PIC of this version has "code protect". Therefor, you can not read out the program code. If you do it, all data (program and data) will be erased automatically.

    No longer available.


    Last Modified 12/28/2009
    Copyright © 2008-2009 All Rights Reserved.
    Satoshi Yasuda 7M3TJZ/AD6GZ
    E-mail: 7m3tjz@arrl.net