开云体育

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

Re: An alternative for sBitx software development

 

I am also using VS Code with the git, remote-ssh, and C language extensions. Works great.?


Re: Baofeng Microphone for uBITX #microphone

 

Thanks for the replies.?
--
'72
Aaron?


#sbitx #speaker #sBitx #speaker

 

Hi. What's the part number / name / type of the speaker plug J10? Thx.


Re: Baofeng Microphone for uBITX #microphone

 

I saw this one too, but I'm not sure it would work on the uBitx, because the mic for the uBitx has only three connections on the plug rather than four.? I think the difference is that the uBitx mic is just a mic, and not a speaker-mic.?

Checked my mic for a part number, but couldn't find one.? Unfortunately, so far I've not found anything for sale that looks like it matches up.?

Might need to contact hfsignals.com or gigparts.com directly to see if one could be ordered.

Another option might be to order a Baofeng speaker mic and change the connector to a 3.5mm stereo plug,? or find/build a short cable to adapt it.

73 Rolan N8LOV


Re: sBitx V2 SN #141 Spurious/Harmonic Measurements

 

Gordon,

If it is passed through on the bias circuit, would adding some capacitors help?? Every connection of the bias to the LPF circuit may need to be bypassed.



This might mess up the filters instead of helping.

So far, you are the only one that is reporting an issue.? It would help if others verified that there is an issue with other V2 sbitx or for HFSignals to respond with measurements from the production units that have been tested.

73
Evan
AC9TU


Re: Baofeng Microphone for uBITX #microphone

 

Hi,
may be you are looking for this:

?

73 Norbert DH5JW

Aaron K5ATG <Aaron@...> schrieb am Sa., 21. Okt. 2023, 23:38:

I am hoping that someone could help me out and provide me with a link on where I can purchase a Baofeng microphone. I'm referring to the one that comes with the uBITX, the hand microphone that looks like it is for an HT but it has just the one pin instead of 2 pins.?
Thank you
--
'72
Aaron?


Re: #sBitx FFTW3 libraries #sBitx

 

amazing.
Gordon KX4Z


On Sat, Oct 21, 2023 at 8:13?PM Ashhar Farhan <farhanbox@...> wrote:
Mark,
I thought (without really confirming this) that the rpi zero is 32 bit and hence it will work much faster with single precision math hence decided on single precision fft?
The fftw? library didn't build the single precision directly, you had to first build the double precision version and then build the single precision, hence the mixup.
With RPI, now that the GPU FFT library is available, the proper thing to do would be to use that, I saw someone had written a wrapper around it to be a drop-in replacement for the fftw. This will shave off many cycles from the cpu consumption.
Interestingly, I ran gprof on sbitx, the timr spent on fftw is minor. Most of the cpu cycles were spent in other loops in rx_process that copy samples and bins around. There must be some DMA kind of a way to do this.
- f

On Sun, Oct 22, 2023, 1:09 AM Mark Erbaugh <mark.election@...> wrote:
I noticed that the stock firmware uses both the standard (double) and float FFTW3 libraries. The install instructions have you build both library versions. It looks like the float libraries are only used in fft_filter.c, the standard libraries are used elsewhere. Is there a reason that fft_filter.c doesn't use the standard library?

FWIW, I modifed the code to use the standard library in fft_filter and build the program with just the standard library and everything seemed to work.

