Date   

Making a pi4 image for a different pi4 and radio

Pat ....
 

So I have my perfect pi sd card and now I want to copy this so that I may use it for a different radio and a different pi4.  The only change will be a different yaesu radio and a different pi4. Do I have to edit anything in the config files besides changing the radio type in the programs.  Will I run into any issues because it's a different pi4 and a different radio?


.net core IoT on the Pi

Charles Gallo
 

Anyone have any experience with Core (NOT UWP) on the Pi? In particular the System.device.I2C namespace? In UWP there is a function to scan the board for I2C controllers (not devices on the bus), but I can’t seem to find the equivalent in core, so I’d have to have a config (or hard code one the Pi to 1)

--
73 de KG2V
Charlie


Re: Dire Wolf Telemetry on RPi3

bobolink
 

Jon,

I didn’t know it was that simple to read the ADC! On the rPi.
With everything I2C and python, I guess it is just:
from Adafruit_ADS1x15 import ADS1x15
Perl is kind of scary but python 🐍 is OK.
Maybe I can eliminate the Arduino. 

 

Bob
wm6h


Re: Newbie

Gerald Travis
 

I have a FT-991A with the built-in soundcard, and, as of yet, I have not figured out how to set it up with the Raspberry Pi.
I have that on QRX until I find out if someone has figured it out on JS8call and wjst-x.
Jerry DU3GKT


From: RaspberryPi-4-HamRadio@groups.io <RaspberryPi-4-HamRadio@groups.io> on behalf of Keith k2acp <k2acp@...>
Sent: Sunday, January 5, 2020 12:58:19 PM
To: RaspberryPi-4-HamRadio@groups.io <RaspberryPi-4-HamRadio@groups.io>
Subject: Re: [RaspberryPi-4-HamRadio] Newbie
 
the radios I use have a built in sound card so they do not need a Signalink or other interface but they need a virtual driver such as the cp210x. in the computer to link them up.  In windows you have to download and install them from you radio's manufacturer website, they do not load automatically.  A couple of very helpful fellows have informed me that with rasbian, all I need to do is plug and play.....isn't life wonderful? 

On 1/4/2020 22:45, Graham Errington wrote:
Randy,

I sometimes use a Yaesu FT 817 or the FT 857 for data modes and in order to do so I connect a Tigertronics SIgnaLink or a Yaesu SCU 17 interface between the radio and the Raspberry Pi.

There might be a way of using data modes by connecting a cable from the Radio directly to the USB port of the Pi but I am not aware of this and the method I have described is the way I thought it was meant to be done but if this is wrong I’m happy to be corrected.

That is why I asked if you had an interface as if you are on a budget this will push the cost up.

Graham


Re: Newbie

Keith k2acp <k2acp@...>
 

the radios I use have a built in sound card so they do not need a Signalink or other interface but they need a virtual driver such as the cp210x. in the computer to link them up.  In windows you have to download and install them from you radio's manufacturer website, they do not load automatically.  A couple of very helpful fellows have informed me that with rasbian, all I need to do is plug and play.....isn't life wonderful? 

On 1/4/2020 22:45, Graham Errington wrote:
Randy,

I sometimes use a Yaesu FT 817 or the FT 857 for data modes and in order to do so I connect a Tigertronics SIgnaLink or a Yaesu SCU 17 interface between the radio and the Raspberry Pi.

There might be a way of using data modes by connecting a cable from the Radio directly to the USB port of the Pi but I am not aware of this and the method I have described is the way I thought it was meant to be done but if this is wrong I’m happy to be corrected.

That is why I asked if you had an interface as if you are on a budget this will push the cost up.

Graham


Re: Newbie

Graham Errington
 

Randy,

I sometimes use a Yaesu FT 817 or the FT 857 for data modes and in order to do so I connect a Tigertronics SIgnaLink or a Yaesu SCU 17 interface between the radio and the Raspberry Pi.

There might be a way of using data modes by connecting a cable from the Radio directly to the USB port of the Pi but I am not aware of this and the method I have described is the way I thought it was meant to be done but if this is wrong I’m happy to be corrected.

That is why I asked if you had an interface as if you are on a budget this will push the cost up.

Graham


Re: Newbie

Keith k2acp <k2acp@...>
 

We are talking about a Pi, you asked about an interface and there isn't any except a usb-a to usb-b cable between the radio and the computer....either a laptop or a Pi, I'm going to try plugging in and powering up, maybe it will recognize and install the driver automatically, thx



On 1/4/2020 17:44, Graham Errington wrote:
Sorry just re-read your email Keith, you mention a windows PC I thought we were talking about a Raspberry Pi.

Graham


On 4 Jan 2020, at 22:20, Keith k2acp <k2acp@...> wrote:



well, the only interface necessary with a windows machine is a usb cable


On 1/4/2020 16:09, Graham Errington wrote:
Do you have an interface to link the radio to the Pi.



Re: Newbie

Keith k2acp <k2acp@...>
 

