Keyboard Shortcuts
Likes
- BITX20
- Messages
Search
Re: sBITX Toolbox - A great companion for the sBitx transceiver is now available for public release
#file-notice
#sBitx
#sbitx_v2
#sBITX_v3
#wiki-notice
I created more options for sBITX Toolbox Launcher and am testing them before pushing to GitHub.. The custom application function allows you to create buttons for websites, binary files, and system commands.? I still need to update documentation for this as well, but wanted to share a preview..
I respectfully ask that the general, CAT "rig control" discussion be moved to a new thread on here. Thank you. |
Re: sBITX Toolbox - A great companion for the sBitx transceiver is now available for public release
#file-notice
#sBitx
#sbitx_v2
#sBITX_v3
#wiki-notice
On Tue, Jan 30, 2024 at 03:58 PM, Gordon Gibby wrote:
At a minimum just be able to set the frequency and possibly go into transmit mode.This level of stuff is possible already, you can see it operate from the command line. On my sbitx: 1) Start the sbitx application 2) Open a Terminal 3) Install some software: $ sudo apt install libhamlib-utils
4) Use the 'rigctl' command to send hamlib commands to the sbitx application 5) The following set my sbitx's frequency to 7070 kHz $ rigctl -m 2 -r 127.0.0.1:4532 F 7070000 Interpretation: > -m 2 means mode 2 which is hamlib net rigctl > -r 127.0.0.1:4532 connects to sbitx's hamlib implementation (see earlier post) > F is the frequency command > 70700000 is frequency in Hertz 6) Do 'man rigctl' then move forward till you see 'rigctl Commands' to get a list of the commands that should work (but most don't). 7) Cross check this with $HOME/sbitx/hamlib.c to see what is actually possible (hint: not a lot) So you can see the 'T 1' command puts the radio into transmit and 'T 0' takes it out. As we used to say in the early days of open source, UTSL (Use the Source, Luke!). ?if there is a way to access the sound card so much the better but external sound cards can be used. ?This already works for wsjt-x and for fldigi, why would it not work for other software? Or are you saying you need to use software that runs on Windows and not on Linux? ? -- Regards, Dave, N1AI |
Re: sBITX Toolbox - A great companion for the sBitx transceiver is now available for public release
#file-notice
#sBitx
#sbitx_v2
#sBITX_v3
#wiki-notice
On Wed, Jan 31, 2024 at 04:38 AM, Gordon Gibby wrote:
Ashhar, I'm not familiar with "Net Rig Conttrol"? ? Is this related?to "rigcat" which is one of the options in FLDGI?? ?My understanding is:
|
Re: #sBitx WM8731 Codec
#sBitx
On Mon, Sep 4, 2023 at 06:23 AM, Rafael Diniz wrote:
I don't see any reason why you can not use other ALSA devices. You can - just make sure the order they are brought up so not to confuse userland. Again, sorry if I'm digging up an old thread, but the topic popped up again. |
Re: Strong click when switching on the transmission
#sBitx
This sound can be heard when I switch from reception to transmission at ft8. It sounds like a metallic sound, like a metal door being slammed.
Sometimes it's louder, sometimes it's softer. I didn't find any logic in it. There were times when I thought that among the many stations, one or two switched on first and that's it. Then I pushed the tx delay (here cw delay) up to 1000, but it had no effect. You might ask why I haven't heard or said anything about this until now. It has been present until now, with varying volumes and lengths. It is always present when switching from reception to transmission. This is what is permanent. I would like to know if those who have delved into the hardware repair to different depths on several occasions have experienced such a phenomenon. I guess they were happy to find the source of the error. I read somewhere that self-vibration was mentioned for some stages, but now I can't find the discussion. A 100nF capacitor solved the problem there. It is possible that an audio mute would solve the problem. I've only been using it regularly since last November - with over a thousand ft8 qso's. Initially, due to the lack of LOG saving, I used another log program. I just got to the point of noticing this phenomenon as well. I see that there is no progress in the matter of complex callsigns. (displaying /p or /prefix or unusual multi-number, multi-letter callsigns) -- Gyula HA3HZ |
Re: sBITX Toolbox - A great companion for the sBitx transceiver is now available for public release
#file-notice
#sBitx
#sbitx_v2
#sBITX_v3
#wiki-notice
Ashhar, I'm not familiar with "Net Rig Conttrol"? ? Is this related?to "rigcat" which is one of the options in FLDGI?? ?Unfortunately I don't know if that is at all related to how N3FJP or WINLINK authors control radios.? ? However, emulation of any of several popular radios makes controlling from? any of these software products fairly easy.? ? ?I may be able to dig up the code that I wrote to have a uBitx do a tiny bit of emulation of an Icom just so frequency?control could be accomplished.? ? One of the yaesu's was already built into the uBitx (I'm sure your'e?more familiar with this than I) Here is some code I found in an ancient .ino file that I think could read a single CAT command and change the frequency.? ?I had a raduino?controlling in a Heathkit vacuum tube radio, substituting for the vacuum tube VFO - it worked. // --------------------------TRY TWO TO DO CAT--------------------------- // ?The minimum command we have to listen for is change frequency // ?5 bytes: ? MM MK KK HH ?01 ? is the command // ?where MMM are the megaherts ?(eg ?01 4 // ?and the KKK are the kilohertz ?(eg ? 234 // ?so for example ? 01, 42, 345, 56, 01 means // ?change frequency to 14,234.56 kilohertz void checkSerialData() { ? int packed; ? int i = Serial.available(); ? // Note that the internal buffer on the arduino can hold up to 64 bytes ? ? if (i < 5) return; ?// if you got here then there are at least 5 ints (?bytes?) ?waiting: get it. printLine(1, (char *)"5bytes"); ? ? ? ? delay(10); ? ? ? for (i=0; i<5; i++) { ? ? ? ? receivedserial[i] = Serial.read(); ? ? ? ? // Serial.read pulls exactly one byte ? ? } ? ? // now chek for the command in the last byte ? ? switch (receivedserial[4]) { ? ? ? ? ? ? ? ? ? ? ? case 1: // frequency is in packed BCD; binary coded decimal; // so left 4 bits give top decimal number 0-9 ?and right 4 bits give bottom decimal number 0-9 // ? ? ? ?case CAT_FREQ_SET: ? ? ? ? ? ? // convert the 4 bytes of numbers (tens of MHz), (hundreds of kHz), (kHz), (tens of hz) ? ? ? ? ? frequency = 0UL; ? ? ? ? ? packed = receivedserial[0]; ? ? ? ? ? frequency = ? ? 10000000UL * ? (unsigned long) ( ((packed & 0xF0)>>4 )* 10 ?+ ? (packed & 0x0F) ) ; ? ? ? ? ? packed = receivedserial[1]; ? ? ? ? ? frequency = frequency + ?100000UL * ? (unsigned long) ( ((packed & 0xF0)>>4 )* 10 ?+ ? (packed & 0x0F)); ? ? ? ? ? packed = receivedserial[2]; ? ? ? ? ? frequency = frequency + 1000UL * ? (unsigned long) ( ((packed & 0xF0)>>4 )* 10 ?+ ? (packed & 0x0F)); ? ? ? ? ? packed = receivedserial[3]; ? ? ? ? ? frequency = frequency -40 + 10UL * ?(unsigned long) ( ((packed & 0xF0)>>4 )* 10 ?+ ? (packed & 0x0F)); ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?setFrequency(frequency); ? ? ? ? ? ? ? ? ? ? ?Serial.write(ACK); ? ? ? ? ? ? break; ? ? ? ? ? ? ? ? default: ? ? ? ? ? ? printLine(1, (char *)"Othercmd"); ? ? ? ? ? ? delay(10); ? ? ? ? ? ? Serial.write(ACK); ? ? ? ? ? ? break; ? ? } }? ?? On Wed, Jan 31, 2024 at 1:23?AM Ashhar Farhan <farhanbox@...> wrote:
|
Re: Strong click when switching on the transmission
#sBitx
Hi Gyula,
toggle quoted message
Show quoted text
The only clicking sound I notice is when the alsa capture level (rx or mic) is changed. Is that the case for you? - Rafael On 1/30/24 21:56, HA3HZ wrote:
It seems to me that there is only one satisfactory solution. |
Re: sBITX Toolbox - A great companion for the sBitx transceiver is now available for public release
#file-notice
#sBitx
#sbitx_v2
#sBITX_v3
#wiki-notice
Hi JJ,
toggle quoted message
Show quoted text
There is no tx_compression implemented in Farhan's (there are no programmers, just one programmer) sBitx code. - Rafael On 1/30/24 18:57, JJ - W9JES wrote:
On Tue, Jan 30, 2024 at 01:41 AM, Paul wrote: |
Re: sBITX Toolbox - A great companion for the sBitx transceiver is now available for public release
#file-notice
#sBitx
#sbitx_v2
#sBITX_v3
#wiki-notice
Owen Baldwin
Thank you Gyula, On Tue, 30 Jan 2024 at 12:37, HA3HZ <gyula@...> wrote:
|
Re: sBITX Toolbox - A great companion for the sBitx transceiver is now available for public release
#file-notice
#sBitx
#sbitx_v2
#sBITX_v3
#wiki-notice
Net Rig Ctrl is already implemented on sbitx. That is how wsjtx and fldigi work with it On Wed, Jan 31, 2024, 5:07 AM Dave, N1AI <n1ai@...> wrote: My understanding is the classic generic radio to emulate via hamlib is the Kenwood TS-2000. |
Re: hacking the audio system of sbitx DE, V2, V3
I forgot to say that I use the term 'wisdom files' because it creates two files, one for single precision, another for double.
If one cherry picks Mark N8ME's changes to just use single precision and get rid of double, only one file is needed. And if you are using Pi 5 you should not use any of the checked in files, they were made on Pi 4. I actually think given how many different OSes and processors we have now and in the future, there should be no wisdom files checked in at all. This means the first start is slow, which is very confusing to newbies, but maybe if we get rid of double precision it won't take so much time. Ideally we'd post a "creating wisdom file, please wait" message on the UI followed by "done creating wisdom file" when appropriate. I think each message can be posted with a single line of code. Finally, I think my changes to put the wisdom files into $HOME/sbitx/data have not been merged. Maybe I'll make a PR to improve this area, we shall see, or maybe someone else will beat me to it. -- Regards, Dave, N1AI |
Re: #sBitx on Raspberry Pi OS 64-bit
#sBitx
Paul,
I set my system time to London/Europe so it be in GMT and ran the sbitx from the command line and got this on the output: pi@sbitx:~/sbitx $ ./sbitx sbitx v3.02 ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred synchronised to unspecified at stratum 3 time correct to within 70 ms polling server every 512 s Checking for valid NTP time ...Syncing RTC to 2024-01-31 02:31:28 Mode: LSB Mode: LSB Mode: USB Mode: CWThe time is correct which was about 02:25 when I changed my system time but the title bar displayed the time an hour short 01:31:xx. I wrote a little c program to do gmtime() and that worked and the "ntptime -r" command returns the correct time as well. So I took the sbitx V3 software and installed it on the 64-bit OS along with my wiringpi and the sbitx software now shows the same time in GMT as the System clock. Something has changed in version 3.02 to cause this. I suppose I could run a diff on the sbitx_gtk.c files of the two versions to see what's changed. -- Jerry Ponko, AC9NM |
Re: hacking the audio system of sbitx DE, V2, V3
On Fri, Jan 19, 2024 at 04:02 AM, Rafael Diniz wrote:
I just saw you added to the fft code the support for "wisdom" file. How is it created?I'm sorry if this has already been answered but it has popped up again recently. The wisdom file gets created by a function in the fftw library.? If the wisdom file is not present, the fftw runtime creates it.?? Once one is created, that same data is reused till it is erased. I don't understand why we need to create some fft parameters in runtime, during initialization, from the received signal, as far as I understand (sorry my ignorance in DSP matters).A bit of googling says "wisdom files contain saved information about how to optimally compute (Fourier) transforms of various sizes".? The parameters are created? at runtime based on how fast the current processor runs certain algorithms from the current fftw library.? As I understand it, all Pi 4s running the same code should create similar data.? It is not using the received signal, it is just running standard fftw kernels to figure out the best ones to use. The real question is what happens if wisdom data is not used.? Our observation is the fftw run time picks algorithms at startup time but it's not clear how it does this.? What is clear is some times it makes bad choices.?? This is the source of the 'ghosts' or 'hallucinations' that were seen before Steve created the wisdom fix. -- Regards, Dave, N1AI |
Re: SBITX v3 - Ability to use a Headset for phone modes
On Tue, Jan 30, 2024 at 11:17 AM, Paul wrote:
this was on the SBITX speaker, not the headsetOk.? hence the headset is more comfortable to listen to once I can get the volume/gain level right and ideally adjustable,I have a range of old-school wired headsets and computer speakers to plug into the headset jack.? Audio could be better but not bad overall. the headset volume is restricted by the amount of gain controlled by the loopback device used to testSorry if I'm being redundant but 'sox' can take a gain factor in db.? so headset volume adjusted to max and it was easy enough to listen on 40m SSB earlier today even weak signals were audible in the headset compared to listening on the sbitx speaker which is a good improvement really.Nice! The logical next step (for playback anyway) now is to get the audio out of audioinjectorpiHope I'm not being too picky, but what comes out of audioinjectorpi is not audio, it's radio data that needs to be processed by software (DSP code) to get audio. into a separate loopback (maybe the unused spare perhaps) as well as the ones used for digital so as not to upset the digital functions that seem to work well so far but volume control fixed in those, need it to be variable in the new Loopback.I think the space needs to be investigated.? Ideally we'd have something like DAX for the Flexradio 6000 where the user could set up the different things they expect to send data or audio to, and then the software would deliver what is requested and nothing more.? Poor JJ, another app for him to write!? As far as I can tell the current software just writes to the two loopbacks all the time, regardless of if anyone is listening or not. While I can figure out and read code to some extent I am not a programmer, logically, I would probably copy the code that drives loopback 0(hw:1,0) from hw:0,0 and use it to drive loopback 2(would be hw:3:0) so that hw:0,0 plays audio output to both loopbacks at the same time. That way the changes to drive another audio device can be made in isolation related to the new loopback device.That's certainly possible. I did install gnuradio with a view to trying to draw this but bit of a learning curve :-)Yes, I agree.? I was thinking of doing a little video at some point to show how I made this simple flowgraph and how easy it is to extend it. The art of drawing in text? :-)Makes sense. ? -- Regards, Dave, N1AI |
Re: sBITX Toolbox - A great companion for the sBitx transceiver is now available for public release
#file-notice
#sBitx
#sbitx_v2
#sBITX_v3
#wiki-notice
My understanding is the classic generic radio to emulate via hamlib is the Kenwood TS-2000.
At least this is what the Flex product line does going back to the days of the Flex 1500 which I bought in the mid 2000s. Seems this was a popular radio as hamlib was being developed. I actually have one but have never attached it to any computer. -- Regards, Dave, N1AI |
Re: Strong click when switching on the transmission
#sBitx
It seems to me that there is only one satisfactory solution.
Headphones must be connected to the headphone jack. Any other controls have no effect on this clicking sound. I tried the volume, the tx driver, the cw delay. Temporarily as if something happens, then it clicks again. -- Gyula HA3HZ |
Re: sBITX Toolbox - A great companion for the sBitx transceiver is now available for public release
#file-notice
#sBitx
#sbitx_v2
#sBITX_v3
#wiki-notice
开云体育JJ, that would be great. At a minimum just be able to set the frequency and possibly go into transmit mode. ?if there is a way to access the sound card so much the better but external sound cards can be used. ?Thanks ! ? I wrote a simple one for the ICOM emulation for the UB series and it worked On Jan 30, 2024, at 14:02, JJ - W9JES <w9jes@...> wrote:
|
Re: sBITX Toolbox - A great companion for the sBitx transceiver is now available for public release
#file-notice
#sBitx
#sbitx_v2
#sBITX_v3
#wiki-notice
On Tue, Jan 30, 2024 at 04:50 AM, Gordon Gibby wrote:
Hi Gordon, I am currently developing an interface for this. It is rather complex to interface with the limitations of the sBitx code, so development is somewhat slow. I am also an independent developer/enthusiast not associated with HF Signals :) -JJ |
Re: Double or triple LOG saving
#sBITX_v3
I think we're still not talking about the same thing. v3.02 gtk ui on the 7" screen. This is what I use.
There is a timeout in sbitx_gtk.c that sets it to two minutes. If you go over that, it will autolog save again whether you want it or not. -- Gyula HA3HZ |
Re: sBITX Toolbox - A great companion for the sBitx transceiver is now available for public release
#file-notice
#sBitx
#sbitx_v2
#sBITX_v3
#wiki-notice
On Tue, Jan 30, 2024 at 01:41 AM, Paul wrote:
Looking good, curious, is the Compression level setting a hidden setting not available on the front panel?Hi Paul, I have no idea why the sBitx programmers decided to hide the Mic Compression settings. I also agree that the compression level displayed in the image is incorrect. I set it to 40 manually just to test functions. Ideally the comp level should be much lower for real world applications and the mic gain should be adjusted first before any compression is added. Thanks for pointing that out and I appreciate your comments! -JJ |