K3->SteppIR via Network?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

K3->SteppIR via Network?

Martin
Elecrafters,
has anyone done this or has some advice:

I plan to forward the frequency information from my K3 -wich is hooked
to a Windows machine - via Network to the remote SteppIR controler. The
controller connects to a RaspberryPI.
So far, i can redirect the K3's serial output via TCP to a Linux machine
and watch the information using a telnet client. What i'm looking for is
a way to pass this output to a raspberryPI and hook the controller to
the PI's serial output.

I tried ser2net on the raspberry, but no success.
Anyone?

--

Ohne CW ist es nur CB..

73, Martin DM4iM
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Reply | Threaded
Open this post in threaded view
|

Re: K3->SteppIR via Network?

k6dgw
I have not tried this.  But, in one of the early Star Wars movies, the
heroes and R2D2 were in the Death Star, and R2D2 just plugged into a
"network port" and read all the traffic.  After the movie, my wife asked
me, "Can you actually just do that ... your plug fits the socket and it
just happens?"  I replied, "Not in our lifetimes."

Of course now, the phone in my cargo shorts connects to McDonald's WiFi
when I walk in [I do occasionally eat a Sausage Egg McMuffin :-)]
without me asking or even knowing.

I'm sure there is a way for you to do this.  Save my email addr and it
you don't make progress, let me know direct.  I don't know the answer
but I may know some who may know.

73,

Fred K6DGW
- Northern California Contest Club
- CU in the 2014 Cal QSO Party 4-5 Oct 2014
- www.cqp.org

On 11/16/2013 5:27 PM, Martin wrote:

> Elecrafters,
> has anyone done this or has some advice:
>
> I plan to forward the frequency information from my K3 -wich is hooked
> to a Windows machine - via Network to the remote SteppIR controler. The
> controller connects to a RaspberryPI.
> So far, i can redirect the K3's serial output via TCP to a Linux machine
> and watch the information using a telnet client. What i'm looking for is
> a way to pass this output to a raspberryPI and hook the controller to
> the PI's serial output.


______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Reply | Threaded
Open this post in threaded view
|

Re: K3->SteppIR via Network?

Frank Precissi
In reply to this post by Martin
You try something along the lines of netcat?  Since you can look at the
info via telnet client, you can pipe it to netcat.  Netcat will send it
over the network to a listening netcat (on the pi) that you can redirect it
to the serial port that your SteppIR controller.
So in very loose linux speak (since the specifics you give are sorta vague)

On your server that the K3 is on:
cat /dev/serial | nc ip.of.rasp.pi port

On your pi:
nc -v -l -p port | /dev/SteppIR

Where 'port' is whatever port you want to send this across.

Look at the man pages of netcat (nc) for all the neat options that you'll
need to make this work.  I've never passed serial traffic over, but netcat
works for pretty much anything you pipe to it including a raw binary
streams.  Its cool stuff, like a swiss army knife for network communicatons.

Frank
KG6EYC


On Sat, Nov 16, 2013 at 5:27 PM, Martin <[hidden email]> wrote:

> Elecrafters,
> has anyone done this or has some advice:
>
> I plan to forward the frequency information from my K3 -wich is hooked to
> a Windows machine - via Network to the remote SteppIR controler. The
> controller connects to a RaspberryPI.
> So far, i can redirect the K3's serial output via TCP to a Linux machine
> and watch the information using a telnet client. What i'm looking for is a
> way to pass this output to a raspberryPI and hook the controller to the
> PI's serial output.
>
> I tried ser2net on the raspberry, but no success.
> Anyone?
>
> --
>
> Ohne CW ist es nur CB..
>
> 73, Martin DM4iM
> ______________________________________________________________
> Elecraft mailing list
> Home: http://mailman.qth.net/mailman/listinfo/elecraft
> Help: http://mailman.qth.net/mmfaq.htm
> Post: mailto:[hidden email]
>
> This list hosted by: http://www.qsl.net
> Please help support this email list: http://www.qsl.net/donate.html
>



--
CW: NAQCC #6554 | SKCC #10435 | FISTS #16155 | SOC #1038 | FPQRP #3186
Digital: FHC #4224 | 30MDG #6370 | DMC #5698
Gear: K3 #7164 | KX3 #1787
http://vadept.com
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Reply | Threaded
Open this post in threaded view
|

Re: K3->SteppIR via Network?

Mitch Wolfson, DJØQN / K7DX
In reply to this post by Martin
I use serial device servers in remote stations. The ones I use from
Lantronix allow you to also connect via telnet. I have never tried using
them that way, but I would assume that this would solve your problem.

73,
Mitch DJ0QN

On 17.11.2013 02:27, Martin wrote:

> Elecrafters,
> has anyone done this or has some advice:
>
> I plan to forward the frequency information from my K3 -wich is hooked
> to a Windows machine - via Network to the remote SteppIR controler.
> The controller connects to a RaspberryPI.
> So far, i can redirect the K3's serial output via TCP to a Linux
> machine and watch the information using a telnet client. What i'm
> looking for is a way to pass this output to a raspberryPI and hook the
> controller to the PI's serial output.
>
> I tried ser2net on the raspberry, but no success.
> Anyone?
>
>
> --
> Mitch Wolfson
> DJØQN / K7DX
> Neubiberger Str. 21, 85640 Putzbrunn
> Skype: mitchwo - Home:+49 89 32152700 - Mobile:+49 172 8374436
> Echolink: 3001 - IRLP: 5378
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Reply | Threaded
Open this post in threaded view
|

Re: K3->SteppIR via Network?

Martin
In reply to this post by Martin
Thanks to all who responded.

For those who want to know:

Connect the K3 to your Logging-Software.

Run a Virtual Serial Ports Emulator like the one from eterlogic.com.
Create a Splitter for the K3's real ComPort to split it to a virtual
ComPort  COM1 (real) => COM10 (virtual).
Create a Tcpserver to redirect Com10 over the Network.


For the raspberry, make or buy a serial output.
Connect your steppir Controler:
SteppIR Pin2 RXD <-> raspberry TXD
SteppIR Pin5 GND <-> raspberry GND
Connect Pins 7 & 9 at the SteppIR end.

Frank, KG6EYC had the Linux soloution on hand:

As root, set baudrate for the raspberry ComPort:

stty -F /dev/ttyS0 38400

Now, run netcat:

nc ip.of.your.windows port > /dev/ttyS0

where port is whatever you set in the emulator on your windows machine.

Voila.

Not tested yet with the raspberry, but if it runs on my Linux machine it
also runs on the raspi.

Frank, great job and thanks again. Will report ASAP.

--

Ohne CW ist es nur CB..

73, Martin DM4iM
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Reply | Threaded
Open this post in threaded view
|

Re: K3->SteppIR via Network?

Martin
In reply to this post by Martin
Elecrafters, Frank, Ben

Just wanted to inform you:
It works.
Got some parts to make a Manhattan style serial adaptor for the
raspberry providing the data for the steppir controler.
The signal from the raspberry looks more like a sawtooth on the scope,
so some cosmetics need to be done.

But hey, the controler follows my K3's frequency.
Saves me big bucks and lotta work.


Frank, in the unlikely event that we once meet i'll buy you a beer or
two  ;-)



--

Ohne CW ist es nur CB..

73, Martin DM4iM
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html