Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- BITX20
- Messages
Search
Re: Some calculations on the IF filter and USB filter
Gerald,
Just reporting back... Unfortunately, that didn't work.? There is a clear difference between V1.2 and my "V2.0" when you spin the knob fast. In .1.2, nochange in display right away, but eventually it jumps. In my code, it just looses the change in the encoder position.? Oh well, have to keep this issue open. But the code you highlighted is exactly the problem area. Thanks again! (and sorry for hijacking this thread) 73 Mark AJ6CU |
Re: how can download file x sbitx
#sBitx
You would have received a full sd card with your kit. For preparing the sd card, you have to use a software called imager available from ? - f On Sun, Sep 11, 2022, 9:00 PM danilo datres <in3izq@...> wrote: hi everyone, so i downloaded the raspberry pi image from the Ashar site. |
Re: how can download file x sbitx
#sBitx
hi everyone, so i downloaded the raspberry pi image from the Ashar site.
then I unpacked the file and put it on the sd with win 32 disk write. writing ok, but the file doesn't work. Maybe I have to write it with raspy pi imager? can i do it by installing raspy pi imager on windows or rather do it from raspberry? I thank everyone for their help, especially ha3hz, who helped me download the image. '73 to all from in3izq danilo -- Questa email ¨¨ stata esaminata alla ricerca di virus dal software antivirus Avast. www.avast.com |
Re: Some calculations on the IF filter and USB filter
Gerald,
Thanks for the pointer! I will give this a try a little later today. There is a definite "feeling" difference between the encoder working on a nano and that on one of the faster chips. I had played with the threshold for stability and got no where. I quite frankly missed the obvious line comment 10 lines down. :-) 73 Mark AJ6CU |
Re: sBitx Update Kit Received!
#sBitx
Anthony Good
Are there instructions for installing the new regulator board
toggle quoted message
Show quoted text
On Sep 10, 2022, at 11:32, Anthony Good <anthony.good@...> wrote: |
Re: #sbitx #sbitx-k3ng #sBitx
#sbitx-k3ng
#sBitx
Anthony Good
¿ªÔÆÌåÓýHi Scott,If you want to try my latest updates that aren¡¯t merged into Farhan¡¯s main git repository, do this: 1. Open a terminal, execute the following commands... 2. git clone? 3. cd sbitx-k3ng 4.?git checkout 2022.09.06.0115 5. ./build sbitx 6. ./sbitx This will create a directory separate from the main /home/pi/sbitx/ directory, /home/pi/sbitx-k3ng/ , so you don¡¯t have to worry about some change I made wrecking your mainstream version of sbitx. ?Your desktop and start menu shortcuts for sBitx will still run the mainstream version of the app in /home/pi/sbitx/. Note that the branch being checked out in step 4 above, 2022.09.06.0115, is the current branch in my repository (sbitx-k3ng) which I¡¯m adding changes to. ?This branch will change in the future. ?When I feel good about the changes I¡¯ve made, I will submit a pull request to Fahran, which allows him to review the changes and merge into his sbitx repository. ?A merge essentially rolls out code changes I made to everyone, and the changes will be propagated to anyone running ¡®git pull¡¯ ?within /home/pi/sbitx/. If you do the git clone process above to create a sbitx-k3ng repository on your machine, you¡¯ll want to run a ¡®git pull¡¯ frequently in /home/pi/sbitx-k3ng/ to retrieve whatever updates I¡¯ve made recently. ?I¡¯ve been making announcements in the group with the #sbitx-k3ng tag when I make notable changes. ?Make note of whatever branch I¡¯m currently working on, and do a ¡®git checkout {branch name}¡¯ within /home/pi/sbitx-k3ng/ to switch your local repository to the branch I¡¯m working on. Sorry if I¡¯m covering parts of git you know already. ?Git and Github are really amazing for what they do, but I struggled with both myself. ?They are not always intuitive and can be a bit daunting to understand. 73 Goody K3NG
|
Re: #sbitx #sbitx-k3ng #sBitx
#sbitx-k3ng
#sBitx
Most or goody's changes are already in the git. What you do is this : 1. Open a terminal from the main screen. 2. In the terminal,? change to sbitx directory: ? ?cd sbitx 3. Get the latest build with git pull : ? ?git pull 4. Rebuild the sbitx ? ?./build sbitx (Be careful, the dot before the slash is important) 5. Now close the terminal, start the sbitx! - f On Sun, Sep 11, 2022, 4:26 PM Scott KE8KYP <scott_massey@...> wrote: Hey Goody, |
Re: #sbitx #sbitx-k3ng #sBitx
#sbitx-k3ng
#sBitx
Hey Goody,
I¡¯m embarrassed to ask this but can you outline the steps of downloading and upgrading your code to existing firmware? ?I¡¯d like to give your work a try. ?I struggle with gathering and making the change outside of the published method in Ashhar¡¯s manual. ?It just shows how little I work with RPI.? Thanks in advance, Scott |
Re: Some calculations on the IF filter and USB filter
Hello,
I think that it is only in these lines of code that there is a value to change in order to have a frequence scroll displayed without holes if we turn the encoder a little fast? there are comments in the programming lines that can help? it is not of capital importance, for the fun LOL *** ?s = enc_read();
?
? //if time is exceeded, it is recognized as an error,
? //ignore exists values, because of errors
? if (s == 0) {
? ? if (encodedSumValue != 0 && (millis() - encodeTimeOut) > lastEncInputtime)
? ? ? encodedSumValue = 0;
?
? ? lastMovedirection = 0;
? ? return;
? }
? lastEncInputtime = millis();
?
? //for check moving direction
? encodedSumValue += (s > 0 ? 1 : -1);
?
? //check threshold and operator actions (hold dial speed = continous moving, skip threshold check)
? //not use continues changing by Threshold
? //if ((lastTunetime < (millis() - skipThresholdTime)) && ((encodedSumValue *? encodedSumValue) <= (threshold * threshold)))
? if (((encodedSumValue *? encodedSumValue) <= (threshold * threshold)))
? ? return;
?
? lastTunetime = millis();
?
? //Valid Action without noise
? encodedSumValue = 0;
?
? prev_freq = frequency;
? //incdecValue = tuningStep * s;
? //frequency += (arTuneStep[tuneStepIndex -1] * s * (s * s < 10 ? 1 : 3));? //appield weight (s is speed)
? frequency += (arTuneStep[tuneStepIndex -1] * s);? //appield weight (s is speed) //if want need more increase size, change step size
? ??
? if (prev_freq < 10000000l && frequency > 10000000l)
? ? isUSB = true;
? ??
? if (prev_freq > 10000000l && frequency < 10000000l)
? ? isUSB = false;
? ??
? setFrequency(frequency);
? updateDisplay();
} ** |
Re: How to set bias on sBitx?
#sBitx
Peter, The bias setting procedure is in the assembly manual at the very end. - f On Sun, Sep 11, 2022 at 9:00 AM PeteWK8S via <pmeier=[email protected]> wrote: I just replaced the finals Q18 and Q19 and discovered a cracked leg on driver Q16 so replaced it. |
Re: #sbitx #sbitx-k3ng #sBitx
#sBitx
#sbitx-k3ng
Goddy
I'm not seeing the /tree directory in github. Is there a trick to finding it? Joe W3JDR |
Re: #sbitx #sbitx-k3ng #sBitx
#sBitx
#sbitx-k3ng
Thanks Goody
What version # should display on the screen? |
Re: File /uBITX_6_N8ME_2_VU3GAO_Mods.zip uploaded
#file-notice
Jack,
The option was on the version of Arduino IDE that I downloaded.? Here is a link to the Arduino web that explains how to add boards: The Board is an Arduino Nano.? The processor is ATmega328P (Old Bootloader). 73 Evan AC9TU |
Re: File /uBITX_6_N8ME_2_VU3GAO_Mods.zip uploaded
#file-notice
¿ªÔÆÌåÓýEvan, ? Thanks¡ I was away from home all day. I am not offered the old bootloader option. I can set all the other options. Where/how do I fix that and obtain the missing bootloader? ? Jack KD4IZ ? From: [email protected] <[email protected]> On Behalf Of Evan Hand
Sent: Friday, September 9, 2022 23:13 To: [email protected] Subject: Re: [BITX20] File /uBITX_6_N8ME_2_VU3GAO_Mods.zip uploaded #file-notice ? Jack, |
Re: Some calculations on the IF filter and USB filter
Gerald,
This is probably more than you wanted to know, but... There is one central encoder reading function in the KD8CEC software "enc_read()". It also uses a polling approach as opposed to interrupt. The approach is a little unusual in that the encoder is connected to two Analog lines not the usual digitals. (I think this might have been borrowed from the original OEM uBITX software) So state changes are discovered by changes in voltage thru the ADC converter. There is also a time constant that is used to ensure that the voltage read is "stable".?? OT follows: Although clever , it is a real pain in regards to porting KD8CEC code to a different processor. You need to special case each processor based on their voltage reference. Right now, Nano, NanoEvery, and Nano-BLE are happy with the original 500 (out of 1024 number) for "on". but Nano IOT and the Nano? RP Connect the number needs to be set at 200. We see what happens when I get around to trying the Teensy 4... 73 Mark AJ6CU |
Re: Some calculations on the IF filter and USB filter
Jerry,
|
Re: Some calculations on the IF filter and USB filter
I have the old 16x2 display.? If that little Nano processor is too busy updating
toggle quoted message
Show quoted text
graphics on the bigger displays, that could also cause trouble when tuning. Jerry On Sat, Sep 10, 2022 at 09:23 AM, Jerry Gaffke wrote:
It could be that interrupts are active when tuning the VFO, |
to navigate to use esc to dismiss