¿ªÔÆÌåÓý

Date

No audio on the loopback device

 

I realized that after closing fldigi, and open it again, there is not input signal in the loopback. It seems like the loopback is being closed or getting stuck somehow. Anyone experiencing this?

Rafael


Re: new sBitx software

 

Hi Evan,

That¡¯s really good news. ?I will give that a try. ?My fingers are crossed. ?Thanks!

I do have a work around on the touch screen input. ?After the RPI boots, run:
sudo xinput map-to-output ¡°raspberrypi-ts¡± ¡°DSI-1¡± .

It¡¯s an extra step to perform after boot but it works. ?I¡¯ve thought about adding this into the boot sequence but just haven¡¯t sorted where that is and made the addition.

I¡¯ll let you know how it goes.

Cheers, Scott


Re: SBitx: Capacitor across gpio's tx line

 

Further investigating the TX line, I noted a 470 ohm resistor across C66.? This would put a 7ma load on the GPIO pin.? Adding the PIN diode switching 74LS08 adds another 4ma, so we are at 11ma with a maximum of 16ma recommended.??

There are 5 other loads that I did not do the calculation.? A buffer seems to be a good idea for this particular output.? Still, no problems in 400 units go against needing to make a change.

73
Evan
AC9TU


Re: SBitx: Capacitor across gpio's tx line

 

Farhan,

Thank you for the answer.? I thought it was for RF issues.? The only potential issue that I thought for removing the capacitor was slowing down the TX return to off would potentially cause the TX and RX to be enabled simultaneously for a very short period.

400 radio sample is a pretty good test showing that there is not an issue.

73
Evan
AC9TU


Re: Error Building V2

 

Btw, I would advise not to use my fork, unless there is a need to. Ashhar main repo it the way to go, and his "build" script will work for all common use cases.

Rafael

On 4/21/23 10:37, Rafael Diniz wrote:
Just type:
make
make install

All the rest of the instructions are exactly the same, as described in install.txt.

Rafael

On 4/21/23 01:06, jacobs@... wrote:
Rafael,
Can you give me the commands that I need to install your fork? I¡¯m new to Linux and trying to learn how to do this myself. Thanks.
--
Bob AA4FJ



Re: SBitx: Capacitor across gpio's tx line

 

Evan,
There is a very slow switching needed. I consulted my notes, the cap was installed to prevent tx latch up when the RF was getting in the TX line.
In our four hundred plus radios tested by now, we haven't faced any issue related to the capacitor. However, I am removing it my own radio to see how it works.
- f

On Fri, Apr 21, 2023, 1:03 PM Evan Hand <elhandjr@...> wrote:
Hi Gary,

Thank you for the links.? They do provide more information than what is on the Raspberry Pi site.

I still do not understand the issue with C66.? None of the documentation lists a maximum capacitance load.? Some of the examples given in online recommendations suggest using capacitors to help reduce contact bounce, which leads me to believe that it is not that C66 is too much of a load on the GPIO output.? That means there is a circuit issue that I do not understand.

73
Evan
AC9TU


Re: Error Building V2

 

Just type:
make
make install

All the rest of the instructions are exactly the same, as described in install.txt.

Rafael

On 4/21/23 01:06, jacobs@... wrote:
Rafael,
Can you give me the commands that I need to install your fork? I¡¯m new to Linux and trying to learn how to do this myself. Thanks.
--
Bob AA4FJ


Re: SBitx: Capacitor across gpio's tx line

 

Hi Gary,

Thank you for the links.? They do provide more information than what is on the Raspberry Pi site.

I still do not understand the issue with C66.? None of the documentation lists a maximum capacitance load.? Some of the examples given in online recommendations suggest using capacitors to help reduce contact bounce, which leads me to believe that it is not that C66 is too much of a load on the GPIO output.? That means there is a circuit issue that I do not understand.

73
Evan
AC9TU


Re: SBitx: Capacitor across gpio's tx line

 

@Garry: thanks info

@Evan: I found two links that might be useful:



--
Gyula HA3HZ


Re: Error Building V2

 

Rafael,
Can you give me the commands that I need to install your fork? I¡¯m new to Linux and trying to learn how to do this myself. Thanks.?
--
Bob AA4FJ


Re: SBitx: Capacitor across gpio's tx line

 

Sorry to ask a stupid question, but what is the issue with C66?

It may not be a good design to delay TX to Q5 and the rest of the TX use points, but not sure it could cause damage.? I would be more worried about the many devices that use the unbuffered TX line.? GPIO guidelines say 16ma total.? Not sure what the total pulsed current would be on the TX start.

73
Evan
AC9TU


