¿ªÔÆÌåÓý

Date

Re: sBitx Update Kit Received! #sBitx

 

Mine arrived in Friday¡¯s mail. Thank you, Ashhar!


Re: corrupted sbitx directory files #sBitx

Anthony Good
 

¿ªÔÆÌåÓý

Before you replace files, try deleting (or renaming) your settings file, /home/pi/sbitx/data/user_settings.ini. ?I have had it several times where upon restart of the app or restart of the Pi, something goes wonky and deleting the settings file fixes it. ?I haven¡¯t gotten to the bottom of it yet.

If you need to toss a hand grenade, I would do the following:

cd /home/pi
mv ./sbitx ./sbitx.old
git clone?
cd ./sbitx
./build sbitx
./sbitx

73
Goody
K3NG

On Sep 11, 2022, at 18:12, PeteWK8S via <pmeier@...> wrote:

My directory of sbitx files is corrupted. When I launch it I get strong raspy pulsing noise.
I have tried to redown load it but it's not working.?
I know the sbitx files are corrupt as switching to the current sbitx-K3ng all is working properly and quietly.
I want to replace all the files as I don't what's corrupt in the main sbitx directory.
What are the proper terminal commands to do this please?

Pete WK8S


corrupted sbitx directory files #sBitx

PeteWK8S
 

My directory of sbitx files is corrupted. When I launch it I get strong raspy pulsing noise.
I have tried to redown load it but it's not working.?
I know the sbitx files are corrupt as switching to the current sbitx-K3ng all is working properly and quietly.
I want to replace all the files as I don't what's corrupt in the main sbitx directory.
What are the proper terminal commands to do this please?

Pete WK8S


Re: sBitx Update Kit Received! #sBitx

Anthony Good
 

¿ªÔÆÌåÓý

I figured it out. ?Here¡¯s what I did, translated into directions. ?These are preliminary, your results may vary.

