Date   
Amplifier control

Tom Schaefer NY4I
 

is there anyway to control an amp at the radio end?

For example, I gave a K3 and KPA1500. Can I put the amp in operate mode?

Of course I could use VNC but I want to minimize remote users needing to use VNC. 


Tom NY4I 

Re: SD card backup process

Larry
 

Hi Harold,

No problem :)

During the RigPi testing I got very familiar with the Micro SD card
remove-burn-reinstall process, and found Win32DiskImager did a good
job of creating a clean image. I agree with Howard, however, in that
using the built in backup is much easier for the users.

73,
Larry
K0LEJ

On Fri, May 17, 2019 at 5:11 PM Harold Rosee <wa5zzt@...> wrote:

Larry,

I am not disagreeing with you but since the question was posted I was in front of Howard and he suggested the method I posted of using a USB card reader plugged into the RigPi’s. There is no need to open the box and remove the card.

There is always more than one way to skin a cat so either would work.


On May 17, 2019, at 4:46 PM, Larry <k0lejham@...> wrote:

Hi,

It's a good idea to backup/copy your SD card!

The best method is to make a copy of MicroSD image, and to do that you
will need to open the RigPi and remove the MicroSD card. I use the
Windows based Win32DiskImager (available on the Sourceforge.net) to
create a backup file from the Micro SD card. You might want to label
the image with the version (I believe the current version is 1.02).

73,
Larry
K0LEJ

(RPRT -13)(0) from IC7300.

David Bodman, KD4CLJ
 

Rig Pi just arrived this afternoon.

 

Read earlier that "Plug and Play" with just USB cable.

 

I've been trying to interface with a Raspi 3 myself, so easy to move HDMI, power, wireless keyboard/mouse through USB dongle, and Ethernet to RSS unit.

Go through initial config, callsign maidenhead,etc.

Radio connection - (my USB connection is the larger USB-B) to USB port on Pi.

Radio set to Connectors > Data Mod > USB

Advanced radio settings on RigPi  loaded IC7300 defaults.

Tap on Connect Radio, wait, northing seems to happen, Tap on Test Radio, get

Radio Connection

TEST MODE Radio: 1
User: kd4clj
Radio: 1
User: kd4clj
Radio from settings: 1
Port from settings: /dev/ttyUSB0
ID from settings: 373
RigDo.php rigDoPID from settings: 4681
service_port: 4532
To see any error details, click Disconnect Radio then start rigctld in Terminal with this line:

rigctld -m 373 -r /dev/ttyUSB0 -t 4532 -s 9600 --set-conf stop_bits=1 --set-conf dtr_state=OFF > /dev/null 2>&1 &

rigctld processes running:

www-data 4559 0.0 0.3 14728 3788 ? S 15:00 0:00 rigctld -m 373 -r /dev/ttyUSB0 -t 4532 -s 9600

Error connecting to radio (RPRT -13)(0). Check radio connection and settings. Is the radio powered up? Please try again.

 

Not quite plug and play...What have I got unplugged???

 

David, KD4CLJ

Rigpi with IC-718

Adam Hosa
 

Hi All!

Ahh the joy of living in a condo, and no radio. So I got my rigpi today and still have my ham setup at my moms house. Have the audio cable from the 718 I picked up from MFJ....My problem, the CI-V on the 718 is an 1/8", and I need to interface it with the USB on the rigpi I gather?

Any suggestions on what cable I should use? I had an old rigtalk usb interface that goes from usb to 1/8, but that I assume isnt going to work on the pi.

Thanks for your help
Adam N1AH

Re: At Hamvention

Barry WØIY
 

Great to meet you today!  looking forward to fun times with rigpi.

Barry

Re: (RPRT -13)(0) from IC7300.

Garry Decker <K9WHF@...>
 

David;
Exactly what I feared. My RSS is enroute. It may be making a return trip. Fine for a network guy like Howard, but this looks WAY over my experience.
Garry
W9WHF 


On May 17, 2019, at 6:13 PM, David Bodman <kd4clj@...> wrote:

Rig Pi just arrived this afternoon.

 

Read earlier that "Plug and Play" with just USB cable.

 

I've been trying to interface with a Raspi 3 myself, so easy to move HDMI, power, wireless keyboard/mouse through USB dongle, and Ethernet to RSS unit.