Re: Help: uBitx V3 parallel 4 MHz narrow CW filter and firmware changes?

 

Thanks Mark,
That's helpful and I'll start looking at it in the weekend. I got a reply from Alex, PA1FOX as well, but he used fully custom firmware and has also built the radio from scratch!
I've got the 'simple' version, just the LCD. If I get something working I'll report back (could take a while...).
73,
Gerard


Re: SBitx: Capacitor across gpio's tx line

 




On Thu, Apr 20, 2023, 11:56 AM HA3HZ <gyula@...> wrote:
I can't find it on the schematic.
Which capacity is it? Cx
--
Gyula HA3HZ


Re: SBitx: Capacitor across gpio's tx line

 

C66 0.1uF


Re: SBitx: Capacitor across gpio's tx line

 

I can't find it on the schematic.
Which capacity is it? Cx
--
Gyula HA3HZ


SBitx: Capacitor across gpio's tx line

 

I have lost an email that someone wrote to me about the capacitor that is directly across the tx line of the gpio.
I agree that it is a bad design, we will take it out in the next revision. It hasnt blown anyb of the 200 already tested with raspberry pis installed, but it needs to go all the same.
Thanks to the gentleman who wrote in.
- f


Re: Help: uBitx V3 parallel 4 MHz narrow CW filter and firmware changes?

 

Gerard,

That code should be wedged into the file ubitx_si5351.ino. The structure of the si5351bx differs slightly than the code you found and variable names are also slightly different. Perhaps this could be set in the setCarrierFreq section as there is already some tests for cwMode?? (There is even a comment out section around line 153 that tests for cwMode.)? I have tried to leave that file alone in my hacking so I am hesitant to give it a try myself.

Not sure whether the change in the if req for v5 and v6? has any impact on the filter code???

The challenge is going to be creating a UX visible control for this setting. This will require mods to the unitx_menu.ino and perlas the ubitx_lcd_* and ubitx_lcd_nextion.ino (and if Nextion, you will need to add mods to the Nextion screens using the Nextion editor). You might also want to add this feature to the? cat_libs.ino file too....??

My recommendation would be to get this working as a compile parameter (#define in? ubix.h) first.? At that point, I shold be able to help you get it working in the various? points in the UX. This would be in uBTIX V2 (see ).??

I would be interested in your final design as I am trying to collect addon cards for the uBITX. (And I am also a member of CWops :-) )

73
Mark

--
AJ6CU
KD8CEC 2.0, Nextion Screens,? and open source uBITX Raduino boards for Arduino IOT, BLE, RP2040, Teensy 4.0, and Raspberry Pi Pico
https://github.com/aj6cu


Re: new sBitx software

 

On Fri, Apr 14, 2023, at 10:04 AM, Scott KE8KYP wrote:
I've not been able to make this work.? Is it possible?
Hi Scott,

I got the original gtk based screen to fit on the DSI screen with another 1920x1080 HDMI-connected monitor.? The one issue I have not yet worked out is limiting the touchscreen input to just the DSI.? The touch screen is not usable in this setup, but the mouse works for both.

The gtk screen is being sized in sbitx_gtk.c around line 3411 in the ui_init function.? I commented out the section that starts with?

#pragma GCC diagnostic push

to and including?

#prmgma pop

Then added two lines after the now commented code:

screen_width = 800
screen_height = 480

This forces the gtk screen to the size of the DSI.? Then I set up the HDMI screen on the left and the DSI screen on the right using the Screen Configuration under Preferences.

This worked for me.? If I start Sbitx without the HDMI monitor connected, it functions just like the original code, with the touch screen working correctly.? This points to the touch driver automatically scaling to the full size of the combined displays.? I am still researching how to limit the touch input to the original DSI screen.

73
Evan
AC9TU


Re: sBitx DE v2 lost audio loopback

 

Whoa!


On Thu, Apr 20, 2023, 1:48 PM Rafael Diniz <rafael@...> wrote:
Hi Ashhar,

So, reinstalled from scratch, starting from RaspOS 64-bit Bullseye Lite.
Just compiled by hand WiringPI:


All the rest via apt-get... I got it working! Everything! So the
software runs without problem in 64-bit! I'm not sure why first time did
not work, but anyway, made a simple clean install, set the config.txt,
snd-aloop and alsa setup - all working!

All I installed (many stuff for my use, but anyway... can be useful as
reference):