Then, I changed all the code to use just the float library. It seems to work also and at least on receive (I haven't tried transmit), it seems to sound fine. Does the program need the precision of the standard library? Does using the float library speed up the FFT process?
--
73,
Mark, N8ME


Re: #sBitx FFTW3 libraries #sBitx

 

Mark,
I thought (without really confirming this) that the rpi zero is 32 bit and hence it will work much faster with single precision math hence decided on single precision fft?
The fftw? library didn't build the single precision directly, you had to first build the double precision version and then build the single precision, hence the mixup.
With RPI, now that the GPU FFT library is available, the proper thing to do would be to use that, I saw someone had written a wrapper around it to be a drop-in replacement for the fftw. This will shave off many cycles from the cpu consumption.
Interestingly, I ran gprof on sbitx, the timr spent on fftw is minor. Most of the cpu cycles were spent in other loops in rx_process that copy samples and bins around. There must be some DMA kind of a way to do this.
- f

On Sun, Oct 22, 2023, 1:09 AM Mark Erbaugh <mark.election@...> wrote:
I noticed that the stock firmware uses both the standard (double) and float FFTW3 libraries. The install instructions have you build both library versions. It looks like the float libraries are only used in fft_filter.c, the standard libraries are used elsewhere. Is there a reason that fft_filter.c doesn't use the standard library?

FWIW, I modifed the code to use the standard library in fft_filter and build the program with just the standard library and everything seemed to work.

Then, I changed all the code to use just the float library. It seems to work also and at least on receive (I haven't tried transmit), it seems to sound fine. Does the program need the precision of the standard library? Does using the float library speed up the FFT process?
--
73,
Mark, N8ME


Re: #sBitx FFT filtering question - answer #sBitx

 

I think I figured it out. The agc2() routine was only adjusting the imaginary part. I changed it to work on the real part and it works.
--
73,
Mark, N8ME


Baofeng Microphone for uBITX #microphone

 

I am hoping that someone could help me out and provide me with a link on where I can purchase a Baofeng microphone. I'm referring to the one that comes with the uBITX, the hand microphone that looks like it is for an HT but it has just the one pin instead of 2 pins.?
Thank you
--
'72
Aaron?


Re: sBitx V2 SN #141 Spurious/Harmonic Measurements

 


The sBitx appears to be using the same improved inductors that the QDX switched to after early problems. ?But I’m still seeing some bleed around. ? It looks like Ashhar is providing about six times the bias current for the 1N4007’s. ? We are running about 2 to 5 times the power output, but the current wouldn’t be increased but by the square root of that amount. ? And where I’m seeing the problem is on the higher bands —not the lower freq bands where you would think the charge carriers would be hard-pressed to stick around long enough. ? ? Not sure if carefully selecting the diode’s or running 2 in parallel would make an improvement?

gordon


#sBitx FFTW3 libraries #sBitx

 

I noticed that the stock firmware uses both the standard (double) and float FFTW3 libraries. The install instructions have you build both library versions. It looks like the float libraries are only used in fft_filter.c, the standard libraries are used elsewhere. Is there a reason that fft_filter.c doesn't use the standard library?

FWIW, I modifed the code to use the standard library in fft_filter and build the program with just the standard library and everything seemed to work.

Then, I changed all the code to use just the float library. It seems to work also and at least on receive (I haven't tried transmit), it seems to sound fine. Does the program need the precision of the standard library? Does using the float library speed up the FFT process?
--
73,
Mark, N8ME


Re: sBitx Raspios Bookworm

 

Thanks.

You mentioned you maintain a fork of WiriingPi. I've heard that the reason Raspberry Pi dropped it from their repo's was because the original developer stopped work on the project. Do you know if the RPi people are coming out with an official way to manipulate GPIO pins from software? It seems odd that that feature is missing from the official operating systems.
--
73,
Mark, N8ME


Re: #sBitx Telnet server #sBitx

 

P.S. The frequency didn't change on the sBitx.
--
73,
Mark, N8ME


Re: #sBitx Telnet server #sBitx

 

Thanks for the reply.? I typed "f 7050" into the telnet client and the screenshot shows what I got.


--
73,
Mark, N8ME


Re: sBitx V2 SN #141 Spurious/Harmonic Measurements

 

?

In the light of what Evan pointed out about the inductors series resonances in another project, consider the trace below. ? This is the transfer function from the input of the switched low pass filter system all the way to the antenna, when no particular band is enabled. ?


at the time I was making the measurements this didn’t make any sense to me. But now you can see that it clearly shows that there are paths AROUND the filters, and sometimes they are as passable as -25db or so!!! ?This trace should be 2 MHz to 52 MHz so that big spike is somewhere in the low 30 MHz range. ??

That would appear to be a huge problem for the purity of the output signal, right? ?You want the bleed around to be way less than -45 DB.?

if the inductors have series resonances, and the filtering isn’t perfect on powerlines, then signal can get right across. ?Escaping the filters and creating havoc on the output.?


this is another possible improvement
gordon Kx4z?





Re: #sBitx Telnet server #sBitx

 

The commands are the labels on the controls. For instance "RIT ON" or "RIT OFF".


On Sat, Oct 21, 2023, 9:18 PM Ashhar Farhan <farhanbox@...> wrote:
Try "f 7050" to change to 7050 khz. "m usb", etc.


On Sat, Oct 21, 2023, 7:15 PM Mark Erbaugh <mark.election@...> wrote:
Looking in the source code file remote.c, I see that sBitx supports a telnet server on port 8081. Using the telnet client built into Windows 10, I can connect to the server about 1 time in 3. When it doesn't connect I get a message 'unable to connect'. When I do connect, the screen clears and prints "sbitx v2.0" at the top. But what can I do at that point. If I type an 'f' I get the response shown in the screen shot.
--
73,
Mark, N8ME


Re: #sBitx Telnet server #sBitx

 

Try "f 7050" to change to 7050 khz. "m usb", etc.


On Sat, Oct 21, 2023, 7:15 PM Mark Erbaugh <mark.election@...> wrote:
Looking in the source code file remote.c, I see that sBitx supports a telnet server on port 8081. Using the telnet client built into Windows 10, I can connect to the server about 1 time in 3. When it doesn't connect I get a message 'unable to connect'. When I do connect, the screen clears and prints "sbitx v2.0" at the top. But what can I do at that point. If I type an 'f' I get the response shown in the screen shot.
--
73,
Mark, N8ME


#sBitx Telnet server #sBitx

 

Looking in the source code file remote.c, I see that sBitx supports a telnet server on port 8081. Using the telnet client built into Windows 10, I can connect to the server about 1 time in 3. When it doesn't connect I get a message 'unable to connect'. When I do connect, the screen clears and prints "sbitx v2.0" at the top. But what can I do at that point. If I type an 'f' I get the response shown in the screen shot.
--
73,
Mark, N8ME


Re: sBitx V2 SN #141 Spurious/Harmonic Measurements

 

开云体育

Evan, I’m also noticing those inductors!!?

I sure hope we get to the bottom of this.


On Oct 21, 2023, at 05:00, Evan Hand <elhandjr@...> wrote:

?Gordon,

The early QDX kit builders (I was one) had to rework the first released boards of the QDX to remove four SMD 47uH chokes and replace them with through-hole inductors.? The reason given was that the chokes' self-resonance changed the filter characteristics.? Could that be the issue here as well?

The equivalent inductors to replace would be L202, L4, L5, L3, and L2.??

Ashhar Farhan stated that the LPF PIN diode switch design was based on Hans Summers' work.? Hans is the designer of the QDX.

I do not own a V2, so I can not verify your tests.? As stated before, the DE I have meets all FCC requirements as far as I can test.? The DE uses relays to switch the LPFs.? This would support your theory that there is an issue with the filter selection circuits.

73
Evan
AC9TU