Go through initial config, callsign maidenhead,etc.

Radio connection - (my USB connection is the larger USB-B) to USB port on Pi.

Radio set to Connectors > Data Mod > USB

Advanced radio settings on RigPi  loaded IC7300 defaults.

Tap on Connect Radio, wait, northing seems to happen, Tap on Test Radio, get

Radio Connection

TEST MODE Radio: 1
User: kd4clj
Radio: 1
User: kd4clj
Radio from settings: 1
Port from settings: /dev/ttyUSB0
ID from settings: 373
RigDo.php rigDoPID from settings: 4681
service_port: 4532
To see any error details, click Disconnect Radio then start rigctld in Terminal with this line:

rigctld -m 373 -r /dev/ttyUSB0 -t 4532 -s 9600 --set-conf stop_bits=1 --set-conf dtr_state=OFF > /dev/null 2>&1 &

rigctld processes running:

www-data 4559 0.0 0.3 14728 3788 ? S 15:00 0:00 rigctld -m 373 -r /dev/ttyUSB0 -t 4532 -s 9600

Error connecting to radio (RPRT -13)(0). Check radio connection and settings. Is the radio powered up? Please try again.

 

Not quite plug and play...What have I got unplugged???

 

David, KD4CLJ

Re: Amplifier control

Tom W5KUB
 

Lets let the experts address this but I would say yes.  you should be able to turn it on and use it but not manually tune it.  I guess you could have it pretuned on a freq range you would use.
rigpi has an output keying function that you can easily program a macro button. it could easily control a home brew relay box to turn your amp on.  or they also make a number of inexpensive wifi switched that it could be plugged in to and controlled over your internet connection. 

Tom w5kub
Host of live ham show called Amateur Radio Roundtable every Tues night at 8:00 PM central. All shows are recorded and can be watched at any time on on our website. Our audio is also simulcast on international shortwave on 5130 Khz.   We are also on every podcast carrier if you are looking for an audio version of our program.


On Fri, May 17, 2019 at 6:05 PM Tom Schaefer NY4I <thomasmschaefer@...> wrote:
is there anyway to control an amp at the radio end?

For example, I gave a K3 and KPA1500. Can I put the amp in operate mode?

Of course I could use VNC but I want to minimize remote users needing to use VNC. 


Tom NY4I 

Re: (RPRT -13)(0) from IC7300.

Mark Weisheimer
 

Try this:

From the RigPI desktop or by remoting into the RigPi using VNC, double click the USB ID icon.
Then follow the directions and remove only the USB cable (at the RigPi end) going to the IC-7300, pause a moment, then plug it back in.
RigPi will set the ID that CAT port as Radio1.
Once completed, it will ask to reboot the RigPi.
Once that has completed, run the Setup - Radio once again, choosing Radio1 as the RPort and continue on as you have already.

Mark - K8MHW

Re: (RPRT -13)(0) from IC7300.

David Bodman, KD4CLJ
 

Saw that, tried that...not much joy.. no dialog came up...

 

I've taken some screenshots, not sure if I can upload them here...

I tried a few commands since I'm "somehat" proficient in Ubuntu...

See if they give you any clues..

pi@rigpi:~ $ rigctid -m373 -r /dev/ttyUSB0 -t4532 -s 9600 --set-conf dtr_state=ON > /dev/null 2>&1 &
[1] 20487
pi@rigpi:~ $ rigctid -m 373 -r /dev/ttyUSB0 -t4532 -s 9600 --set-conf stop_bits=1 --set-conf dtr_state=OFF > /dev/null 2>&1 &
[2] 21716
[1]   Exit 127                rigctid -m373 -r /dev/ttyUSB0 -t4532 -s 9600 --set-conf dtr_state=ON > /dev/null 2>&1
pi@rigpi:~ $ rigctid -m 373 -r /dev/ttyUSB1 -t4532 -s 9600 --set-conf stop_bits=1 --set-conf dtr_state=OFF > /dev/null 2>&1 &
[3] 29935
[2]   Exit 127                rigctid -m 373 -r /dev/ttyUSB0 -t4532 -s 9600 --set-conf stop_bits=1 --set-conf dtr_state=OFF > /dev/null 2>&1
pi@rigpi:~ $ lsusb
Bus 001 Device 011: ID 08bb:2901 Texas Instruments PCM2901 Audio Codec
Bus 001 Device 010: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 009: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 005: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

