Replies: 11 comments 12 replies
-
Patrick, You're right about 'LOOP'. It's for the loop interface where the external key and sounder are connected in series. 'KEY & SOUNDER' is for a key and sounder that are connected independently, with the sounder controlled by a simple sounder driver circuit. The difference between the two is in 'KEY & SOUNDER' mode the MKOB software causes the sounder to follow the key, while in 'LOOP' mode the loop is powered constantly (except when Morse is received from the internet or sent on the keyboard). The pin connections for key input and sounder output are the same in both cases: DSR (not DTR) for key input and RTS for sounder output. 'KEYER' interface is similar to 'KEY & SOUNDER' except, as you said, the DSR line generates automatic dots and the CTS line is for manual dashes. This allows a keyer paddle to be used as a simulated bug. We've talked about a fourth interface type which would accommodate the Raspberry Pi's GPIO pins. @AESilky can provide more details on this. An open question is whether the GPIO interface option would always assume a loop interface, or whether it should also work with a sounder driver and maybe even a keyer paddle. I don't have strong feelings one way or the other. 'Invert Key Input' only makes sense in 'KEY & SOUNDER' mode. The way @AESilky is using this option, however, the sounder output should not be inverted. If anyone wanted to actually connect to a dialup modem, then the sounder output would have to be inverted as well. I think this is an unlikely scenario, but for completeness maybe we need an 'Invert Sounder Ouput' option as well. ~Les |
Beta Was this translation helpful? Give feedback.
-
This is in response to the whole thread which showed up in my inbox this morning. I don't know if this is the proper way to do so but here goes.
I'll pause here to catch my breath ;-) 73, Chris |
Beta Was this translation helpful? Give feedback.
-
Chris, Don't you think a custom client for museum applications makes more sense than trying to make MKOB 4 bulletproof for unattended operation? Something where docents wouldn't even have a keyboard or mouse to get themselves in trouble. Any software support would be done by remote login by someone who knows what they're doing. ~Les |
Beta Was this translation helpful? Give feedback.
-
[ Chris, I'll respond to the "Config/Preferences"-related comments in the other thread ] I think I understand "KEY/SOUNDER" vs. "KEYER" - whether to use a single "DSR" input or separate dot/dash inputs on "DSR/CTS" I'm still not sure I understand the practical impact of choosing "LOOP" vs. "KEY/SOUNDER". Either way, input is coming from two pairs of RS-232 signals, no? Asserting "RTS" (vs. "SG") to generate sounder output, and looking for "DSR" (vs. "SG") for key input? Isn't it the loop interface's job to interrupt loop current on sounder output and translate breaks in loop current into signals on DSR? Or are the serial port's (perhaps after translation to/from USB) interpreted differently depending on whether MKOB is running the interface in "LOOP" mode vs. "KEY/SOUNDER" mode? Is there an electrical different in expected behavior? |
Beta Was this translation helpful? Give feedback.
-
Hi Les,
On Dec 28, 2020, at 12:27 PM, Les Kerr ***@***.***> wrote:
The difference between 'LOOP' and 'KEY/SOUNDER' is more theoretical than empirical. The idea is to keep the loop constantly powered in loop mode, so the sounder faithfully follows the opening and closing of the key.
… but does the PROGRAM behave any differently? If you select “LOOP” does it keep the sounder output active the whole time, or something?
If you use a loop interface in 'key & sounder' mode, then the sounder is also subject to any lag that exists in the software. I've never done any tests to see how much of an issue this is, although I've often wondered about it.
Are you saying in “Key & Sounder” mode the sounder is activated only when there’s output?
Thanks!
-Patrick.
… —
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#211 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ALTAYKYNZUX6LSG4KJO3TWTSXDSZ7ANCNFSM4VLMPAVA>.
|
Beta Was this translation helpful? Give feedback.
-
Yes, the program does behave differently in Loop mode versus Key & Sounder mode. In Loop mode, the RTS line is always positive (I hesitate to say 'high', because RS-232 terminology is backwards), even when the key is open. So the loop is always powered, although no current will flow when the key is open (obviously). This is normal telegraph loop behavior. In Key & Sounder mode, the RTS line is negative whenever the key is open, and positive when the circuit is closed. That's what allows the sounder to follow the key when the key and sounder are connected separately, and it's the main reason the Key & Sounder mode exists. A side effect of this is that in Key & Sounder mode, the sounder output reflects the contact debounce filter that's applied to the key input. I don't know if that's a pro or con. |
Beta Was this translation helpful? Give feedback.
-
I like to say 'energized'. In LOOP mode the sounder is always energized except when an external station has the circuit open. In that case the sounder is de-energized and energized to follow the opening/closing of the circuit by the external station (by the station sending code). As @leskerr said, keeping the sounder energized (as long as the external stations have the circuit closed) allows the serially connected sounder (for example a KOB) to follow the key when the local circuit-closer is open. |
Beta Was this translation helpful? Give feedback.
-
Hi Ed,
Yeah, I like “Active” or “Asserted” as a neutral term. I wonder if I have the signals listed correctly (hope this table comes through)?
![image](https://user-images.githubusercontent.com/48630827/103269483-ce36f000-496a-11eb-9ae3-8a79665415c8.png)
“DTR” makes sense for key input but I’m confused why DSR and CTS, which normally are signals from the computer TO a terminal, are specified for dot/dash inputs?
And “RTS” seems similarly inverted - shouldn’t that be an signal INTO the computer?
Thanks!
-Patrick.
… On Dec 28, 2020, at 11:05 PM, Ed Silky ***@***.***> wrote:
I like to say 'energized'.
In LOOP mode the sounder is always energized except when an external station has the circuit open. In that case the sounder is de-energized and energized to follow the opening/closing of the circuit by the external station (by the station sending code).
As @leskerr <https://github.com/leskerr> said, keeping the sounder energized (as long as the external stations have the circuit closed) allows the serially connected sounder (for example a KOB) to follow the key when the local circuit-closer is open.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#211 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ALTAYKYE3DPQXNXBUEJWSG3SXF5RZANCNFSM4VLMPAVA>.
|
Beta Was this translation helpful? Give feedback.
-
Patrick, I hope I can clear up the confusion here (without further muddying things). It looks to me like all the entries in the To and From columns of your table are reversed. For example, the RTS line goes from the computer to the interface to control the sounder. Also, the DTR line is not 'key input', per se. It's nothing more than a constant source of positive voltage from the computer to the key. One line that doesn't appear in your table is TxD on pin 3. It provides a constant negative voltage from the computer to the loop interface for the minus power rail of the op amp comparator. Maybe the confusion comes in because in this case the computer plays the role of the DTE (data terminal equipment) in RS-232 terms, while the interface is the DCE (data communications equipment, or modem). If you're thinking of the interface as being a terminal connected to the computer, that could be where things got switched around. I hope this helps... ~Les |
Beta Was this translation helpful? Give feedback.
-
First off, I too like the terms "energized/de-energized" for the sounder and loop circuit. As to the RS-232 signals, I've spent most of my life since the mid 60's dinking with DTE-DCE links so know it like the back of my hand but as they say a picture is worth a 1000 words so here's a link which shows both 9 pin and 25 pin pinouts and the direction of signals: I'm not sure its part of this thread but I see two interface "types": "serial" and "parallel" where at present (at least :-) "parallel" only refers to the possibility of using the data pins on the Pi. This is separate from whether the interface "mode" which is "loop" or "normal" (key/sounder). These should be separate configuration options and like wire number, WPM and station ID as well as server address all of these should be sticky for that individual instance of MorseKOB. 73, Chris |
Beta Was this translation helpful? Give feedback.
-
I second Chip's idea of using mark/space for the two signal states. After all its original to the Morse telegraph and I've been using that terminology now for about 55 years both for work and play so am quite familiar with it :-) |
Beta Was this translation helpful? Give feedback.
-
Hi guys,
In trying to collect together all the variables that should be included in a config/preferences panel I found I wasn’t quite clear on all the possibilities for “Interface Type”. I realized there are three possible values: KEY_SOUNDER, LOOP, and KEYER. That’s easy enough to represent using a three-state radio button set since you have to pick one of the options.
I believe I understand what “LOOP” represents - a local loop interface, using a box of the sort Chip Morgan sells, for instance? It interfaces via USB but I assume it essentially looks to the “Sounder” line (RS-232 “RTS”, IIRC) to activate the local sounder and recognizes a local key to generate input into the standard serial input (RS-232 "DSR", IIRC)?
How is KEY_SOUNDER treated differently? Does it not assume a local key connected to RS-232 DTR and a sounder on RTS?
Similarly KEYER - I guess that’s the clue to use DSR for “dot” and CTS for “dash” instead of paying attention only to DSR?
Can someone correct my understanding? I’m curious how “Invert Key Input” applies. I believe it was designed for use with modems connected to the input? Is that meaningful only for a KEY_SOUNDER configuration? Or does it apply equally for LOOP or KEYER configurations? Just out of curiosity, is the output signal similarly inverted when “Invert Key Input” is selected?
I realize that’s a lot of questions in one post but I’d appreciate any and all clarifications you can offer.
Thanks!
-Patrick.
Beta Was this translation helpful? Give feedback.
All reactions