开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育
Date

iqaudio dac pro #hardware #hat

 

Anyone experiment around with the?iqaudio dac pro hat? ?I am looking at rebuilding my iq64 and started hooking it up. ?Looking for any lessons learned.

thanks?

Tom AE5NF


Re: Micropython I2S audio library?

 

I don’t know Python but aren’t microPython and ciruitPython basically the same thing?


Re: Micropython I2S audio library?

Dan Romanchik KB6NU
 

At this point, I really just want to make sounds. Eventually, I want to try playing .mp3s.


Re: Micropython I2S audio library?

Dan Romanchik KB6NU
 

Well, this is a Pico, the new, little RPi microcontroller.


Re: Micropython I2S audio library?

 

开云体育

Hui Dan,

I'm curious...? ?why use Micropython on a Raspberry Pi when you can use full blown Python ?

73 - Bill KA8VIT/W8COD


From: [email protected] <[email protected]> on behalf of Dan Romanchik KB6NU <cwgeek@...>
Sent: Tuesday, August 17, 2021 8:39 AM
To: [email protected] <[email protected]>
Subject: [RaspberryPi-4-HamRadio] Micropython I2S audio library?
?
I'm working on a project (well, that's not strictly trure; I'm just playing around with it :) ) that's not strictly ham-radio related.It uses a Raspberry Pi Pico and a ?to produce sounds. I'm wondering if any of you are doing something similar and have perhaps found a MicroPython I2S audio library to run the thing.

73,?

Dan KB6NU


Cant get full screen hamclock on 7 inch touchscreen

 

I finally got hamclock to work, but i cant get a full screen on my ebay 7;inch touchscreen
I tried all the 4 resolutions with the make - j command and screen stays the same when i hit the up v carrot
with my mouse with all the different commands ...size stays small

i then found the rpi fullscreen command hamclock -f on, but now even with lowest resolution screen is just too big.

I looked at what i purchased thru ebay and its marked 1366x768...am i out of luck using this screen ???


thanks for help


Re: Micropython I2S audio library?

 

Hi Dan,

Are you looking for something like midi or a music synthesizer? I am interested in that, too.

73,

Bill KU8H

bark less - wag more

On 8/17/21 8:39 AM, Dan Romanchik KB6NU wrote:
I'm working on a project (well, that's not strictly trure; I'm just playing around with it :) ) that's not strictly ham-radio related.It uses a Raspberry Pi Pico and a MAX98357 D-A/amp board <>?to produce sounds. I'm wondering if any of you are doing something similar and have perhaps found a MicroPython I2S audio library to run the thing.

73,

Dan KB6NU


Re: MiniProSC sound card info for BAP 3.0.8

 



73

On Tue, Aug 17, 2021, 02:45 Dinoburb <fsgorman@...> wrote:
I have been attempting to set-up a G90, MiniProSC, Raspberry Pi remote set-up and I am flummoxed (technical term) on what the MiniPro returns as the sound card.? When attempting to set-up WSJX I use the Icom 7100 as the radio and cannot figure out which of the 23 options presented.? Having tried anything the indicated a USB sound card resulted in no successful set-up.

I have the G90 set-up with VOX and I/O via LINE.? The program cannot/will not read the radio.

I’ve tried Julian’s set-up for FLRIG and here I cab select the Xeigu G90 but when it comes to the the sound card I’m presented with over 50 options starting with ?/dev/tty, /dev/tty0 on to /tty9 then its /dev/ttyAMAO ?and ?/dev/ttyprintk.? Nothing seems to work and no data sent to the program AND the USB audio switch is grayed out under the XCVR Configuration!
i need help in getting out of this rabbit hole!


Micropython I2S audio library?

Dan Romanchik KB6NU
 

I'm working on a project (well, that's not strictly trure; I'm just playing around with it :) ) that's not strictly ham-radio related.It uses a Raspberry Pi Pico and a ?to produce sounds. I'm wondering if any of you are doing something similar and have perhaps found a MicroPython I2S audio library to run the thing.

73,?

Dan KB6NU


Re: MiniProSC sound card info for BAP 3.0.8

 

Most of the BAP users running the G90 hang out in this forum /g/KM4ACK-Pi/topics

I don't own the MiniProSC but I believe it is similar to the Signalink. Look for the sound card that has "Codec" in the name.

73, de KM4ACK


