Keyboard Shortcuts
Likes
- D-Rats
- Messages
Search
Re: D-RATS with IC-5100
Have you ever tried a DStar Radio that has both a USB data cable and a dedicated data port? Such as the Icom 7100? I'm betting no. If you had, you would have seen the behaviour I described.?
This is most noticable in DRats chat, which has no error correction. Send a long (couple hundred words) text messages on chat both ways and watch the radio. |
Re: D-RATS with IC-5100
On 5/19/2025 9:29 AM, Michael Mandell via groups.io wrote:
<snip> With a normal USB cable, serial transmissions are broken intoIt should not be doing that unless somethings is wrong. Yes the USB breaks up the serial data into chunks, but it can fit an entire d-rats packet into one chunk. What USB is doing is delaying sending any characters until its buffer reaches fixed mount, or there is a very small time that no additional characters are added to the buffer. The radio has an XON/XOFF handshaking to slow D-Rats down to the speed that the radio can accept. With the RT Systems cable and the radio data port, serial is a I called Icom on this and got a support guy in Texas who explainedI don't think you fully understand how that works. D-rats transfers data to and from a USB serial port at a rate of about 30 Megabytes per second. In addition that transfer from the USB serial is done with what is known as a DMA transfer. Which means that it does hardly stresses your CPU utilization at all. That means only one interrupt per transfer. Interrupts are costly for a PC to process, because it has to save context, process the interrupt and then restore it. The computer does this every time you do I/O except for screen writes. Most devices on your computer use DMA transfer. On a "standard" older PC that still has a serial port, it has a very small buffer and must interrupt the PC once it has either filled the buffer or emptied the buffer. So at best, it is processing one of those interrupts on every two characters transferred. D-Rats sends/receives around 200 bytes per transfer, so that is at least 100 interrupts per transfer. Now most people don't load up their PCs to the point where that makes a difference. But your PC can handle at least 20 times the number of USB ports running flat out with data than the maximum number of "standard" serial ports it can support. And it was hard to even add enough "standard" serial ports to cause a strain on the last models of PCs that had them available. Yes, USB delivers the first character in a bunch of characters slightly slower than the serial port. If you get a good enough analyzer you can see that easily. However your computer is working much harder to deliver that data on using the older serial port. So use what ever cable you want to use. 73, -John |
AI and D-Rats Conversion
I have seen some interesting stuff lately on people using AI software to write programs/scripts. One seemed to be regarding "FreeDV" digital voice (M17 is based on the same codec for UHF/VHF). A developer was using Python as a temporary port to Windows and seemed to be generating code with the help of AI.?
I'm an idiot regarding ChatGPT, CoPilot, etc. but I've heard Copilot, at least, can generate working code very fast.?
What I''m wondering is if this stuff could help in the conversion of D-Rats from the obsolete Python version to the current one. Anyone look at this??
Just curious.? |
Re: D-RATS with IC-5100
I've used an IC 5100 for several years with D-Rats. I have used both the Orange RT Systems cable and bluetooth module in the radio. Both work. I currently use bluetooth only.? My mobile 4100 uses bluetooth in the car for both D-Rats and the android app. The ID52 HT has bluetooth and can also use D-Rats. The 7100 can use a normal USB cable (sort of--see below) or the Orange RT Systems cable (better).? With a normal USB cable, serial transmissions are broken into packets, so your radio will transmit D-Rats serial data in chunks. It goes on and off in xmit to get the whole thing out. With the RT Systems cable and the radio data port, serial is a continuous stream and it goes out in one shot. I called Icom on this and got a support guy in Texas who explained the whole thing to me. Both work, but the orange data cable (Icom has one, too, but it costs way more) is a better solution.? |
Re: D-RATS and VARA?
On 5/11/2025 10:35 AM, John E. Malmberg via groups.io wrote:
On 5/9/2025 6:08 AM, Facundo Fernandez-KK4ODA via groups.io wrote:Actually the relevant document is:Hello, I have seen posts of hams using D-RATS with FLDIGI modesFinally found this document: 73, John wb8tyw |
Re: D-RATS and VARA?
On 5/9/2025 6:08 AM, Facundo Fernandez-KK4ODA via groups.io wrote:
Hello, I have seen posts of hams using D-RATS with FLDIGI modesFinally found this document: However, I tried this using the default command port of 8300 withObviously I have no experience except from looking at the source code, but D-Rats generally does not send commands to TNCs and other Packet type modems. It assumes that they are already in either the AX25 or the KISS mode and only connects to them over what is presented to D-Rats as a serial device. For VARA the above documentation says to use port 8100 for KISS mode. As far as a modem is concerned KISS mode can also handle AX25 packets because in KISS mode just a raw 8 bit stream is sent over the radio. This should work for AWGPE, as D-Rats seems to assume that the connection can handle AX25 frames, and parses the connection commands from the AX25 frames. So far I have not found the username and password fields for the AGWPE connector used anywhere. 73, -John |
Re: D-RATS and VARA?
On 5/9/2025 10:01 AM, David Ranch via groups.io wrote:
I would think that D-RATS could be enhanced to work with D-RATS but it shouldn't be done via the old school KISS interface.? It would need to be done via the VARA native interface.I have done a bunch of searching this morning and can not find anything that tells me anything about the VARA native interface or the KISS interface. D-Rats implementation of Winlink seems to be limited to some message passing, not for chat. D-Rats has basically these major modes of communication. Repeater, after login, it just sends/receives its DDR2 Yencoded packets over a network connection. Serial port: It just sends and receives its DDR2 Yencoded packets over the serial link and any radio modem that can pass through serial data will work. AX25 mode: It sends/receives AX25 packets via the serial port or the AGWPE socket. Inside the packets is a DDR2 Yencoded packet. KISS Mode: Looks like it just sends and receives DDR2 Yencoded packets through the serial port. Not sure if it can do that with the AGWPE interface. Yencoding is needed for D-Star radios because the serial port is also used as a remote control for the radio and Yencoding filters out binary that could be interpreted by the radio. If only sending data over a serial or network link is needed, the hardest part of modifying D-Rats is the way the current configure GUI is implemented and the glade tool that should allow customizing it easily is refusing to cooperate. 73, -John |
Re: D-RATS and VARA?
¿ªÔÆÌåÓýI would think that D-RATS could be enhanced to work with D-RATS but it shouldn't be done via the old school KISS interface.? It would need to be done via the VARA native interface.?? If someone is looking for D-RATS like functionality but for VARA, check out VARAC: ?? It implements a lot of similar concepts in D-RATS, FSQ, etc. The interface is a bit complex but you get used to it.? It and both the VARA-FM or VARA-HF modem programs run fine under Wine for Linux and Mac users.? The tool automates all that installation which makes it a snap. There is also vARIM tool as well which is very powerful but more complex: ?? --David KI6ZHD On 05/09/2025 07:44 AM, Jeff Scoville
via groups.io wrote:
|
D-RATS and VARA?
Hello, I have seen posts of hams using D-RATS with FLDIGI modes instead of DSTAR. I have tried this with various degrees of success. It occurred to me that it may be possible to run DRATS with VARA as a modem. However, I tried this using the default command port of 8300 with no success. I know this is a long shot, but has anybody tested this configuration succesfully? |
Re: Hesitant to get into D-RATS
We, SHARP, the Sheriff's Amateur Radio Program use D-Rats over DSTAR at the local air shows.? The reason, it is so noisy, you are almost wasting your time trying to talk back and forth between the medical stations.?? Most of our communications are simplex, over 2M, but we can utilize our DSTAR repeater on Carpenter Hill in Folsom, Ca. If necessary we can also print the messages on paper and hand them to someone.? Many of the calls we get are for lost children, more likely, the children know where they are, it's the parents who are lost. Jim - SHARP50 - k6nra
------ Original Message ------
From: "Jack Spitznagel (KD4IZ)" <kd4iz@...>
Sent: 5/5/2025 3:17:44 PM
Subject: Re: [d-rats] Hesitant to get into D-RATS DRATS uses several types of net linkage, including internet and RF. It does not have to speak DSTAR data. Best approach is to start with the most recent version 3.x and play with it while reading through some of the old documentation (in the files section) to get the basic set up. Ask questions here. |
Re: Hesitant to get into D-RATS
¿ªÔÆÌåÓýDRATS uses several types of net linkage, including internet and RF. It does not have to speak DSTAR data. Best approach is to start with the most recent version 3.x and play with it while reading through some of the old documentation (in the files section) to get the basic set up. Ask questions here.Jack On May 5, 2025, at 16:50, John - KN4BLF via groups.io <KN4BLF@...> wrote:
|
Re: Hesitant to get into D-RATS
¿ªÔÆÌåÓýJohn,?Not at all. D-RATS has many uses aside from EMCOMM. It is independent of DSTAR or even RF if you want to use it that way. Too many ways to use it to describe here. Download it, use it, discover what you can do with it. If you like it, keep it, if not uninstall and forget it. Jack KD4IZ On May 5, 2025, at 13:03, John - KN4BLF via groups.io <KN4BLF@...> wrote:
|
Re: Hesitant to get into D-RATS
Ahhhh Lots a good reason! Hello George Kirn had contact with this data. On Mon, May 5, 2025 at 7:49?AM John - KN4BLF via <KN4BLF=[email protected]> wrote:
|
Hesitant to get into D-RATS
Hello to all and thank you for letting me join this group. As someone that is fast becoming a keyboard to keyboard only ham, I am interested in D-RATS. I don¡¯t yet own a D-STAR radio but I would consider an ID-5100a if I could be sure that there is enough activity to justify the expense. Please advise and thanks in advance for your help.
73,
John KN4BLF |
Warning about wiring 9 pin / 23 pin TNC data ports, unexpected short circuit.
Hello all,
In doing some research on improving the D-Rats I have discovered a hardware error which seems to be in a number of TNCs. I have found this documented (not as the hardware errata that it is) in two different PAC-COMM TNC manuals and in an MFJ TNC manual. If you are generally using only the quick wiring of RX data, TX data and signal common on the packet modems then you should be OK. If you are using the "non-standard" wiring documented in the TNC manuals they you also should be OK. But who bothers to read the manuals in detail? And when you see a 9 pin or 23 pin serial port, you may just plug in a standard wired cable like common ribbon base cables. If you are using a standard full wired cable you could be in danger of burning out the serial port on your computer or causing other damage to the or USB serial adapter. Someone made a big mistake about those signals and it looks like everyone copied them instead of correcting it. The TNCs are expecting the custom non-standard cable where the CTS signal from the computer is wired both to TNC CTS signal and the TNC DTR signal. And that the cables do not have anything connected to pins 9 and 10 of a 23 pin connector. This is not the way that off the shelf standard full signal cables are wired, either have all signals wired straight through or the common MODEM subset of 9 wires wired straight though. Worse is that TNCs may be incorrectly shorting CTS and DTR signals together inside the TNC, as documented in the PAC-COMM TINY TNC-2 which stated that it is based on the TAPR reference model. That is one of the things that can burn out your computer! And also that if the cable has a 23 pin connector, that pins 9 and 10 are not connected, since the TNC may be unexpectedly providing power signals to those pins, which are defined in the specification as reserved. This should be ignored, but if the computer is doing something non-standard on those pins, that could cause a problem. Why this is a problem, is what the standard computer interface is supposed to be doing: The DTR pin when you are not using the serial port should be setting the DTR and the CTS signal to a value of about +3 to +15 volts. When a program is running using the serial port, the DTR signal is typically set to about -3 to -15 volts. The CTS signal when hardware handshaking is disabled should also be set to -3 to 15 volts, but may be left at +3 to +15 volts, which when using a standard wired cable is a short circuit of up to 30 volts. When hardware handshaking is enabled, the DTR signal stay at the -3 to -15 volts, and the CTS signal can periodically alternate between the positive range and negative range, which is an intermittent short circuit of up to 30 volts. It is on the expensive computer side where the damage can occur. There are about 2 to 4 different documented ways (3 wire and 9 wire) that 9 and 23 pin connector serial connectors should be wired that will work 99.9% of all devices. There are seems to a very small number of devices that need special wiring because the hardware designers did not implement the specification correctly. So far I have only encountered one commercial printer, and some TNC modems that require a variant from a standard cable wiring. And also because people do not bother learning and following the specification there are hundreds of wiring diagrams on the Internet for 9 and 23 pin serial port connectors, with most of the 3 wire implementations missing jumpers for DSR/DTR and RTS/CTS signals on the 9 or 23 pin connector side. And now I need to make and keep track of special cables for my older TNCs, so that I can test them in AX25 and KISS modes. 73, -John wb8tyw |
Re: D-Rats Issues
Hi John,
?
Thanks for the reply.? Slow is ok with me.? Staying busy over here so I haven't gotten back to DRATS yet.?
From what I've found on github, I need to use the MobaXterm to install the newest version. Seems the other way is looking for something in GUI that it can't render or something. I'll try that soon and get back with you.
?
Tommy
? |
Re: D-Rats Issues
¿ªÔÆÌåÓýHi Tommy: Sorry for th4e slow reply. I was teaching a couple of FEMA Communications classes when you sent your first email and I¡¯ve been slow to catch up. ? Reading your email, I¡¯m not sure of the error you¡¯re getting. I run 0.3.9 on Windows 10 and 11 PCs. Yes, the original versions are buggy, but it should be working. I don¡¯t have any experience with the Evolve laptops so I¡¯m not sure where to direct you. ? I do know that if OneDrive is active when DRATS is installed, the install will fail. Disable OneDrive if it is active, install DRATS and then you can turn OneDrive back on. ? I don¡¯t know if that is an issue, but keep me posted. ? John WB4QDX ? From: [email protected] <[email protected]>
On Behalf Of Tommy Beene - KD4CHW via groups.io
Sent: Tuesday, April 15, 2025 12:09 AM To: [email protected] Subject: Re: [d-rats] D-Rats Issues ? Thanks John.? Hope you're doing well..? Missed seeing you at Huntsville last year. I sent you an email concerning the beginning of the DRats journey back on 4/02.? Probably went into your junk folder (where it belongs hihi).? Since then I have done all I can think of to find the errors and correct them in the code.? Nope...can't find them.? I'm stuck.? It really wasn't work all the work but the challenge sucked me in.? So I will use 3.9 on the old $50 Evolve laptop and wait for DRats 2 to use it on my Windows 11 machine.?? ? 73 Tommy KD4CHW |