Date   
W0EB/W2CTX Firmware Source Code Sketches #ubitx

Jim Sheldon
 

Due to the fact many people were having a bit of a problem compiling some program sketches after the TSW group changed over to using the Teensy 3.6 for the MPU, we chose to publicly release only the HEX files for each subsequent release. The source code was still available to anyone on request with the caveat that if you modify it, you are on your own (still applies here as well) as we can't know your hardware configuration and don't really have the time to go through your source code as well as ours to see what you did. If it doesn't work when you modify it, you will have to figure out why and fix it yourself. All our source code is well documented and commented to the point the routines should be easily understood by anyone familiar with the C language and the Arduino/Teensy programming IDE's capabilities.
 
Today we decided that providing the source code only on request wasn't really in keeping with the true "Open Source" concept of software and so the source code files to all of our recent and ongoing uBITX software will now be in an openly available "Latest Source Code sketches" directory in the "Files" section of the TSW website (www.w0eb.com)
 
Feel free to download and try any of them. All the programs are complete with PDF files containing the necessary instructions for use (and wiring mods if they are needed).
 
Also, because of the necessary modifications to the Arduino's "TeensyDuino" portion of the IDE to allow our Teensy 3.6 based versions to be compiled, please read the following carefully. This information is also contained on the main page of the www.w0eb.com website and again in the MANDATORY LIBRARIES directory in the "Files" section of the webpage as a README file.
_________________________________________________________________
 
Because we moved the I2C bus from "Wire" (SDA0/SCL0) to "Wire2" (SDA2/SCL2) on the Teensy for more efficient circuit board trace routing on our Teensy 3.6 based "BITeensio" card, more than a few programming headaches were encountered. It appears that nobody has an I2C library for the displays that uses other than SDA0/SCL0 since the Arduino family only has one I2C port. The Teensy 3.6 has four I2C ports but the currently available libraries don't have the other ports (Wire 1,2 and 3) well defined. This makes it difficult to use anything other than "Wire" (SDA0/SCL0) to communicate with and control the Si5351 clock chip and the I2C display(s). (Yes,multiple displays ARE possible.)
 
Since we were already committed to using "Wire2" for all the I2C stuff (Si5351 clock and the displays), our chief programmer W2CTX bravely undertook the monumental task of re-writing one of the libraries to make it all work. We are happy to report that went well and software compiled for the BITeensio is working nicely with the new hardware.
 
The reworked library is now available in the "MANDATORY_LIBRARIES" directory of this website and in order to use it, the Arduino IDE (with "Teensyduino" additions) will have to be modified a bit to keep things compatible.
 
First, you have to remove the library named "Wire" from the Arduino/hardware/Teensy/avr/libraries directory. Next, run the IDE and under the "Sketch" pull down menu, click on "Include Library" and then under the list that opens, click on "Add ZIP Library". Point it to where you have the "Newliquidcrystal_Wire2_1.3.5.zip" file saved, select that file and click "Open". The new library will be saved to the proper place.
 
In order for this library to work properly the "Wire" library in the Teensy's hardware libraries directory (see above) MUST be deleted. Don't delete the one in the "Arduino" hardware libraries directory though or you won't be able to compile a lot of Arduino programs. (This "How to use the library" information has been included in the MANDATORY_LIBRARIES directory as a "README" file.)
 
Jim Sheldon
for the TSW team
09/05/2018

Re: stone soup ingredient list, what bands and modes are usable

Tim Gorman
 

Jim,

There is no easy way to check for splatter on an oscilloscope. You can
attempt to see if the rig is linear but it is only an estimation at
best.

I wrap a piece of wire around my dummy load and connect it to my scope.
If I need more signal I wrap more wire. Put the rig on CW. Vary the
drive (e.e. RV1) from zero till you see the signal display stop
increasing. Again, this is pretty subjective so you might be well
advised to err on the conservative side. Put a piece of masking tape to
mark the top and bottom of the display.

Then put the rig is SSB and adjust your signal output (using your voice
saying ahhhhh! or audio tone from your smart phone using an app) with
the mic so it never exceeds the marks on the oscilloscope.

This is the level at which you generate little splatter. If you
actually have a peak reading meter for your SSB signal and CW signal
you will probably find that you are putting out far less than 10 watts.

tim ab0wr

On Wed, 5 Sep 2018 14:37:47 +0000 (UTC)
"jim via Groups.Io" <ab7vf=yahoo.com@groups.io> wrote:

On Wednesday, September 5, 2018, 1:58:06 AM PDT, David Wilcox via
Groups.Io <Djwilcox01=yahoo.com@groups.io> wrote:
Does anyone have a simple method to take off the RF output from
these rigs and safely input it to a scope to check the splatter?  I
have a 60 MHz scope but don't know how to use it correctly.  That
might help some of us reduce the spurs until we can learn how to do
other mods. There are a lot of scopes out there to beg or borrow,
mostly just sitting there in a shack or at a radio club.  There are
two sitting at our club but few know what to do with them.  Sad
story. Dave K8WPE