Re: MiniProSC sound card info for BAP 3.0.8

 

开云体育

I would suggest getting a terminal window up, and typing aplay -l and seeing what you get, and then arecord -l and looking at the output from that.

?

The output can still take a bit of deciphering, but it will hopefully give you a better idea of what to look for for your USB Audio.

?

73

Phil

2E0HGU


MiniProSC sound card info for BAP 3.0.8

 

I have been attempting to set-up a G90, MiniProSC, Raspberry Pi remote set-up and I am flummoxed (technical term) on what the MiniPro returns as the sound card. ?When attempting to set-up WSJX I use the Icom 7100 as the radio and cannot figure out which of the 23 options presented. ?Having tried anything the indicated a USB sound card resulted in no successful set-up.

I have the G90 set-up with VOX and I/O via LINE. ?The program cannot/will not read the radio.

I’ve tried Julian’s set-up for FLRIG and here I cab select the Xeigu G90 but when it comes to the the sound card I’m presented with over 50 options starting with ?/dev/tty, /dev/tty0 on to /tty9 then its /dev/ttyAMAO ?and ?/dev/ttyprintk. ?Nothing seems to work and no data sent to the program AND the USB audio switch is grayed out under the XCVR Configuration!
i need help in getting out of this rabbit hole!


 

Good luck and try not to jump to conclusions about the feasibility of an OS too soon... in many cases, the problem is the user.

73 de heinz, VK2STM


Re: RealVNC loses connection

 

Mark, David:
Thanks for your help.
I found something on the web last night about 2.4g wifi issues maybe being caused by HDMI cables.
In the living room to TV, I am running HDMI this is where I did the initial startup of PI when I unboxed it.? In the radio room, its headless.
So I went to 5G, connected direct, ran a ping back to the router, while in the living room.? Ran realvnc viewer from my phone.? Twenty minutes without a drop, changed to cloud, another 20mts without a drop.? Back to the radio room, now the router is 7ft away.? Wired up for FT8 ran on cloud, ran ping to the router.? In 30mts of running FT8 with a few contacts, not a single drop.
Before I went to 5G, on my desktop or phone I would see the ping stop when it dropped connection.?
Been running on cloud, FT8 for 30mts thing morning, no drops.
I will run the data test both of you suggested after work on both 5G and 2.4G

Thanks
Carlos
KE5DFK


 

Did you try "ssh pi@..." where the X's are the IP address of the pi?
On Aug 15, 2021, at 15:02, David AJ6RE <dc1@...> wrote:

Hi David,

I should have clarified that I am running the Pi headless, so I have an older Panasonic Toughbook laptop running Ubuntu hardwired via Ethernet to use as a keyboard/screen interface with the Rpi, on which I am just installing Hampi as the OS. I normally run SSH to get onto the Rpi, then enable VNC server to operate Hampi from the Toughbook.?

The HP laptop from which I flashed the original SD card is a separate Windows machine, but it worked fine that time, so I assume it has a good reader.?

Upon re-examining the second SD card on the Toughbook (Ubuntu) card reader I do indeed see the files you have listed above under the /boot directory. The files all seem to be there, including the SSH file. However, the Rpi still fails to connect via SSH.

The version of Hampi I was using was 1.0, and it appears that in subsequent releases SSH is already enabled. I think I will try flashing 2.0 and starting over. I am starting to suspect I just messed up the first card somehow. I do now see the readme instructions for creating a backup, so hopefully I won't repeat whatever mistake I may have made the first time around.?

Thanks again for you help.

73's?

David AJ6RE




?


Re: RealVNC loses connection

Mark Griffith
 

Carlos,

The first thing I would check is what is the signal strength from your Pi to the WiFi router.? You can do this with this simple command:

sudo iw wlan0 station dump | grep signal | awk '{print $2}'

This will print the dbm signal.? A -70 is the weakest you would want to go and have a reliable link.? -60 or better, with -20 being a super strong signal, would be good.

Another thing to check would be the number of WiFi failed data packets since the last reboot.

sudo iw wlan0 station dump | grep failed | awk '{print $3}'

A return of zero would of course be best.? If you have a lot of failed packets, there is something wrong.

The last thing to check would be the bit rate between the Pi and your WiFi router:

sudo iw wlan0 station dump | grep 'tx bitrate' | awk '{print $3}'