1. ?Take off the top panel and disconnect the speaker. ?Lay this aside.
2. ?Disconnect the white ribbon cable going from the Pi to the touch screen display. ?There are little black tabs on each side of the connector on the display unit that need to pop straight out in the direction of the ribbon cable to release the ribbon cable.
3. ?Disconnect the brown and black wire (touch display power) from the digital board.
4. ?Remove the gray ribbon cable out of the digital board by pulling the gray ribbon straight backwards.
5. ?Loosen the two nuts on the right side holding the metal bracket that the Pi and the digital board is mount to. ?Do not take the nuts entirely off.
6. ?Pull the Pi and digital board assembly straight up to remove and set aside.
7. ?Remove the four screws holding the main board to the chassis
8. ?Disconnect the two red wires from the power switch on the back panel
9. ?Remove screws on the four back corners of the outside of the chassis to remove the back panel along with the main board.
10. ?Put the rest of the chassis with the screen and controls aside. ?Carefully place the back panel and main board on your workbench and loosen the three screws holding the bar that presses the two final transistors and the LM338 regulator on to the back panel heatsink. ?Remove the bar and three screws. ?The main board should be loose from the back panel now.
11. ?Unsolder the LM338. ?With the front of the main board facing you, it¡¯s the first three pin device from the left on the back on the back that was against the heatsink.
12. Solder the black (ground) wire of the new switching regulator to the negative side of the orange electrolytic capacitor. ?This capacitor is soldered on top of R80, a SMD resistor.
13. Solder the red switching regulator wire (+13.8 volt input) to the right-most pin where the LM338 used to be. ?This is the input pin shown in the diagram below.
14. Solder the white switch regulator wire (output) to the middle pin, where the LM338 used to be. ?This is the output pin shown below. ?(The first pin of the LM338, labeled ¡°Adjust" below, will remain open.
15. ?Place the main board against the back panel. ?Place the bar that presses the final transistors to the heatsink place. ?Place the three screws back in, but do not tighten all the way. ?Leave them rather loose.
16. ?Place the main board and back panel together back into the main chassis. ?Line up the three front jacks (mic, earphone, cw key) to the holes in the front panel. ?Carefully push the back panel into place until it mates correctly with the side and bottom panels.
17. ?Line up the main board with the four screw holes. ?Place the four screws in, starting them, but leaving them slightly loose. ?After all four are started, tighten all four.
18. ?Tighten the three screws that are in the bar that presses the two final transistors on to the back panel heatsink. ?Use your best judgement. ?(I tightened until the two final transistors would not move with me pressing my finger nail on the side of them.)
19. (Optional step) ?Connect the power. ?Turn on the unit and use a voltmeter to verify that the white lead from the new switching regulator has about 5.4 volts on it. ?If it is not close to 5.4 volts, stop and troubleshoot. ?If it¡¯s good, turn off the unit, disconnector the power, and proceed.
20. ?Re-assemble the remaining parts of the unit. ?Slide the pi and digital board subassembly back in, being sure to have the pins on the bottom meting correctly with the connector on the main board. ?Be sure to connect the gray ribbon cable to the back of the digital board (it is keyed so it can be inserted only one way), the white ribbon cable to the display unit (blue side down, silver side out), and black & brown power cable for the display going to the digital board (brown is down, black is up). ?The assembly manual has pictures that can help ().
21. ?Reinstall the top panel, connecting the speaker to the digital board prior to putting the top panel on.
22. ?Connect the power, and power up!




73
Goody
K3NG


On Sep 11, 2022, at 10:09, Anthony Good <anthony.good@...> wrote:

Are there instructions for installing the new regulator board

On Sep 10, 2022, at 11:32, Anthony Good <anthony.good@...> wrote:

Received my kit here in W3 land. ?Yeahhhhh

73
Goody
K3NG



Re: Some calculations on the IF filter and USB filter

 

Evan,

Thanks for the suggestion! Will definitely look at that.

I don't like the way the encoder is handled? in KD8CEC (which I believe lifted it from the OEM software) because it is not very portable. Some MCU's turnoff the pullups on analog line after a analogread (think that is true with the Nano BLE and RPConnect). So I had to add extra pinmodes to restore the pullups after every analogread. And of course, with different Vref's scaling on different processors, you can't count on 500 being half the scale...Yecch.

73
Mark
AJ6CU


Re: Some calculations on the IF filter and USB filter

 

Hello Mark,

I came across this. I this it's one of your folder i think
There may be interesting things to discover for those who have a Nextion screen.

You wrote:

There are three main folders here:

  1. Original_KD8CEC - these are the ones that Ian Lee originally designed
  2. User_Contributed_Screens - these are screens that various users have enhanced or created
  3. Resources - currently contains artwork for various size screens that can be leveraged for new screens
It¡¯s a bible for the Nextion screens.
probably useful, because a lot of questions about that.

i download it (150Mo). Will made some tests later

Thank's
cdt

Thank's
?


Re: how can download file x sbitx #sBitx

 

Past experience with SD cards for a Pi is to go with a name brand card because quality control with the "off" brands is not the same.?? I have also found that if you have a image that takes a full 32 Gb move up to a 64, the extra room helps in the imaging process and allows there to be expansion space later on if you want to add things and not worry about space.


Re: how can download file x sbitx #sBitx

 

Danilo,

I needed to get another microSD card when I ran into that issue.? The cheap ones from Amazon will not formate to greater than 30Gb, which is required for the image that HFSignals provides (I wish they would use a 16Gb card, as you can always expand the file system size after installing).

The Samsung and SanDisk cards worked for me.? The Micro Center cards did not.

I have not tried it, but using a 64Gb card could work as the Raspberry Pi can read anything up to 256Gb that I have tried.

73
Evan
AC9TU


Re: how can download file x sbitx #sBitx

 

ok, i downloaded raspy imager, but when i go to write, it tells me that the sd is small. formatting it with windows gives me 29.1 gig and raspy says it needs 31.9. now I'm downloading the image file again, maybe I improve something. same thing also with balena hetcher .. wait? other info...

another? question :? the? file? imagine? need open or? i? write as is ??? tnx? to? all..?? i? hope? explicated? ok...? 73? in3izq danilo



--
Questa email ¨¨ stata esaminata alla ricerca di virus dal software antivirus Avast.
www.avast.com


Re: how can download file x sbitx #sBitx

 

You have to use a program that will create a bootable SD card. The Raspberry Pi Imager will work. Other popular programs that can be used include Rufus and Balena Etcher. All of those are available on Windows and other operating systems.

The card that came with your sBitx will work out of the box, and you can update the software in place with git. Reflashing the SD image is mostly useful if you lost the original card, damaged it somehow (either hardware or software), or you want to create an alternate card for testing forked software such as the builds from K3NG.

On Sun, Sep 11, 2022 at 11:30 AM danilo datres <in3izq@...> wrote:
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.







Re: Some calculations on the IF filter and USB filter

 

Mark,

The N8ME with VU3GAO mods does not have an issue with the v6 stock display.? Since the Nano updates the display, it should have a higher load than the KD8CEC software.? You could look at that code for ideas on implementing the encoder software.

/g/BITX20/filessearch?p=name%2C%2Cn8me%2C20%2C1%2C20%2C0&jump=1


73
Evan
AC9TU


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







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

On Sep 10, 2022, at 11:32, Anthony Good <anthony.good@...> wrote:

Received my kit here in W3 land. Yeahhhhh

73
Goody
K3NG


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

On Sep 11, 2022, at 07:12, Ashhar Farhan <farhanbox@...> wrote:

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,

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: #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,

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: #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();
}

**