It's sad some people get their kicks belittling someone less
knowledgeable then them. Do you ever stop to think how many new
operators you are turning away from ham radio by being an arrogant jerk?

On 1/4/2020 20:15, Michael WA7SKG wrote:
Graham, it is about the Raspberry Pi. Sad part of this forum, too many
people feel the need to post something totally unrelated to the
question. Just sigh and move on. He is a Windoze user and probably
thinks a Raspberry Pi is some kind of dessert.

Michael WA7SKG


Graham Errington wrote on 1/4/20 3:44 PM:
Sorry just re-read your email Keith, you mention a windows PC I
thought we were talking about a Raspberry Pi.

Graham


On 4 Jan 2020, at 22:20, Keith k2acp <@k2acp> wrote:



well, the only interface necessary with a windows machine is a usb
cable


On 1/4/2020 16:09, Graham Errington wrote:
Do you have an interface to link the radio to the Pi.



Re: silicon Labs VCP drivers

Keith k2acp <k2acp@...>
 

thank you, I never thought about it loading when plugged in.  I will give it a go


On 1/4/2020 21:05, Ray Wells wrote:
I don't know your Silicon Labs device but from what I've read a kernel module (think driver in Windows speak) has been available for a very long time - back to kernel 2.6 - and it's an available module (cp210x) for my RPi 4 running Raspbian Buster (and also a RPi model B running Stretch). That being the case it "might" be as simple as plugging in your device to have that module loaded automatically.

What I would do - others might do this differently.
1. do lsusb (to see what devices are shown)
2. plug in your unit and do lsusb again to see if there's a new entry for your device. If yes go to the next step
3. Take a look at the end of /var/log/syslog (use tail /var/log/syslog) to see if a new USB device has been found, and take note of its device ID - e.g. /dev/ttyUSB0, /dev/ttyACM0, or similar
4. do lsmod to see if the module is in the list, indicating it has been loaded.

If you can tick all of those boxes you should have a device you can work with.

See if you can communicate with it using minicom, or for something more users friendly, and if you have a GUI environment, install Cutecom and use that.

More HTH.

Ray vk2tv

On 5/1/20 9:51 am, Keith k2acp wrote:

yeah I've been there but that goes way over my head fast, quick and in a hurry, I'm just a new Pi owner trying to learn Linux, guess I'll get the Signalink back out


On 1/4/2020 16:37, Ray Wells wrote:
Did you look here for ways to solve your problem https://www.silabs.com/community/interface/knowledge-base.entry.html/2013/12/11/differences_between-rFVj

HTH

Ray vk2tv

On 5/1/20 8:50 am, Keith k2acp wrote:
I have a radio with a built in soundcard that needs the Silicon Labs VCP drivers, easy with windows but haven't found a way to install them with the Pi





Re: silicon Labs VCP drivers

Keith k2acp <k2acp@...>
 

mobile will be an Icom-7100 and in the shack a FT-991, thx for the response, I will give it a try

On 1/4/2020 21:17, John Schultz wrote:
The Sil Labs drivers should load automatically wtih the Pi.  I have two rigs running those chips and both work great.  What rig are you using?

John


Re: silicon Labs VCP drivers

John Schultz
 

The Sil Labs drivers should load automatically wtih the Pi.  I have two rigs running those chips and both work great.  What rig are you using?

John


Re: silicon Labs VCP drivers

Ray Wells
 

I don't know your Silicon Labs device but from what I've read a kernel module (think driver in Windows speak) has been available for a very long time - back to kernel 2.6 - and it's an available module (cp210x) for my RPi 4 running Raspbian Buster (and also a RPi model B running Stretch). That being the case it "might" be as simple as plugging in your device to have that module loaded automatically.

What I would do - others might do this differently.
1. do lsusb (to see what devices are shown)
2. plug in your unit and do lsusb again to see if there's a new entry for your device. If yes go to the next step
3. Take a look at the end of /var/log/syslog (use tail /var/log/syslog) to see if a new USB device has been found, and take note of its device ID - e.g. /dev/ttyUSB0, /dev/ttyACM0, or similar
4. do lsmod to see if the module is in the list, indicating it has been loaded.

If you can tick all of those boxes you should have a device you can work with.

See if you can communicate with it using minicom, or for something more users friendly, and if you have a GUI environment, install Cutecom and use that.

More HTH.

Ray vk2tv

On 5/1/20 9:51 am, Keith k2acp wrote:

yeah I've been there but that goes way over my head fast, quick and in a hurry, I'm just a new Pi owner trying to learn Linux, guess I'll get the Signalink back out


On 1/4/2020 16:37, Ray Wells wrote:
Did you look here for ways to solve your problem https://www.silabs.com/community/interface/knowledge-base.entry.html/2013/12/11/differences_between-rFVj

HTH

Ray vk2tv

On 5/1/20 8:50 am, Keith k2acp wrote:
I have a radio with a built in soundcard that needs the Silicon Labs VCP drivers, easy with windows but haven't found a way to install them with the Pi




Re: Newbie

Michael WA7SKG
 