Try something like this (google Alan Yates Laboratory in category
"test equipment"

Jim




Re: Right-sided relay harmonic attempted fix for v3/4 ubitx

Gordon Gibby <ggibby@...>
 

http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575378759&campid=5338273189&customid=&icep_item=263919047114&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg&toolid=11111

I have managed to create an Ebay listing for the external daughterboards for the right sided relays.   The above link may be some direct access that saves me a few pennies.   Other wise, the ebay item listing is here:

https://www.ebay.com/itm/263919047114

I am listing FIVE at the moment (another person has already indicated they are sending me a money order for a 6th) --- if you purchase multiple ones and I can figure that out I may be able to send you a check for a dollar or two refund since my costs will be lower.   If there is significant interest, I'll order more boards from China.   Again, all the construction, parts ordering and installation instructions are in the FILES section here and on github and I revised them today to improve them slightly.

https://groups.io/g/BITX20/files/External%20%20LPF%20Relay%20Daughterboard%20Solution 
and 
https://github.com/ggibby1/uBitxExternalRelays

Good luck!   I'm delighted to see some possible solutions for the 'spur' issue also beginning to take shape.   

My next day 'off work" will probably be Friday at which point I can mail out any initial orders.   

Re: Ubitx version 4 speaker impedance?

Tim Gorman
 

FWIW, I used some fine mesh black hardware cloth, e.g. screen door
wire. Cut a piece out of the hardware cloth that is a little larger
than the speaker diameter and run your mounting bolt through from the
top of the cabinet, through the hardware cloth, using the speaker to
clamp the hardware cloth against the underside of the cabinet.

tim ab0wr

On Wed, 05 Sep 2018 03:28:59 -0700
"Barrett O" <ogebarrett@...> wrote:

I went ahead and just ordered them. For that price it's worth the
shot. I also found these little grills that should work. Should look
better than drilling a bunch of holes for a $1.33 -- Barrett
K5SSO


Re: Simple spur fix

ajparent1/kb1gmx
 

Raj,

the filter will be only in the TX path, the roofing filter should also be in RX path.

why amplify all the mixes from the first mixer. A good change in the architecture of
uBitx.

IF the filter replaces R27 that may be true save for it can also behave as a suckout
(un intended RF short) as its along the path.  Please test,  as I hope for good result
but not testing it bugs me nuts.  Testing says RX is good then you have done a
great service!

Allison

Re: Simple spur fix

ajparent1/kb1gmx
 

Jerry,

Just do it Farhan's way then no CW fix is needed.

Allison

Re: Simple spur fix

Jerry Gaffke
 

Raj, 

With the new filter placed in both the TX and RX paths as you originally proposed,
should be able to restore CW operation by lifting the bottom end of R105, tie it to T2 pins 3,5

I suspect that's already occurred to you, and it's a matter of finding the time to try it.

If we can have a clean all-of-HF transmitter without adding switchable bandpass filters 
in front of the first mixer, this is a significant advance to the art.

Jerry, KE7ER



On Wed, Sep 5, 2018 at 08:05 AM, Raj vu2zap wrote:
the filter will be only in the TX path, the roofing filter should also be in RX path.
why amplify all the mixes from the first mixer. A good change in the architecture of
uBitx.

Re: Stone Soup

RICHARD <k6kwq@...>
 

So it’s OK to violate FCC regulations , if you do not annoy anybody? How do you know?

 

Sent from Mail for Windows 10

 


From: BITX20@groups.io <BITX20@groups.io> on behalf of SM6MOJ <andrew@...>
Sent: Wednesday, September 5, 2018 3:29:45 AM
To: BITX20@groups.io
Subject: [BITX20] Stone Soup
 

At last, my µBITX is configured and I can use it for local contacts on 80 m, together with a Pi-filter antenna matcher and a G5RV antenna. The band is quiet at 09.00 local time and I am not likely to annoy anybody with spurious emissions.

The discussions about filters and spurious emissions go right over my head, since I do not have access to a lot of expensive lab gear. This can be left to those who have access to equipment and better knowledge than I have.

I bought a Wehrmacht receiver about 20 years ago. Although it was then about 50 years old, its calibration was still spot-on. It was quite simple, electrically, but was ruggedized and field-serviceable. Many of the components were located in individual diecast aluminium enclosures. Thinking about the discussion about µBITX filters, I realised that it would be reasonable to assume that the cross-talk etc. that people complain about could be cured or reduced by putting each filter unit in its own metal box.

So I offer the challenge to those who know better than I do - please install metal shields round each individual filter and tell us what happens.

While you are at it, you could also test rigs like the HW-7 or HW-8 and tell us about their spurious emissions.

Re: Simple spur fix

ajparent1/kb1gmx
 

Farhan,

Mine is a mess due to other work.
>>If you guys want to try out the mod, i can have some spares shipped out.

However I have a few friends around me I can help using this mod and also a relay fix
already posted.


Allison

Re: Simple spur fix

Kees T
 

The cheaper ebay guy says he has 62 of them left plus postage. Someone could make him a deal for all and reship them to uBITX owners for a $0.72 stamp on an envelope.

73 Kees K5BCQ

Re: Simple spur fix

R. E. Klaus <reklaus@...>
 

How could I obtain one of the mods?
Thanks
Roxie -- K1AUS

Re: Simple spur fix

 

Allison,

the filter will be only in the TX path, the roofing filter should also be in RX path.
why amplify all the mixes from the first mixer. A good change in the architecture of
uBitx.

Raj

At 05-09-18, you wrote:
Farhans method...

1. Remove R27
2. Solder the 45Mhz filter two extreme ends to the pads of the resistor.
3. Solder the center lead of the filter to the nearest ground. R13 is very near with a ground via.

Sounds like something that may seriously help. I tried a low pass filter there and it
did help but not enough. Time and other pressing things never got back to try a
band pass filter.

One I'd liked to have tried is just moving the filter to the other end of the amp.

What is the impact on RX performance?

Allison

Re: Simple spur fix

jim
 


On Wednesday, September 5, 2018, 6:49:10 AM PDT, Ashhar Farhan <farhanbox@...> wrote:


If you guys want to try out the mod, i can have some spares shipped out.
- f

I'd like one if there are enough to go around

Jim (ab7vf)

Re: stone soup ingredient list, what bands and modes are usable

 

Hi Dave,

This will get a signal into your scope.  But you won't be able to "see" splatter on it.  What you can do though is to input a 2-tone signal and then observe when flat-topping ocurrs.  When you can observe a good 2-tone pattern, then this will be the maximum power output level for the band.  The ARRL handbooks, and I'm sure others, often have pictures and procedures on how to do this -- just look up "SSB" or "two-tone test" in the index.  There are probably a bunch on youtube too.

73,


Mark.

Re: Simple spur fix

Jerry Gaffke
 

Raj,

Very cool that you found such an easy and cheap solution!
Though not so sure I was a part of it in any way.

So that 2.5mhz thing had nothing to do with the si5351, was caused by feedback from the power amp?
Very curious.  I have no idea how that 2.5mhz factor came about.

The extra 45mhz filter would solve the power amp feedback issue.
That was probably all the low frequency rumble in Warren's plots of a few weeks ago.
This would not be fixed by a LPF.

I had assumed that the 45mhz-DialFreq spur was generated inside the mixer at D1,D2.
But apparently the IF amp at Q20,21,22 was generating enough of a second harmonic 
that the resultant 90mhz energy minus the clk2 VFO was going straight on through
the mixer in the expected manner.  As Henning has stated previously.

I'm sure termination impedances around the new filter could be an issue somehow.
But if it works, I'm ok with that!
Passband ripple might not be much of an issue, as the filter is much wider than what we actually use.
Extra insertion loss may not be much of an issue either, especially with the crystal only in
the TX path since we have gain to burn there.  Less TX signal into the D1,D2 mixer is a good thing.

Good job!

Jerry, KE7ER


On Wed, Sep 5, 2018 at 04:11 AM, Raj vu2zap wrote:
A a big thanks to Farhan, Allison and earlier to Jerry!

Re: uBitx v3 #ubitx #ubitx-help

MVS Sarma
 

I suppose, such overlay has never been published by Ashar farhan vu2ese

On Wed, Sep 5, 2018 at 8:07 PM ARNAB SEN VU2CMV <vu2cmv@...> wrote:
Can anybody please provide PCB overlay of uBitx v3? Thanks and 73s
VU2CMV

Re: stone soup ingredient list, what bands and modes are usable

jim
 


On Wednesday, September 5, 2018, 1:58:06 AM PDT, David Wilcox via Groups.Io <Djwilcox01@...> wrote:


Does anyone have a simple method to take off the RF output from these rigs and safely input it to a scope to check the splatter?  I have a 60 MHz scope but don't know how to use it correctly.  That might help some of us reduce the spurs until we can learn how to do other mods. There are a lot of scopes out there to beg or borrow, mostly just sitting there in a shack or at a radio club.  There are two sitting at our club but few know what to do with them.  Sad story.

Dave K8WPE

Try something like this (google Alan Yates Laboratory in category "test equipment"

Jim

uBitx v3 #ubitx #ubitx-help

ARNAB SEN VU2CMV
 

Can anybody please provide PCB overlay of uBitx v3? Thanks and 73s
VU2CMV

Re: ubitx v4.3

MVS Sarma
 

Gould,
 If you see the schematic, especially the 45MHz filter section, you can see their values as Zero.
 Hence  it may not be called missing.
all the best
 regards
 sarma
vu3zmv


On Wed, Sep 5, 2018 at 7:38 PM p.gould1@... <p.gould1@...> wrote:
good afternoon all. Just a query please on the v4. on my board there are 2 capacitors missing. these are C210 and C215 is this correct? thanks in advance, PAUL M6feu

Re: ubitx v4.3

p.gould1@sky.com <p.gould1@...>
 

Thanks again Tom for going to the trouble of replying, very much appreciated, and I WILL take your advice
on board.
Take care and hope to talk to you again soon.
Paul