???????? apt-get -y install uucp \
??? ???????? alsa-tools \
???????????? alsa-utils \
???????????? autoconf \
???????????? bash-completion \
???????????? bluez-tools \
???????????? build-essential \
???????????? curl \
???????????? emacs-nox \
???????????? git \
???????????? htop \
???????????? iwatch \
???????????? jq \
???????????? libtool \
???????????? libb64-dev \
???????????? net-tools \
???????????? patch \
???????????? pip \
???????????? python3 \
???????????? python3-pymysql \
???????????? rxvt \
???????????? sudo \
???????????? vim-nox \
???????????? wmaker \
???????????? xterm \
???????????? zlib1g-dev \
???????????? liblzma-dev \
???????????? ffmpeg \
???????????? libmagic-dev \
???????????? imagemagick \
???????????? php-fpm \
???????????? php-cli \
???????????? php-curl \
???????????? php-gd \
???????????? php-mbstring \
???????????? php-mysql \
???????????? php-pear \
???????????? php-soap \
???????????? php-sqlite3 \
???????????? php-xml \
???????????? php-opcache \
???????????? composer \
???????????? mariadb-server \
???????????? inotify-tools \
???????????? tigervnc-standalone-server \
???????????? nginx \
???????????? nodejs \
???????????? hostapd \
???????????? openvpn \
???????????? dnsmasq \
???????????? wireless-regdb \
???????????? wireless-tools \
???????????? wpasupplicant \
???????????? dnsmasq \
???????????? iw \
???????????? yarn \
???????????? bc \
???????????? dkms \
???????????? python3-gps \
???????????? python3-tornado \
???????????? python3-alsaaudio \
???????????? python3-hamlib \
???????????? libc6:armhf \
???????????? libgtk-3-dev \
???????????? libfftw3-3 \
???????????? libfftw3-dev \
???????????? libfftw3-double3 \
???????????? libfftw3-long3 \
???????????? libasound2-dev \
???????????? libncurses-dev \
???????????? sqlite3 \
???????????? libsqlite3-dev \
???????????? ntpstat \
???????????? ntp

Cheers,
Rafael

On 4/19/23 19:38, Ashhar Farhan wrote:
> Very interesting, Rafael,
> Do you mean you can hear the radio properly and only the spectrum
> doesn't work on 64 bit os?
> - f
>
> On Wed, Apr 19, 2023, 8:54 PM Rafael Diniz <rafael@...> wrote:
>
>? ? ?Also, I would also not recommend loading snd-aloop from
>? ? ?/etc/rc.local,
>? ? ?but in the through the proper /etc/modules (module to load) and
>? ? ?/etc/modprobe.d/... (for the module options file).
>
>? ? ?I had no problems with the 32 bits RaspOS / Debian yet. Ashhar, I can
>? ? ?confirm there is some bug in the code running on 64 bits, so that
>? ? ?I get
>? ? ?no spectrum in the sbitx software, I'll try to fix that. Apart of
>? ? ?this
>? ? ?graphical issue (or fft?), everything runs well on 64 bits indeed
>? ? ?(but
>? ? ?nobody needs to be worried about this, as it seems just me am in
>? ? ?64 bit
>? ? ?at this time).
>
>? ? ?Cheers,
>? ? ?Rafael
>
>? ? ?On 4/19/23 17:32, Raj vu2zap wrote:
>? ? ?> Evan,
>? ? ?>
>? ? ?> Mine also, sbitx doesnt work at all on some boot ups. power off
>? ? ?using
>? ? ?> rear switch and reboot
>? ? ?>
>? ? ?> generally solves problems.
>? ? ?>
>? ? ?> Sometime I launch 2 instances of sbitx and get a non functional
>? ? ?screen
>? ? ?> then I realize and close
>? ? ?>
>? ? ?> ?one instance and all is well!
>? ? ?>
>? ? ?> On 19-Apr-23 7:45 PM, Evan Hand wrote:
>? ? ?>> To add to Rafael's recommendation to add the noaudio in the
>? ? ?>> config.txt, I have also found that at times I need to shut down
>? ? ?the
>? ? ?>> Sbitx, wait for the current to drop to the normal .3 amps,
>? ? ?disconnect
>? ? ?>> the supply and short the power input pins to the Sbitx for at
>? ? ?least
>? ? ?>> 30 seconds.? I believe there is a capacitor somewhere in the
>? ? ?power to
>? ? ?>> the codec that is not allowing it to reset fully.
>? ? ?>>
>? ? ?>> You should note that I have installed a 2200uF capacitor on the
>? ? ?power
>? ? ?>> input to the Sbitx to overcome some of the 500kH noise that the
>? ? ?mod 2
>? ? ?>> regulator causes.? It may be part of the issue for me. It is still
>? ? ?>> worth a try.
>? ? ?>>
>? ? ?>> 73
>? ? ?>> Evan
>? ? ?>> AC9TU
>? ? ?>
>? ? ?>
>? ? ?>
>? ? ?>
>? ? ?>
>
>
>
>
>
>






