¿ªÔÆÌåÓý

Date

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
>
>
>
>
>






Re: new sBitx software

 

The current version can be found on github, which you can update based on the description in Install.txt.
If you are not pressed for time, then wait for the uSD card version.
Watch the release, download and use it.
I think there are a few more things that Farhan wants to include, so it will have to wait until it's done.
I do the same :-D
--
Gyula HA3HZ


Re: Error Building V2

 

I committed in my fork a Makefile takes care of this too, in case one is building on different system / architecture (this fork is even to Ashhar, just the Makefile added and the build script fixed to always build lib-ft8):

On 4/19/23 23:14, Ashhar Farhan wrote:
Cd lib-ft8
make
make install

Those are the commands if I remember correctly.
- f

On Thu, Apr 20, 2023, 1:04 AM W2CTX via groups.io <> <w2ctx@...> wrote:

I get the following error when trying to build V2

/usr/bin/ld: ft8_lib/libft8.a: error adding symbols: file in wrong
format

Ron


Re: new sBitx software

 

I know this is a dumb question, but can someone explain how to download and install the Sbitx v2 software? Thank you in advance.

Thanks again,

Robert


Re: sBitx DE v2 lost audio loopback

 

Indeed, RPi4 ethernet has auto-sense, so no need for cross cable, it will automagically swap tx/rx lines.

Rafael

On 4/20/23 00:10, Evan Hand wrote:
Farhan,

The need for a cross-link cable is for older interface chipsets. Depending on the PC, a cross cable may not be needed.? I have not tried this between two Raspberry Pi.? PC to Pi does work.
,matter%20which%20cable%20you%20use.

73
Evan
AC9TU


Re: Error Building V2

 

Bob,
Sqlite3 maybe installed, you also need sqlite3 dev to be installed. See step 11 in the install.txt

On Thu, Apr 20, 2023, 6:50 AM <jacobs@...> wrote:

I¡¯m getting an error that logbook.c cannot find sqlite3.h.?

sqlite3 is installed. V2 works, except for the logbook. Any ideas?
--
Bob AA4FJ


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

 

I'd like to improve the CW receive on my uBitx V3, by installing a narrow 4 MHz IF filter in parallel to the 12 MHz one. This gives the radio another receive mode, CWN (Lower and Upper), in addition to the normal ones.
I've found information of PA1FOX on this here: https://zendamateur.com/viewtopic.php?f=30&t=18185&p=209736&hilit=ubitx+filter#p209736

I've got a bag of crystals and the construction of the filter shouldn't give me any problems, but the associated firmware changes are another matter.

For the mounting I thought a couple of header pins in the location as done on the newer versions of the uBitx.

The plan is to drill through the pcb and glue the header pins in, with connections to the IF transformers under the pcb.

The above mentioned thread has the code from PA1FOX, but I'm at a loss as to where to place this in the rest of the code.

I'm using KD8CEC's V1.2 of the firmware, and there are probably some more things that need to be added to get this correct.

Is there anyone who's done this and is able to give some pointers?
Thanks,
Gerard, ZL2GVA


Re: Error Building V2

 

I¡¯m getting an error that logbook.c cannot find sqlite3.h.?

sqlite3 is installed. V2 works, except for the logbook. Any ideas?
--
Bob AA4FJ


Re: Sm AGC connect uBitx V6 #ubitx-v6

 

Bob,

I have that board installed in my v5 in an AmateurRadioKits.in case.? The AGC came with the case.

The Volume High and Ground on the mainboard connector work for the v6.? Volume High and ground is there.? For the 12 volts, you will need to tap into the supply from the fuse.? The trick is where to connect to the IF stages.? The circuits are very similar for all of the uBitx versions, so I you have the instructions for the v4, it should be the same for the v6.

73
Evan
AC9TU


Re: sBitx DE v2 lost audio loopback

 

I went with the path of least resistance. I used a spare router. It works fine. ?I don't need internet for the demo.
--
73,
Mark, N8ME


Re: sBitx DE v2 lost audio loopback

 

Farhan,

The need for a cross-link cable is for older interface chipsets.? Depending on the PC, a cross cable may not be needed.? I have not tried this between two Raspberry Pi.? PC to Pi does work.
.

73
Evan
AC9TU


Re: sBitx DE v2 lost audio loopback

 

You will need a cross ethernet cable. As both (the pc and the sbitx) want to connect to a hub.
Alternatively, use wifi and use the audio from the remote device (plug in an earphone jack to mute the wifi buzz on the sbitx de).
- f

On Wed, Apr 19, 2023, 11:25 PM Evan Hand <elhandjr@...> wrote:
Mark,

Rafael responded before I could on the static IP address.? That will work if you do not need internet access for time sync for FT8.? That depends on your demo.

You could also try a separate powered external speaker.? The earphone jack does not have a noise problem, at least not as bad as the internal speaker.

You could also set up a DHCP server on the PC over the wired card, connect via wifi to the location's internet and share the link.? That may also work for the static IP connection.

What OS are you running on the PC?

73
Evan
AC9TU


Re: Error Building V2

 

Cd lib-ft8
make
make install

Those are the commands if I remember correctly.
- f

On Thu, Apr 20, 2023, 1:04 AM W2CTX via <w2ctx=[email protected]> wrote:
I get the following error when trying to build V2

/usr/bin/ld: ft8_lib/libft8.a: error adding symbols: file in wrong format

Ron


Error Building V2

 

I get the following error when trying to build V2

/usr/bin/ld: ft8_lib/libft8.a: error adding symbols: file in wrong format

Ron


Re: sBITX V2 Image

 

The original image was here:


I do not know where Farhan plans to store the v2 image.? It could be on GitHub if the file size is not an issue.

We should get a post when it is done and where to find it.

73
Evan
AC9TU


Re: sBITX V2 Image

 

Not as far as I know but I keep checking here,

Joel
N6ALT


sBITX V2 Image

 

Has the SD image for V2 been posted?

Ron