If you are using a 2.5GHz link, a rate of 61 would be the max.? Anything less would of course be less good.

These are values that are kept by the operating system, so they are the most accurate and relevant.

If you have a low signal, or low bit rate, it could be that at some point the link is just dropped for no apparent reason.? If so, then you'll need to move the Pi closer to the WiFi router, or get better antennas for the router, or look for interference on that frequency.? Microwave ovens and older cordless phones share the 2.5 GHz spectrum and have been in the past notorious for interference.

Hope this helps.

Mark
KD0QYN


On Sunday, August 15, 2021, 05:45:47 PM CDT, David Ranch <rpi4hamradio-groupsio@...> wrote:



Hello Carlos,

Since you're doing a connection from one internal host to another internal host, you are NOT going through your router or using it's port forward setting.
***Explain?? PC is ethernet and Pi is wireless, how is it not going thought the router?

Ah.. ok, I didn't remember hearing the Rpi was on wifi.? None the less, I bet the PC and the Rpi are still on the same LAN so while they are indeed using the router, they aren't going through any NAT / portforward functionality.?? My new suspect here is that your Rpi is periodically dropping it's Wifi connection.


This log entry is from your VNC Viewer and seems to indicate that the server isn't responding to keepalive packets.? Can you post some of the relevant logs from the VNC *Server* side of things?
***I am having trouble finding this file

-



Ping test.
***ping stopped when I lost connection running on cloud and on direct.

Right.. I bet you're loosing wifi connection on the Rpi side.? Do you have a HDMI monitor + USB keyboard connected on the Rpi?? If so, run a ping from the Rpi to the default gateway (aka your router) going.? See if that occasionally drops.? I bet it does.? If that's correct, you need to see what's going on here.? Here is a little script you can run on the Raspberry Pi to see what it think's it's Wifi signal strength is:

?/usr/local/bin/get-wifi-stats.sh
--
#!/bin/bash

# 05/25/21 - dranch - minor fixes
# 04/19/21 - dranch - original version

echo -en "\nWifi Signal strength: "
iw wlan0 station dump | grep signal | awk '{print $2}'?
echo -e "?? -70 dbm or less? : is a weak signal and the link will drop if it gets much weaker"
echo -e "?? -60 dbm to -50?? : is a good signal"
echo -e "?? -40 dbm or better: is a great signal"

echo -en "\nWifi RX speed: "
iw wlan0 station dump | grep 'rx bitrate' | awk '{print $3}'
echo -en "Wifi TX speed: "
iw wlan0 station dump | grep 'tx bitrate' | awk '{print $3}'
echo -en "Wifi session reconnects since last reboot (`uptime | awk '{print $3}'` days ago): "
iw wlan0 station dump | grep failed | awk '{print $3}'

echo " "
--


The output on one of my weakly connected Rpis is as follows:
--
Wifi Signal strength: -71
?? -70 dbm or less? : is a weak signal and the link will drop if it gets much weaker
?? -60 dbm to -50?? : is a good signal
?? -40 dbm or better: is a great signal

Wifi RX speed: 26.0
Wifi TX speed: 39.0
Wifi session reconnects since last reboot (35 days ago): 53
--

--David


Re: RealVNC loses connection

 

开云体育


Hello Carlos,

Since you're doing a connection from one internal host to another internal host, you are NOT going through your router or using it's port forward setting.
***Explain?? PC is ethernet and Pi is wireless, how is it not going thought the router?

Ah.. ok, I didn't remember hearing the Rpi was on wifi.? None the less, I bet the PC and the Rpi are still on the same LAN so while they are indeed using the router, they aren't going through any NAT / portforward functionality.?? My new suspect here is that your Rpi is periodically dropping it's Wifi connection.


This log entry is from your VNC Viewer and seems to indicate that the server isn't responding to keepalive packets.? Can you post some of the relevant logs from the VNC *Server* side of things?
***I am having trouble finding this file

-



Ping test.
***ping stopped when I lost connection running on cloud and on direct.

Right.. I bet you're loosing wifi connection on the Rpi side.? Do you have a HDMI monitor + USB keyboard connected on the Rpi?? If so, run a ping from the Rpi to the default gateway (aka your router) going.? See if that occasionally drops.? I bet it does.? If that's correct, you need to see what's going on here.? Here is a little script you can run on the Raspberry Pi to see what it think's it's Wifi signal strength is:

?/usr/local/bin/get-wifi-stats.sh
--
#!/bin/bash

# 05/25/21 - dranch - minor fixes
# 04/19/21 - dranch - original version

echo -en "\nWifi Signal strength: "
iw wlan0 station dump | grep signal | awk '{print $2}'?
echo -e "?? -70 dbm or less? : is a weak signal and the link will drop if it gets much weaker"
echo -e "?? -60 dbm to -50?? : is a good signal"
echo -e "?? -40 dbm or better: is a great signal"

echo -en "\nWifi RX speed: "
iw wlan0 station dump | grep 'rx bitrate' | awk '{print $3}'
echo -en "Wifi TX speed: "
iw wlan0 station dump | grep 'tx bitrate' | awk '{print $3}'
echo -en "Wifi session reconnects since last reboot (`uptime | awk '{print $3}'` days ago): "
iw wlan0 station dump | grep failed | awk '{print $3}'

echo " "
--


The output on one of my weakly connected Rpis is as follows:
--
Wifi Signal strength: -71
?? -70 dbm or less? : is a weak signal and the link will drop if it gets much weaker
?? -60 dbm to -50?? : is a good signal
?? -40 dbm or better: is a great signal

Wifi RX speed: 26.0
Wifi TX speed: 39.0
Wifi session reconnects since last reboot (35 days ago): 53
--

--David


Re: RealVNC loses connection

 

David thanks for your help.
Since you're doing a connection from one internal host to another internal host, you are NOT going through your router or using it's port forward setting.
***Explain?? PC is ethernet and Pi is wireless, how is it not going thought the router?

I assume that when you say "Viewer", you mean "RealVNC Viewer"?? I'm trying to be specific as there are probably more than a dozen different VNC clients out there for Linux.
***Correct RealVNC viewer.
***The only error file I found was the xsession log, see below.

This log entry is from your VNC Viewer and seems to indicate that the server isn't responding to keepalive packets.? Can you post some of the relevant logs from the VNC *Server* side of things?
***I am having trouble finding this file

Ping test.
***ping stopped when I lost connection running on cloud and on direct.

BTW 6m sprint was a dud, band was dead, with 4 antennas, 3 of them are stack sets not one contact.
***


Xsession: X session started for pi at Sun 15 Aug 2021 03:32:10 PM CDT
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XAUTHORITY=/home/pi/.Xauthority
localuser:pi being added to access control list
dbus-update-activation-environment: setting USER=pi
dbus-update-activation-environment: setting LANGUAGE=en_US
dbus-update-activation-environment: setting TEXTDOMAIN=Linux-PAM
dbus-update-activation-environment: setting XDG_SESSION_TYPE=x11
dbus-update-activation-environment: setting HOME=/home/pi
dbus-update-activation-environment: setting DESKTOP_SESSION=lightdm-xsession
dbus-update-activation-environment: setting XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting LOGNAME=pi
dbus-update-activation-environment: setting XDG_SESSION_CLASS=user
dbus-update-activation-environment: setting PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
dbus-update-activation-environment: setting XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
dbus-update-activation-environment: setting XDG_RUNTIME_DIR=/run/user/1000
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting LANG=en_US
dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=lightdm-xsession
dbus-update-activation-environment: setting XAUTHORITY=/home/pi/.Xauthority
dbus-update-activation-environment: setting XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/pi
dbus-update-activation-environment: setting SHELL=/bin/bash
dbus-update-activation-environment: setting GDMSESSION=lightdm-xsession
dbus-update-activation-environment: setting NO_AT_BRIDGE=1
dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
dbus-update-activation-environment: setting LC_ALL=en_US
dbus-update-activation-environment: setting PWD=/home/pi
** Message: 15:32:12.154: main.vala:101: Session is LXDE-pi
** Message: 15:32:12.154: main.vala:102: DE is LXDE
** Message: 15:32:12.312: main.vala:133: log directory: /home/pi/.cache/lxsession/LXDE-pi
** Message: 15:32:12.312: main.vala:134: log path: /home/pi/.cache/lxsession/LXDE-pi/run.log


 

Hi David,

I should have clarified that I am running the Pi headless, so I have an older Panasonic Toughbook laptop running Ubuntu hardwired via Ethernet to use as a keyboard/screen interface with the Rpi, on which I am just installing Hampi as the OS. I normally run SSH to get onto the Rpi, then enable VNC server to operate Hampi from the Toughbook.?