Re: sBitx DE v2 lost audio loopback

 

Hi Ashhar,

So, reinstalled from scratch, starting from RaspOS 64-bit Bullseye Lite. Just compiled by hand WiringPI:


All the rest via apt-get... I got it working! Everything! So the software runs without problem in 64-bit! I'm not sure why first time did not work, but anyway, made a simple clean install, set the config.txt, snd-aloop and alsa setup - all working!

All I installed (many stuff for my use, but anyway... can be useful as reference):

??????? apt-get -y install uucp \
?? ???????? alsa-tools \
??????????? alsa-utils \
??????????? autoconf \
??????????? bash-completion \
??????????? bluez-tools \
??????????? build-essential \
??????????? curl \
??????????? emacs-nox \
??????????? git \
??????????? htop \
??????????? iwatch \
??????????? jq \
??????????? libtool \
??????????? libb64-dev \
??????????? net-tools \
??????????? patch \
??????????? pip \
??????????? python3 \
??????????? python3-pymysql \
??????????? rxvt \
??????????? sudo \
??????????? vim-nox \
??????????? wmaker \
??????????? xterm \
??????????? zlib1g-dev \
??????????? liblzma-dev \
??????????? ffmpeg \
??????????? libmagic-dev \
??????????? imagemagick \
??????????? php-fpm \
??????????? php-cli \
??????????? php-curl \
??????????? php-gd \
??????????? php-mbstring \
??????????? php-mysql \
??????????? php-pear \
??????????? php-soap \
??????????? php-sqlite3 \
??????????? php-xml \
??????????? php-opcache \
??????????? composer \
??????????? mariadb-server \
??????????? inotify-tools \
??????????? tigervnc-standalone-server \
??????????? nginx \
??????????? nodejs \
??????????? hostapd \
??????????? openvpn \
??????????? dnsmasq \
??????????? wireless-regdb \
??????????? wireless-tools \
??????????? wpasupplicant \
??????????? dnsmasq \
??????????? iw \
??????????? yarn \
??????????? bc \
??????????? dkms \
??????????? python3-gps \
??????????? python3-tornado \
??????????? python3-alsaaudio \
??????????? python3-hamlib \
??????????? libc6:armhf \
??????????? libgtk-3-dev \
??????????? libfftw3-3 \
??????????? libfftw3-dev \
??????????? libfftw3-double3 \
??????????? libfftw3-long3 \
??????????? libasound2-dev \
??????????? libncurses-dev \
??????????? sqlite3 \
??????????? libsqlite3-dev \
??????????? ntpstat \
??????????? ntp

Cheers,
Rafael

On 4/19/23 19:38, Ashhar Farhan wrote:
Very interesting, Rafael,
Do you mean you can hear the radio properly and only the spectrum doesn't work on 64 bit os?
- f

On Wed, Apr 19, 2023, 8:54 PM Rafael Diniz <rafael@...> wrote:

Also, I would also not recommend loading snd-aloop from
/etc/rc.local,
but in the through the proper /etc/modules (module to load) and
/etc/modprobe.d/... (for the module options file).

I had no problems with the 32 bits RaspOS / Debian yet. Ashhar, I can
confirm there is some bug in the code running on 64 bits, so that
I get
no spectrum in the sbitx software, I'll try to fix that. Apart of
this
graphical issue (or fft?), everything runs well on 64 bits indeed
(but
nobody needs to be worried about this, as it seems just me am in
64 bit
at this time).

Cheers,
Rafael

On 4/19/23 17:32, Raj vu2zap wrote:
> Evan,
>
> Mine also, sbitx doesnt work at all on some boot ups. power off
using
> rear switch and reboot
>
> generally solves problems.
>
> Sometime I launch 2 instances of sbitx and get a non functional
screen
> then I realize and close
>
> ?one instance and all is well!
>
> On 19-Apr-23 7:45 PM, Evan Hand wrote:
>> To add to Rafael's recommendation to add the noaudio in the
>> config.txt, I have also found that at times I need to shut down
the
>> Sbitx, wait for the current to drop to the normal .3 amps,
disconnect
>> the supply and short the power input pins to the Sbitx for at
least
>> 30 seconds.? I believe there is a capacitor somewhere in the
power to
>> the codec that is not allowing it to reset fully.
>>
>> You should note that I have installed a 2200uF capacitor on the
power
>> input to the Sbitx to overcome some of the 500kH noise that the
mod 2
>> regulator causes.? It may be part of the issue for me. It is still
>> worth a try.
>>
>> 73
>> Evan
>> AC9TU
>
>
>
>
>