Date   
Re: KD6CEC code and Nextion displays, tuning skips steps #radiuno #ubitx

 

I have noticed this as well. For example when you set the step size to 50 Hz if you tune quite quickly it seems that the step-size
increases. 

Are you sure that this isn't intentional ?  I see to recall Ian making a passing comment about variable rate tuning at some point.

Michael VE3WMB

P.S. I am really enjoying the ability to select the step size via touch screen in V2 of Ian's "Nextion" display code. This was a great addition.

I may have found another bug though. More on this later when I have had more of a chance to test it out. 

Re: uBitX CAT problem on 40m #ubitx #ubitx-help #ft8

Bill Cromwell <wrcromwell@...>
 

Hi John,

I assume that you are using a computer connected to the radio since you are running WSJT-X AND CAT. It may be the computer that is being tickled by stray RF.

How is your RF ground configured? The shrortest cable possible to a good earth ground is desirable but may have a length that presents a high impedance to ground for RF at one or more bands. Before you put a lot of effort into that (assuming you already have some sort of grounded cable) try to connect your computer 'common' to the same RF ground you use for your radio. At least bond the radio chasis ground and computer ground. If I don't have that RF ground included on the computer frame I have some nasties that show up too.

The suggestions in the other replies this far are good too.

73,

Bill KU8H

On 07/20/2018 08:24 AM, John wrote:
Hello all,

I just put my antenna in a u-shape in the attic and have a better swr
now so I was able to try the uBitX on 40m for the first time.
What I experience only on 40m is that while using WSJT-X my uBitX locks
up and gets stuck on TX. All the shorter bands (30/20/17/15/12 and 10)
don't cause this issue.

Running CEC firmware v1.095 with Nextion 2.4 display.

When the lock up happens I get the warning message "RIG Control Error,
Do you want to reconfigure the radio interface" and when I look on the
uBitX the TX symbol is lit.

I don't have any chokes on my audio cables and have been working on the
higher bands without any problems.

Any clues?

John

--
bark less - wag more

Re: calibrate v4 ubitx

 

Jerry,

I agree that calibration is a 'exercise', why does it need to be this hard. I'm no coder, but Don ND6T's calibration routine worked really good for me when I was calibrating my Bitx 60, http://www.nd6t.com/bitx/Calibration.htm  All we need to know is what our actual 25Mhz crystal frequency is and change that line in the sketch, then all we need to adjust is the BFO frequency which is easy when the rig is on frequency. I don't know how to code so I'm not sure what is involved in adding something like this to the existing sketch but it sure beats zero beating.

Joel
N6ALT

Re: uBITX adjustable power supply?

Jerry Gaffke
 

Maximum available output current will fall drastically as the output to input voltage ratio rises.
You might get 4A out if the input voltage were about equal to the output voltage,
it falls off from there as you ask for higher output voltages.
Also, as that voltage ratio rises, the output current gets much choppier and noisier,
demanding more from the inductor and diode and output filter cap for acceptable results.

These things can work, but as you have found the spec's they give are "optimistic" at best.

Here's a tutorial on boost converters:
    https://en.wikipedia.org/wiki/Boost_converter

And a datasheet for the chip used:
    http://www.haoyuelectronics.com/Attachment/XL6009/XL6009-DC-DC-Converter-Datasheet.pdf

Note that pin 2 of the chip is an ENABLE pin, could pull that low during receive.
Most of these modules don't give you an explicit connection on the board to shut it down,
but if you study the data sheet of the part used it is often possible.

Using two modules, one for each FET as you suggest, should work on the uBitx.
Though that means two spots to adjust output voltage, and twice the number of places it can fail.
A single large boost switcher might be better.

Jerry, KE7ER


On Fri, Jul 20, 2018 at 01:28 AM, Tom, wb6b wrote:
My apologies for the stream of consciousness nature of these last few posts. But, if it turns out one of the power converters can't handle the load, I realized the uBITX does not use a center tapped output transformer. I might try supplying each half of the push-pull finals with a separate boost converter.

Re: Animated GIF of BITX17 scratch build

 

Bill,

That makes me car sick if I keep watching it:-) It is cool though. I made my best QRP DX contact with a Hendricks Bitx17. From S. Oregon to Antarctica

Joel
N6ALT

Re: uBitX CAT problem on 40m #ubitx #ubitx-help #ft8

R. E. Klaus
 

I had the same issue with my Yeasu when I first started using Fldigi. I put snap on Ferrites on the audio leads and wound the control cable about 6 turns around a ferrite toroid and that solved the issue for me.

Re: uBitX CAT problem on 40m #ubitx #ubitx-help #ft8

Gordon Gibby
 