Re: (RPRT -13)(0) from IC7300.

David Bodman, KD4CLJ
 

Now don't be hasty!

 

I Reset the IC-7300 (cause I had been monkeying around in it befor the MFJ arrived, trying to interface it myself with JUST a raspberry pi, and making some progress, but when I saw the MFJ-1234, I could see it would save me some hair (ain't got much as it is..!!)

 

But one thing about errors, they show you something you MIGHT NOT have tested before...

 

My favorite software tester back in the day was my mother...if there was any way for something to be broken, she'd find it!

Re: (RPRT -13)(0) from IC7300.

David Bodman, KD4CLJ
 

Tried USB ID again...did get a dialog this time (hidden behind another screen??).. said it renamed to radio1, rebooted pi, brought back up RigPi, signed in, go to Settings, basic Radio and look at drop down, and only see None and /dev/ttyUSB0 are showing..

Tried just typing "radio1" into R Port entry, and if I try "Connect Radio" I get Radio Connection, Error: Rig Control not started"

Feel like I'm making progress??

 

Re: (RPRT -13)(0) from IC7300.

Howard Nurse, W6HN
 

Hi David,

There are several Beta testers who have used the 7300 (and similar Icoms) with RigPi.  I hope one of them will step in here.

There are some settings in your radio that can interfere with the connection.  A likely candidate is “Echo Back.”  You must also turn off the function in the radio called CI-V Transceive.  Icom radios are the only ones that have these settings.

That said the Test report you sent looks fine, except the radio doesn’t connect.  Here are some simple steps to try:

1. Reboot RigPi from the System settings window.
2. Using a monitor connected to the HDMI connector, and keyboard and mouse to USB connectors, you will see the Desktop after reboot.
3. Open Terminal by clicking the Terminal icon at the top.
4. Type this command:

rigctl -m 373 -r /dev/ttyUSB0 -s 9600

This assumes the Baud rate for the radio is indeed 9600.

If it connects, you will be greeted with a prompt that says Command:. This indicates all is well and the radio connected.  More likely you will get an error message, which probably means something isn’t set in the radio that RigPi is expecting.  Candidates are Baud rate and the settings I mentioned above.

The lusb test you ran tells us more.  The TI codec line shows that RigPi sees the radio and its internal audio CODECs.  This again points to a menu settings issue in the 7300.  I assume you only see one COM port in the Port dropdown, ttyUSB0.  If there are more, such as ttyUSB1, that could be the radio and ttyUSB0 is for another tty device connected to RigPi through a USB port.

Note the other commands you tried have typos.  It is rigctld, not rigcid.  The steps I gave you work the same way except they set up an interactive connection which can be easier to troubleshoot.

—Howard

Re: Rigpi with IC-718

Howard Nurse, W6HN
 

Hi Harold,

There are a number of CI-V to USB adapters for sale.  Take a look on eBay to see a wide selection.  The only trouble with the CT-17 is that it provides a classic serial port interface, and you then need a serial to USB adapter.

Your rigtalk may work.  Did you use it to connect a PC to your radio?  If so, give it a try on RigPi before doing anything else.

—Howard

Re: Amplifier control

Howard Nurse, W6HN
 

Hi Tom,

Tom’s answer is good, but I’m not familiar with the details of the KPA1500.  Can you put it in operate mode by switching a control input to ground?  If so, RigPi’s PTT lines can be used to do that.  You will use PTT by CAT for your K3, leaving the RigPi hardware PTT connection available to switch the amp into orate mode.

—Howard

Re: Connecting remote logging program?

Howard Nurse, W6HN
 

Hi Tom,

I need a bit more info to provide you with an accurate answer.  By “remote PC end,” will you use a browser in a remote PC to connect to RigP at the transceiver location?  If so, there won’t be a way for a virtual CAT port to see the RigPi ports.  RigPi has its own logger, and supports ADIF data transfer, so that is one possibility for keeping a master log in a logging program.

—Howard

Re: Remote Paddle CW

Howard Nurse, W6HN
 

Hi Tom,

By Typing, I mean typing the characters as text that are translated into CW by RigPi.  I would like to see a way to have paddles at the remote end, there are technical challenges to solve to make that possible.

I like your planned use!  I live in an HOA condo myself...

—Howard

Re: Remote Paddle CW

Howard Nurse, W6HN
 

Hi Garry,

Yes, surviving and meeting lots of nice folks!  Ask me tomorrow night.  :-)

There is a Github repository for RigPi, but nothing there yet.  So much to do, so little time!  Note that RigPi is open source, but it does use commercial proprietary software to create the graphics on the audio Tuner window (freq readout, s-meter, tuning knob).  The license for that software prevents a release of the entire RigPi software system as open source, and will be the first thing we will have to rewrite using open source tools.

—Howard

Re: Bluetooth

Howard Nurse, W6HN
 

RigPi does not need an Internet connection except for spot gathering, QRZ lookups, and Google maps.  It is possible to set up an ad hoc Wi-Fi network on the Raspberry Pi so mobile devices can connect.  I prefer using an inexpensive travel router such as those made by TP-Link.  I connect RigPi to the router using an Ethernet cable, and the router Wi-Fi is used to connect mobile devices.  That’s what I am using here at the Hamvention.  TP-Link travel W-Fi routers are available through Amazon for under $30.

—Howard

Re: Connecting remote logging program?

Tom Schaefer NY4I
 

My scenario is as follows:

I have software on my Windows PC that I want to operate a contest or other event.

I want to run the software on my Windows or Mac. I use the web interface but want to read the frequency from the browser. As an example, Chrome has the capability to open a socket through the browser and any data sent there can be send to the back-end server (the Pi in this case). So in my use case, a Chrome plug-in provides a socket connection that passes any data received to the CAT interface on the RigPi.

This might not be your intended use for this but in a remote club situation, I can see this being useful. This also lets me use my local logging software to have a cluster running for example and hook DXLabs or HRD to the RigPi.

In a club situation with multiple users, you would have to have a log per user and I cannot recall use my favorite logging app.

Tom NY4I


727-437-2771



On May 17, 2019, at 10:46 PM, Howard Nurse, W6HN <hlnurse@...> wrote:

Hi Tom,

I need a bit more info to provide you with an accurate answer.  By “remote PC end,” will you use a browser in a remote PC to connect to RigP at the transceiver location?  If so, there won’t be a way for a virtual CAT port to see the RigPi ports.  RigPi has its own logger, and supports ADIF data transfer, so that is one possibility for keeping a master log in a logging program.

—Howard

Re: Amplifier control

Tom Schaefer NY4I
 

Please allow me to make this more general. With microprocessor controlled amps that have either a serial control port (or an ethernet control port), I can access data on the serial interface to send and receive data from the amp. One of those commands can be to change modes to operate or standby. I can also get info from the amp regarding power, current, VSWR, etc.

Amps such as the Elecraft KPA500 and KPA1500, the SPE lines of amps, Palstar amp, some Alpha and ACOM amps all have such a serial port (or ethernet port).

Let’s assume for a minute there exists a library similar to hamlib for amplifiers (or we write one), then the question is do you have mechanism for a developer to extend your web interface to have an operate/Standby button that sends a message to the RigPi that could then send a message to the amp control library (or run a script to close a relay in your suggestion)? Asking a user to go outside the web interface to operate the amp via script would not be good. Another web page/tab could be doable to provide amp control but that is not very integrated.

I realize this is all pretty new and while I have seen references on your website about this being open source, I do not see much in the way of files on GitHub so I am not sure what parts if any are open source (or if those plans changed once MFJ came into to the picture).

I think you answered the question as No and that is fine at this stage. I will humbly submit this as a potential new feature suggestion for amp control.

Thanks,

Tom NY4I

727-437-2771



On May 17, 2019, at 10:39 PM, Howard Nurse, W6HN <hlnurse@...> wrote:

Hi Tom,

Tom’s answer is good, but I’m not familiar with the details of the KPA1500.  Can you put it in operate mode by switching a control input to ground?  If so, RigPi’s PTT lines can be used to do that.  You will use PTT by CAT for your K3, leaving the RigPi hardware PTT connection available to switch the amp into orate mode.

—Howard