The HP laptop from which I flashed the original SD card is a separate Windows machine, but it worked fine that time, so I assume it has a good reader.?

Upon re-examining the second SD card on the Toughbook (Ubuntu) card reader I do indeed see the files you have listed above under the /boot directory. The files all seem to be there, including the SSH file. However, the Rpi still fails to connect via SSH.

The version of Hampi I was using was 1.0, and it appears that in subsequent releases SSH is already enabled. I think I will try flashing 2.0 and starting over. I am starting to suspect I just messed up the first card somehow. I do now see the readme instructions for creating a backup, so hopefully I won't repeat whatever mistake I may have made the first time around.?

Thanks again for you help.

73's?

David AJ6RE




?


 

I have been booting debian environments from thumb drives for 15+ years, since "live" iso releases became a thing. Very handy for poking around the occasional windows box, etc. USB 3.O makes the current crop as fast as pretty much anything. 73


On Sun, Aug 15, 2021, 11:58 Marty Hartwell <mhartwe@...> wrote:

Ok, I know what those are, so you are booting off those instead of the micro SD drive, right?

I watched a video that talked about doing that, but am not sure I wanted to go that

route at this time. So am not at all familiar with the ins and outs of the use.


Marty kd8bk


On 8/15/21 11:45 AM, Dave R wrote:
aka thumb drive. The little SD cards are a pain on the pi400. Mine is velcro'd to the desk. The USB 3.0 flash drive plugs into a USB 3.0 hub. 73



On Sun, Aug 15, 2021, 09:07 Marty Hartwell <mhartwe@...> wrote:

Hi

Don't know what "USB Flash" is, I just go to the menu item to backup SD card, make

sure to have the backup disk in the adapter and let it go. I agree it isn't real fast but then

I am not usually in a real hurry or come back after awhile and it is finished.

I then have a good back up of the Micro SD card. I use the Ultra 64GB cards and

designate two cards for each Pi 4 4GB I have. I usually backup after each use and

then switch to even out activity.


Marty kd8bj


On 8/14/21 3:35 PM, Dave R wrote:
Does it work on USB Flash? That's what I'm using. 73

On Sat, Aug 14, 2021, 11:10 Marty Hartwell <mhartwe@...> wrote:

HI

Is there a reason to not use the built in SD backup tool? This works well for me.


Marty kd8bj


On 8/14/21 12:58 PM, Fred Hillhouse wrote:

I am not using Hampi but I recently made a backup ?of my image on my PiZ-W. I think I used instruction I found on Raspberry forum. I backed up to an USB drive then restored to a new uSD. I am currently using my back up so I know it works.

?

Fred N7FMH

?

From: [email protected] [mailto:[email protected]] On Behalf Of David AJ6RE
Sent: Friday, August 13, 2021 8:34 PM
To: [email protected]
Subject: [RaspberryPi-4-HamRadio] SD Cards Erased Upon Removal? #hampi #hardware #pi #raspberrypi #usability

?

After successfully using my Rpi 4 B+ for a few months as part of my homebrew mobile manpack rig I decided to back up the SD card prior to installing a GPS dongle. I did a sudo shutdown -h now and powered down. When I stuck the SD card it into my PC it was blank, save for the volume label.?

After failed attempts to recover the data, I flashed a new card, installed Hampi again, started reconfiguring Flrig etc., Then I decided to double-check the new card. I did the graceful shutdown before pulling the card out but evidently wiped that one as well at some point in the process. All files were gone but for a couple of text files and the volume label.

Subsequent online research indicates maybe I didn't let the pi shut down all the way before pulling the card. I did not know to wait for flashing lights after shutting down. However, I'm pretty sure I powered it down all the way after several seconds.?After spending hours flashing cards and looking forward to the prospect of going back to square one yet again and then reconfiguring the software again, and hoping it doesn't happen a third time, I am thinking the pi may just be too fragile a system to rely upon for emergency/mobile comms. It seems crazy that the SD card should be so vulnerable to erasure simply by being extracted from the Pi.?

At this point I am planning on just using the Toughbook that I was using as a keyboard/screen interface to host the software and cut out the Pi. It's a shame since I've invested countless hours in getting Hampi up and running.

Has anyone else had this experience?

David AJ6RE??




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