The USB input to the raduino is particularly vulnerable.  Ferrites there are a good idea, and also use a one to one current balance on your antenna cable.  

The cause is unbalanced feedline currents looking for an RF connection.   


On Jul 20, 2018, at 10:28, R. E. Klaus via Groups.Io <reklaus@...> wrote:

I had the same issue with my Yeasu when I first started using Fldigi. I put snap on Ferrites on the audio leads and wound the control cable about 6 turns around a ferrite toroid and that solved the issue for me.

Re: I think this will work for the Ubitx...microphone

george.woods@...
 

Hi Kevin,
What tool removes the screws holding the Baofeng microphone together? My small Phillips screwdriver doesn't work on it. 
Thanks, George, k1DX

Re: calibrate v4 ubitx

Jim Sheldon
 

I believe most of them use TORX (also known as Star or Spline ) screwheads.  Probably T-8 or T-10 size if I remember right.

Jim - W0EB

------ Original Message ------
From: "Joel Caulkins" <caulktel@...>
Sent: 7/20/2018 9:11:56 AM
Subject: Re: [BITX20] calibrate v4 ubitx

Jerry,

I agree that calibration is a 'exercise', why does it need to be this hard. I'm no coder, but Don ND6T's calibration routine worked really good for me when I was calibrating my Bitx 60, http://www.nd6t.com/bitx/Calibration.htm  All we need to know is what our actual 25Mhz crystal frequency is and change that line in the sketch, then all we need to adjust is the BFO frequency which is easy when the rig is on frequency. I don't know how to code so I'm not sure what is involved in adding something like this to the existing sketch but it sure beats zero beating.

Joel
N6ALT

Re: uBITX adjustable power supply?

Jerry Gaffke
 

Look at fig 2 of that wikipedia page for the boost converter:
        https://en.wikipedia.org/wiki/Boost_converter

If the inductor is large enough, the inductor current will be constant.
When the switch is on, all of that inductor current gets shunted to ground, 
and energy gets stored in the inductor's magnetic field as the current rises slightly.
When the switch is off, that inductor current must go somewhere, so the voltage rises
and it pushes it's way through the diode.

The switch inside the chip can handle a max of 4 Amps,
that sets the maximum inductor current we can allow.
So we have up to 4 amps through the switch when the switch is on,
and those same 4 amps going out to the load when the switch is off.

As the wikipedia page explains, the duty cycle of the switch is equal to the output voltage over the input voltage,
As the output voltage rises, the amount of time that the 4 Amps is going through the diode is reduced.

So max current out is 4 Amps if Vout = Vin, and max current is reduced as Vout rises.
Specifically, max current out is 4Amps*Vin/Vout.
So if boosting from 12v to 24v, max current is 2 Amps.
If boosting from 5v to 25v, max current is 4*5/25 = 0.8 Amps.

That assumes all parts are perfect, which they are not, actual max output current will be somewhat less.
And the output will get plenty noisy as Vout rises, since the duty cycle of inductor current through
the output diode is reduced, and the inductor and output cap will be less than ideal.

Jerry


On Fri, Jul 20, 2018 at 07:16 AM, Jerry Gaffke wrote:
Here's a tutorial on boost converters:
    https://en.wikipedia.org/wiki/Boost_converter

Re: uBitX CAT problem on 40m #ubitx #ubitx-help #ft8

bill richardson
 

I have the same issue with both of my uBitx’s only on 40 meters. Last weekend I was at Lobstercon and Dave kd1na on his bitx40 also suffered from RF getting into his but again just on 40 meters. The two I have and Dave’s are v3 boards. Also I will add that both mine are shielded and Dave’s has his in a metal case. I have found using a different antenna helps.. ie using a end-fed it will always suffer from RF getting into the mic audio, using a dipole normally no issues as long as it’s at least 50 feet away. My 80 meter loop also works well. Using my 160m doublet will cause the issue. 40 meters again is the only band this happens on. 


On Jul 20, 2018, at 9:27 AM, R. E. Klaus via Groups.Io <reklaus@...> wrote:

I had the same issue with my Yeasu when I first started using Fldigi. I put snap on Ferrites on the audio leads and wound the control cable about 6 turns around a ferrite toroid and that solved the issue for me.

Re: uBitX CAT problem on 40m #ubitx #ubitx-help #ft8

bill richardson
 

Sorry Dave was using a ubitx also.. 


On Jul 20, 2018, at 9:49 AM, bill richardson <ng1p.bill@...> wrote:

I have the same issue with both of my uBitx’s only on 40 meters. Last weekend I was at Lobstercon and Dave kd1na on his bitx40 also suffered from RF getting into his but again just on 40 meters. The two I have and Dave’s are v3 boards. Also I will add that both mine are shielded and Dave’s has his in a metal case. I have found using a different antenna helps.. ie using a end-fed it will always suffer from RF getting into the mic audio, using a dipole normally no issues as long as it’s at least 50 feet away. My 80 meter loop also works well. Using my 160m doublet will cause the issue. 40 meters again is the only band this happens on. 


On Jul 20, 2018, at 9:27 AM, R. E. Klaus via Groups.Io <reklaus@...> wrote:

I had the same issue with my Yeasu when I first started using Fldigi. I put snap on Ferrites on the audio leads and wound the control cable about 6 turns around a ferrite toroid and that solved the issue for me.

Re: I think this will work for the Ubitx...microphone

Kevin Rea
 

My screws were all Phillips on the one that I have.


On Fri, Jul 20, 2018, 7:45 AM <george.woods@...> wrote:
Hi Kevin,
What tool removes the screws holding the Baofeng microphone together? My small Phillips screwdriver doesn't work on it. 
Thanks, George, k1DX

Re: calibrate v4 ubitx

Jerry Gaffke
 

No, adjusting the BFO frequency is a bad idea.
That will change the audio characteristics on both transmit and receive.
And it will only "calibrate" the rig when operating at the frequency of the reference oscillator you happen to be using.

The si5351's reference oscillator is nominally 25mhz, but might be off by several ppm.
When using the si5351bx routines, the vco inside the si5351 is operating at a nominal frequency of 35*25mhz = 875 mhz.
The value of the variable si5351bx_vcoa has a nominal value of 875000000, what we want to do is adjust that value
until it is exactly equal to the true vco frequency.

So one way to do this is to measure the 25mhz oscillator of the si5351 reference,
perhaps using a separate well calibrated receiver instead of a frequency counter to avoid loading that crystal.
Let's call that value fxtal25mhz.
Then force si5351bx_vcoa to be equal to  35*fxtal25mhz.

Now the si5351bx routines use this new si5351bx_vcoa value when computing the output divider values
used to create clk0, clk1, and clk2.  All three should be dead on.

We need to calibrate all three clocks simultaneously, not just the BFO.
 
Was more complicated on the Bitx40, where we had a separate crystal oscillator for the BFO.
On the uBitx, we only have one reference oscillator.


An easy way to calibrate using a 50mhz reference might be to divide it by two using a flip-flop,
and calibrate using the resultant 25mhz signal using whatever calibration software is in
the firmware you are using.   I have not looked over the various firmware releases, but 
given some of the forum posts my impression is that is is not being done right.

Jerry, KE7ER


On Fri, Jul 20, 2018 at 07:11 AM, Joel Caulkins wrote:
I agree that calibration is a 'exercise', why does it need to be this hard. I'm no coder, but Don ND6T's calibration routine worked really good for me when I was calibrating my Bitx 60, http://www.nd6t.com/bitx/Calibration.htm  All we need to know is what our actual 25Mhz crystal frequency is and change that line in the sketch, then all we need to adjust is the BFO frequency which is easy when the rig is on frequency. I don't know how to code so I'm not sure what is involved in adding something like this to the existing sketch but it sure beats zero beating.

Re: (Some) Nextion Displays not working

Björn Pasteuning
 

Ok I have found the issue.

Due the fact I have used the nextion for previous projects, the fixed baudrate in them was changed.

I have fixed that by placing the command  "bauds=9600" on page 0 in the Preinitialize Event panel.

Tip!, Every Designer should place this in their code. to besure the nextion will always work with new and used nextions

--
73' Björn de PD5DJ
www.pd5dj.nl

Re: calibrate v4 ubitx

Jerry Gaffke
 

Don's method assumes you have an accurate frequency counter,
most uBitx users don't have one
There is no reason we can't calibrate this rig accurately using an off-the-air signal such as WWV
or an AM shortwave broadcast station.


On Fri, Jul 20, 2018 at 07:11 AM, Joel Caulkins wrote:
Don ND6T's calibration routine worked really good for me when I was calibrating my Bitx 60, http://www.nd6t.com/bitx/Calibration.htm

Re: calibrate v4 ubitx

 

Jerry,

You are right, I did use my calibrated HP 5384A frequency counter to determine the crystal frequency. I had forgot that. I found calibrating the hardest part of building my last uBitx transceiver, it just seems like it should be easier, but what do I know, I'm strictly a hardware man. I'm all for using WWV when the bands are good enough to actually hear it.

Joel
N6ALT

Re: calibrate v4 ubitx

Jim Sheldon
 

