Can you describe your connections between Yaesu G5500 and the router? Are you using a custom made rotor controller? or the Yaesu ‘computer-control’ one?
We are going to custom make one, but before we do so I want to be sure I’m able to get the control data from the tp-link.
So now I have connected a USB to Serial device at the tp-link and i’m trying to get data out of it. Without any luck.
I’m trying the following:
-Open putty, going to the ip-adress of the router.
-Logging on
-typing rotctld P10.00 10.00 (hoping to set a certain position this way)
this doesn’t seem to be a valid command, where am I going wrong?
On your USB side you are expecting to get commands on EasyComm 2 protocol. You can check here our Arduino code for the “accepting” side.
Now on how you get rotctld up and running. You need to call it and bind it on a USB (serial port), you can check here or in our satnogs.sh script on how to call it (using model and USB port)
Then once it is up and running on a port you can telnet on it (4533 by default) and issue rotctrl commands. Only then you will see easycomm 2 commands send through the USB side
By the way you need to include the model number when calling rotctld. In our case we use 202 (which is Easycomm 2 that we use for our Arduino side). You might want to use a different one.
Yesterday I used the “usbutils” package to discover new USB devices connected to the TP-link.
I found out that my USB to Serial device wasn’t detected by the TP-link so now I’m using an Arduino UNO. I’ve put the “Serial part” of your code on to it. Now I’m still not able to connect to it.
These are the commands I’m sending:
Command: rotctl -m 202 -r ls /dev/bus/usb/001/002 -s 19200
Response: error = IO error
You might have to look into the kernel log to see what the arduino is showing up as. So, unplug the arduino from the USB, give it a second, then plug it back in. After you plug it back in run ‘dmesg | less’ and pagedown to the bottom. Scroll up from the bottom a bit (depending on what is going and how much time between plugging it in and running this command) and you should see notice of the new USB device being plugged in. Look for a tty assignment… Like ttyUSB0 or where it shows up for me, ttyACM0. This will be the /dev/ device you should point to. Also drop “ls” from your command line as it is a directory listing command and not a part of the file name.
Looks like there is a problem connecting the usb devices.(He doesn’t recognise them)
I’ve searched the web and found that there are many others facing this problem.
Can you tell me what version of Openwrt u are currently using?
TP-link tl-wr703N, powered from my pc.
Just changed the Openwrt version and the USB is detectable
So again i’m a little step further to getting it to work
I also experience frequent crashes (no matter if RPI or OpenWRT) of the rtl_tcp server. There are some memory leaks which can cause illegal writes int he current rtl-sdr (09-2014) which might kill the router as you describe. Also It appers that the rtl_tcp is not absolutely stable yet, sometimes if the usb transfer fails the there can be a problem.