¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Kenwood CAT to relay example.json Serial Port Success


 

Take a look at my Tuner Genius flow in the wo2x folder. I used the ui template on that flow.

Dave wo2x

Sent from my waxed string and tin cans.

On Aug 13, 2021, at 11:09 PM, Dave / NR1DX <manuals@...> wrote:

?And those are in the files area on the group.io page? Or out on the web somewhere?

Dave
NR1DX

On 8/13/2021 11:02 PM, David De Coons wo2x wrote:
I use UI template nodes for buttons. Much nicer.

Dave wo2x

Sent from my waxed string and tin cans.

On Aug 13, 2021, at 10:57 PM, Dave / NR1DX <manuals@...> wrote:
?In the final analysis The key to getting the serial data out of the serial input node was in getting the Input parameters setup correctly.

In my case (YMMV) in the port setup under INPUT parameters
1) "Wait for a start character of <F>, then" . All (recent) Kenwood serial frequency strings start with FA (for VFO A) or FB (VFO B).
2) "Split input <On the character><;>

Once the two changes were made the flow began reading serial data from the radio and putting out the appropriate relay numbers like a champ.

After many fails today I added the GPIO interfaces and by this evening I was setting relays based on the radio frequency

The whole point of this project was to build a home brew automatic antenna switch that selected the correct antenna based on the radio frequency the switch itself was finished several days ago and was running with a "soldering iron programmable" rotary switch box. As of tonight we were activating relays via the Raspberry-PI with node red massaging the radio serial data. A fancy set of desk top computer buttons will eventually cap the whole project off.. Thanks for everyone's help.. especially Dave and Alan

To steal the line from that Garth Brooks classic " I could have done without the pain, but I would have had to miss the dance"

I'm sure I will be back when I start trying to make computer desk top buttons

Dave
NR1DX


On 8/12/2021 1:13 PM, Alan Blind, WA9WUD wrote:
Dave

I have a little experience with using the Kenwood protocol. So just a guess here.

Switch to using the Node-Red Serial Request Node. Set it up as you did the receive Node. In fact, your cable should now be stored as a configuration and show up in the serial request node's pull down com selector.

Put an "inject" Node on the Input of the Serial Request Node. On the inject node, set it to inject a string, "FA;". Inject and watch the output of the Serial Request Node.

"FA;" tells the radio to send the VFO frequency, and it should reply with the frequency.

Alan

On Thu, Aug 12, 2021 at 1:00 PM Dave / NR1DX <manuals@... <mailto:manuals@...>> wrote:

Dave & Alan

OK Dave's cleanup and reinstall routine was 98% accurate and I was
able
to fill in the holes. I now have the all the other USB COM ports
cleaned
out and the FTDI port listed and connected... That is the good news
...the bad news is still no data coming out of the SERAIL-IN node. I
bypassed all the other stuff and routed the output of the SERIAL-IN
directly MSG_payload to see what if anything we were
getting...nothing.

My thinking is correct (verify) that if the SERIAL NODE is now
"connected", and my serial dongle RXD node is blinking when I change
FREQ we should see some kind of string coming out of that node (
ASCII I
suspect)

I will continue to plug away at this but if I don't solve it today
tomorrow at your convenience is fine

Dave
NR1DX

On 8/12/2021 12:08 PM, David De Coons wo2x wrote:
> To delete all the old references to serial ports in the serial
node, double click the serial node. Click the pencil to edit.
Upper left of that window select delete.
>
> Use pull down to select next serial device. Use pencil to edit.
Delete. Repeat for any remaining serial cables.
>
> Then it will prompt to create new. When you were in the
/dev/serial folder, highlight the serial cable in the serial by ID
folder. Right click and select copy path.
>
> Back in Node Red when you open the serial node and create new.
Paste the path you copied for the usb to serial adapter. Set baud
rate. Set timeout to something like 500 ms. It defaults to 10000
ms. This is important!
>
> Sorry if I am not 100% accurate with description. Doing it from
memory while out having lunch.
>
> Again let me know and I can help tomorrow.
>
> Dave wo2x
>
> Sent from my waxed string and tin cans.
>
>> On Aug 12, 2021, at 11:44 AM, Alan Blind, WA9WUD
<a.alan.blind@... <mailto:a.alan.blind@...>> wrote:
>>
>
>
>
>

-- Dave Manuals@... www.ArtekManuals.com
<>

-- This email has been checked for viruses by Avast antivirus software.
<>





--
Dave Manuals@... www.ArtekManuals.com





--
Dave Manuals@... www.ArtekManuals.com




Join [email protected] to automatically receive all group messages.