Graham, it is about the Raspberry Pi. Sad part of this forum, too many people feel the need to post something totally unrelated to the question. Just sigh and move on. He is a Windoze user and probably thinks a Raspberry Pi is some kind of dessert.

Michael WA7SKG


Graham Errington wrote on 1/4/20 3:44 PM:

Sorry just re-read your email Keith, you mention a windows PC I thought we were talking about a Raspberry Pi.
Graham

On 4 Jan 2020, at 22:20, Keith k2acp <@k2acp> wrote:



well, the only interface necessary with a windows machine is a usb cable


On 1/4/2020 16:09, Graham Errington wrote:
Do you have an interface to link the radio to the Pi.


Re: Newbie

Graham Errington
 

Sorry just re-read your email Keith, you mention a windows PC I thought we were talking about a Raspberry Pi.

Graham


On 4 Jan 2020, at 22:20, Keith k2acp <k2acp@...> wrote:



well, the only interface necessary with a windows machine is a usb cable


On 1/4/2020 16:09, Graham Errington wrote:
Do you have an interface to link the radio to the Pi.


Re: Newbie

Graham Errington
 

Sorry I’m a bit lost here Keith please explain.

Graham


On 4 Jan 2020, at 22:20, Keith k2acp <k2acp@...> wrote:



well, the only interface necessary with a windows machine is a usb cable


On 1/4/2020 16:09, Graham Errington wrote:
Do you have an interface to link the radio to the Pi.


Re: Dire Wolf Telemetry on RPi3

Jon Adams
 

Thanks Bob and all -

From what I've read so far in this group, there seems to be a fair amount of doers here, hopefully I can fit in.

I like the idea of using the Arduino for data collection. It's well suited for that. Would you use a network connection between the Arduino and the Pi? I have a Ethernet shield for the Arduino. I guess the trick would be to "send" preformatted telemetry packets to the RPi on either the AGWPE or the KISS network port?  Maybe there's a way to use a serial or USB connection between the two devices?

The truck's current setup uses a Friendcom 5 W data radio and an Argent Data OT3M, running 24/7. The OT3M is kinda flakey, and appears to lock up regularly with power cycling or with the USB connection (to the truck PC) turning on and off. The older setup in the truck was the Friendcom and a KPC3+, which was much more reliable. I'd modded the KPC3+ to have all 5 ADC ports brought out, so I could get my fill of truck telemetry (Vbat, Tbat, Iload, Tcabin, Vload). The truck also sports a 100 W solar panel and a second, deep cycle battery, and it's been exceedingly stable for years. Batteries last as long as they normally do in the PHX heat. 

I'll admit that the power consumption for this Baofeng/RPi approach is way higher than I get with the Friendcom and an OT3M (or KPC3+).. The OT3M pulls maybe 40 mA at 12 Vdc, and the Friendcom is around 75 mA (?) squelched. That's more like a watt, which is nearly 25% of the RPi/Baofeng setup. But, I can't seem to find Friendcom data radios any more, and 5 W is really on the low side of what is needed for APRS in the hinterlands, but the standby power consumption of a 50 W mobile radio prevents it from being left on all the time. (Makes me pine for the "good old days" of a single-channel xtal radio, sipping 20 mA in standby!)

Back to the RPi and Dire Wolf. My continuing confusion was due in no small part to not RTFM %^). Nonetheless, last week I finally did pay attention to John's write-up on the telemetry toolkit, and now I think I get it more. I am neither Python nor Perl savvy (I'd like to be), but now I think I understand that he uses Perl scripts to call Python routines to grab telemetry from the RPi I/O, format the message in Perl, and send to the Dire Wolf modem. So, I ordered one of the ADS1015 4 channel ADCs, like he uses in the example, and maybe I'll be able to get that up and running quickly when it arrives. 


Re: silicon Labs VCP drivers

Keith k2acp <k2acp@...>
 

yeah I've been there but that goes way over my head fast, quick and in a hurry, I'm just a new Pi owner trying to learn Linux, guess I'll get the Signalink back out


On 1/4/2020 16:37, Ray Wells wrote:
Did you look here for ways to solve your problem https://www.silabs.com/community/interface/knowledge-base.entry.html/2013/12/11/differences_between-rFVj

HTH

Ray vk2tv

On 5/1/20 8:50 am, Keith k2acp wrote:
I have a radio with a built in soundcard that needs the Silicon Labs VCP drivers, easy with windows but haven't found a way to install them with the Pi



Re: silicon Labs VCP drivers

Ray Wells
 

On 5/1/20 8:50 am, Keith k2acp wrote:
I have a radio with a built in soundcard that needs the Silicon Labs VCP drivers, easy with windows but haven't found a way to install them with the Pi


Re: Newbie

Keith k2acp <k2acp@...>
 

well, the only interface necessary with a windows machine is a usb cable


On 1/4/2020 16:09, Graham Errington wrote:
Do you have an interface to link the radio to the Pi.


Re: Newbie

Graham Errington
 

Do you have an interface to link the radio to the Pi.