Jerry,
Regarding the BFO, after the master oscillator is calibrated to an accurate frequency, the BFO MUST be calibrated to the individual uBITX crystal filter as no two of them are exactly the same.  Such is the nature of filters built using bulk crystals, matched or not.  Matching them is never an exact science as I've been finding out here trying to match crystals to come up with an add-on, plug-in crystal filter using the headers supplied on a V4 board.  The BFO also cannot be adjusted to zero beat or you lose the ability of the filter to separate USB and LSB as well as CWU and CWL signals to give you what us ancient CW operators used to call "Single Signal" CW receive.  

So far I have not found an easy way to do this except trial and error "guesstimation".  I'm seriously hoping someone can come up with a really simple way to get this right.

Jim Sheldon, W0EB

------ Original Message ------
From: "Jerry Gaffke via Groups.Io" <jgaffke@...>
Sent: 7/20/2018 10:03:10 AM
Subject: Re: [BITX20] calibrate v4 ubitx

No, adjusting the BFO frequency is a bad idea.
That will change the audio characteristics on both transmit and receive.
And it will only "calibrate" the rig when operating at the frequency of the reference oscillator you happen to be using.

The si5351's reference oscillator is nominally 25mhz, but might be off by several ppm.
When using the si5351bx routines, the vco inside the si5351 is operating at a nominal frequency of 35*25mhz = 875 mhz.
The value of the variable si5351bx_vcoa has a nominal value of 875000000, what we want to do is adjust that value
until it is exactly equal to the true vco frequency.

So one way to do this is to measure the 25mhz oscillator of the si5351 reference,
perhaps using a separate well calibrated receiver instead of a frequency counter to avoid loading that crystal.
Let's call that value fxtal25mhz.
Then force si5351bx_vcoa to be equal to  35*fxtal25mhz.

Now the si5351bx routines use this new si5351bx_vcoa value when computing the output divider values
used to create clk0, clk1, and clk2.  All three should be dead on.

We need to calibrate all three clocks simultaneously, not just the BFO.
 
Was more complicated on the Bitx40, where we had a separate crystal oscillator for the BFO.
On the uBitx, we only have one reference oscillator.


An easy way to calibrate using a 50mhz reference might be to divide it by two using a flip-flop,
and calibrate using the resultant 25mhz signal using whatever calibration software is in
the firmware you are using.   I have not looked over the various firmware releases, but 
given some of the forum posts my impression is that is is not being done right.

Jerry, KE7ER


On Fri, Jul 20, 2018 at 07:11 AM, Joel Caulkins wrote:
I agree that calibration is a 'exercise', why does it need to be this hard. I'm no coder, but Don ND6T's calibration routine worked really good for me when I was calibrating my Bitx 60, http://www.nd6t.com/bitx/Calibration.htm  All we need to know is what our actual 25Mhz crystal frequency is and change that line in the sketch, then all we need to adjust is the BFO frequency which is easy when the rig is on frequency. I don't know how to code so I'm not sure what is involved in adding something like this to the existing sketch but it sure beats zero beating.

Re: uBITX adjustable power supply?

Tom, wb6b
 

Hi Jerry,

Thanks for your reply and links. It makes sense that they would specify the converter current on input current (based on what the switching transistor can handle), as the output voltage is adjustable and the ratio of available output current to input current is therefore variable, and the output current can't be reduced to one value on the spec sheet. 

Thanks for the data sheet, good to know the part has the possibility of being electronically switched on and off.

I have some other projects I'll need to spend time on, so likely I'll be able to order a new boost converter and it will be here before I'll need it for the uBITX project. But, my separate supply on each FET is a fun idea and if there is delay in getting a better boost converter, it is my backup plan.

Tom, wb6b

Re: uBITX adjustable power supply?

Ralph Mowery
 

The few converters like that I have tried are almost like DC transformers if there were such a thing.  not counting for the loss in the circuits, the power used vers the power input is a ratio.  Meaning that (not counting losses) if you put in 12 volts at 2 amps you can get 6 volts out at 4 amps if the device will handle that much current.  Same way with the boost circuits.  Input 12 volts at 2 amps and you can get out 24 volts at only 1 amp, again not counting circuit losses. 

de ku4pt


On Fri, Jul 20, 2018 at 12:02 PM, Tom, wb6b <wb6b@...> wrote:
Hi Jerry,

Thanks for your reply and links. It makes sense that they would specify the converter current on input current (based on what the switching transistor can handle), as the output voltage is adjustable and the ratio of available output current to input current is therefore variable, and the output current can't be reduced to one value on the spec sheet. 

Thanks for the data sheet, good to know the part has the possibility of being electronically switched on and off.

I have some other projects I'll need to spend time on, so likely I'll be able to order a new boost converter and it will be here before I'll need it for the uBITX project. But, my separate supply on each FET is a fun idea and if there is delay in getting a better boost converter, it is my backup plan.

Tom, wb6b