Topics

#ubitx new Alternate software for the uBITX #ubitx

Jim Sheldon
 

Hi gang,
Ron, W2CTX and I (W0EB) have been steadily working on fixing some of the CW problems with the uBITX software and also changing the tuning over from the accelerated tuning for band change, etc. We found that this method, while liked by some was difficult for some of us to tune to the frequency we wanted so we set it up with a cursor under the digit to be tuned using the encoder button to step the cursor position. We also used the spare (A7) line as the dash input for the keyer (you have to add another 4.7K pullup resistor, this time to the A7 input). The zipfile complete with all files for compiling and uploading to the uBITX with the Arduino IDE (version 1.8.5 or later on the IDE). If you have your IDE set up right, it should compile without errors and upload to the uBITX just fine.

The CW Keyer module uses code that came from the open source Ten-Tec Patriot and Rebel code and the timing has been corrected so that the paddles work properly and all the available speeds from real slooooow to 50 wpm. I've been using this code on the air for over a week without a problem.

We also re-ordered the menu(s) and added a few items that are all explained in the manual included in the zip file.

Ron and I sincerely hope this program version will allow you to work CW much better and it addresses some of the requests for features that are different from what was supplied in the initial version that came loaded in the factory uBITX.

Jim Sheldon, W0EB for Ron, W2CTX and myself

Jim Sheldon
 

One other thing I forgot to mention above - the need for squeeky clean key contacts or electronic conditioning of the inputs by using FET's has been made obsolete with this keyer version.  Since we only have to determine KEY UP or KEY DOWN even with analog inputs this is much easier than trying to decode a specific voltage threshold accurately to determine dot or dash or hand key on a single line.

Selection of Paddles or Hand Key/External keyer is now made in a menu item - all explaned in the included manual.

Jim - W0EB

Gordon Gibby
 

Jim Sheldon and Ron--- THANKS!! I grabbed that code for later perusal!!!!! Thanks!
gordon


________________________________________

From: BITX20@groups.io <BITX20@groups.io> on behalf of Jim Sheldon <w0eb@...>
Sent: Sunday, January 21, 2018 7:11 PM
To: BITX20@groups.io
Subject: [BITX20] #ubitx new Alternate software for the uBITX

Hi gang,
Ron, W2CTX and I (W0EB) have been steadily working on fixing some of the
CW problems with the uBITX software and also changing the tuning over
from the accelerated tuning for band change, etc. We found that this
method, while liked by some was difficult for some of us to tune to the
frequency we wanted so we set it up with a cursor under the digit to be
tuned using the encoder button to step the cursor position. We also
used the spare (A7) line as the dash input for the keyer (you have to
add another 4.7K pullup resistor, this time to the A7 input). The
zipfile complete with all files for compiling and uploading to the uBITX
with the Arduino IDE (version 1.8.5 or later on the IDE). If you have
your IDE set up right, it should compile without errors and upload to
the uBITX just fine.

The CW Keyer module uses code that came from the open source Ten-Tec
Patriot and Rebel code and the timing has been corrected so that the
paddles work properly and all the available speeds from real slooooow to
50 wpm. I've been using this code on the air for over a week without a
problem.

We also re-ordered the menu(s) and added a few items that are all
explained in the manual included in the zip file.

Ron and I sincerely hope this program version will allow you to work CW
much better and it addresses some of the requests for features that are
different from what was supplied in the initial version that came loaded
in the factory uBITX.

Jim Sheldon, W0EB for Ron, W2CTX and myself

KD8CGH
 

Very nice!
Compiled and uploaded with no problems.
A straight key works well. I had already simply modded KD8CEC's code by removing the intermediate paddle value lines in getPaddle to get clean straight keying. Now I'll have to wire up A7 and try a paddle. I like the tuning and that your version offsets the frequency taking the sidetone into account.
Nice job on the documentation.

Now to add CAT and ....

THANKS!!!

  Bob   KD8CGH

Jim Sheldon
 

Thanks.  It was a concerted joint effort and we had fun and more than a few playful arguments in the process.  Haven't met Ron in person, so I don't know how much hair he has left but mine has diminished even more.  He's a much better programmer than I am but I'm getting there thanks to Jack, W8TEE's book.
Other neat things are being worked on here and will be announced when/if we get them working.

Jim, W0EB 

On Jan 21, 2018, at 7:24 PM, KD8CGH <rkayakr@...> wrote:

Very nice!
Compiled and uploaded with no problems.
A straight key works well. I had already simply modded KD8CEC's code by removing the intermediate paddle value lines in getPaddle to get clean straight keying. Now I'll have to wire up A7 and try a paddle. I like the tuning and that your version offsets the frequency taking the sidetone into account.
Nice job on the documentation.

Now to add CAT and ....

THANKS!!!

  Bob   KD8CGH

Jim Sheldon
 

Thanks. Keep an eye out, we are busy on more neat stuff if it works.

Jim

On Jan 21, 2018, at 7:17 PM, Gordon Gibby <ggibby@...> wrote:

Jim Sheldon and Ron--- THANKS!! I grabbed that code for later perusal!!!!! Thanks!
gordon


________________________________________
From: BITX20@groups.io <BITX20@groups.io> on behalf of Jim Sheldon <w0eb@...>
Sent: Sunday, January 21, 2018 7:11 PM
To: BITX20@groups.io
Subject: [BITX20] #ubitx new Alternate software for the uBITX

Hi gang,
Ron, W2CTX and I (W0EB) have been steadily working on fixing some of the
CW problems with the uBITX software and also changing the tuning over
from the accelerated tuning for band change, etc. We found that this
method, while liked by some was difficult for some of us to tune to the
frequency we wanted so we set it up with a cursor under the digit to be
tuned using the encoder button to step the cursor position. We also
used the spare (A7) line as the dash input for the keyer (you have to
add another 4.7K pullup resistor, this time to the A7 input). The
zipfile complete with all files for compiling and uploading to the uBITX
with the Arduino IDE (version 1.8.5 or later on the IDE). If you have
your IDE set up right, it should compile without errors and upload to
the uBITX just fine.

The CW Keyer module uses code that came from the open source Ten-Tec
Patriot and Rebel code and the timing has been corrected so that the
paddles work properly and all the available speeds from real slooooow to
50 wpm. I've been using this code on the air for over a week without a
problem.

We also re-ordered the menu(s) and added a few items that are all
explained in the manual included in the zip file.

Ron and I sincerely hope this program version will allow you to work CW
much better and it addresses some of the requests for features that are
different from what was supplied in the initial version that came loaded
in the factory uBITX.

Jim Sheldon, W0EB for Ron, W2CTX and myself






Ian Lee
 

Great work!!!

I have heard from Ron via email. applaud your efforts.
I learned a lot from your code. 
When the new uBITX arrives(I ordered another one in December for a hardware modified version), I will upload and use this firmware.

This variety of firmware and code sharing makes uBITX even more fun.

Ian KD8CEC

2018-01-22 9:11 GMT+09:00 Jim Sheldon <w0eb@...>:

Hi gang,
Ron, W2CTX and I (W0EB) have been steadily working on fixing some of the CW problems with the uBITX software and also changing the tuning over from the accelerated tuning for band change, etc.  We found that this method, while liked by some was difficult for some of us to tune to the frequency we wanted so we set it up with a cursor under the digit to be tuned using the encoder button to step the cursor position.  We also used the spare (A7) line as the dash input for the keyer (you have to add another 4.7K pullup resistor, this time to the A7 input).  The zipfile complete with all files for compiling and uploading to the uBITX with the Arduino IDE (version 1.8.5 or later on the IDE). If you have your IDE set up right, it should compile without errors and upload to the uBITX just fine.

The CW Keyer module uses code that came from the open source Ten-Tec Patriot and Rebel code and the timing has been corrected so that the paddles work properly and all the available speeds from real slooooow to 50 wpm.  I've been using this code on the air for over a week without a problem.

We also re-ordered the menu(s) and added a few items that are all explained in the manual included in the zip file.

Ron and I sincerely hope this program version will allow you to work CW much better and it addresses some of the requests for features that are different from what was supplied in the initial version that came loaded in the factory uBITX.

Jim Sheldon, W0EB for Ron, W2CTX and myself






--
Best 73
KD8CEC / Ph.D ian lee
kd8cec@...
www.hamskey.com (my blog)

 

The uBitx A7 was left for S-Meter and Power meter inputs. That is why the original sketch uses one input to sense
3 different states - straight key, Dit and Dah.

Raj

At 22-01-2018, you wrote:
Hi gang,
Ron, W2CTX and I (W0EB) have been steadily working on fixing some of the CW problems with the uBITX software and also changing the tuning over from the accelerated tuning for band change, etc. We found that this method, while liked by some was difficult for some of us to tune to the frequency we wanted so we set it up with a cursor under the digit to be tuned using the encoder button to step the cursor position. We also used the spare (A7) line as the dash input for the keyer (you have to add another 4.7K pullup resistor, this time to the A7 input). The zipfile complete with all files for compiling and uploading to the uBITX with the Arduino IDE (version 1.8.5 or later on the IDE). If you have your IDE set up right, it should compile without errors and upload to the uBITX just fine.

The CW Keyer module uses code that came from the open source Ten-Tec Patriot and Rebel code and the timing has been corrected so that the paddles work properly and all the available speeds from real slooooow to 50 wpm. I've been using this code on the air for over a week without a problem.

We also re-ordered the menu(s) and added a few items that are all explained in the manual included in the zip file.

Ron and I sincerely hope this program version will allow you to work CW much better and it addresses some of the requests for features that are different from what was supplied in the initial version that came loaded in the factory uBITX.

Jim Sheldon, W0EB for Ron, W2CTX and myself

KD8CGH
 

It might be time to look at sensing PTT and the encoder switch by an analog input to free up lines. Neither of these inputs requires the fast response of CW keying so you could carefully debounce the switches. I also wouldn't expect both to be pressed at once.
Frankly, if it comes down to a choice I'd rather have functioning CW than an S meter.
    Bob   KD8CGH

Don, ND6T
 

Congratulations on a wonderful job! You beat me by a mile. My replacement, though working, is far from complete. Unless someone tries such a project, they cannot appreciate the effort involved. Your documentation, too, is worthy of a reward! Bravo!
Don, ND6T

Jim Sheldon
 

Raj,
In the documentation for "wiring up" on the HF Signals page the A7 (violet wire) is listed as a SPARE and the original code doesn't read the paddles properly. It was/is very difficult to send proper CW with the original. I figured that in a $120 radio I did not need an S meter or a power meter so until digital lines can be freed up to allow for other uses for both A6 and A7 our code, as written will be made available for those who chose to use it. It's too bad the designer of the Raduino card didn't use a "level shifter" on the I2C bus to feed the Si5351A as then I2C could have been used to drive the Display, freeing up 6 digital I/O lines and the keyer could have been properly implemented in the first place.

Not arguing with you Raj, just telling why we used the "SPARE" A7 line - Farhan jee said in the documentation it was a spare and we should coil it out of the way OR find a use for it. We found a use for it.

Jim - W0EB

------ Original Message ------
From: "Raj vu2zap" <@Raj>
To: BITX20@groups.io
Sent: 1/22/2018 12:10:34 AM
Subject: Re: [BITX20] #ubitx new Alternate software for the uBITX

The uBitx A7 was left for S-Meter and Power meter inputs. That is why the original sketch uses one input to sense
3 different states - straight key, Dit and Dah.

Raj

At 22-01-2018, you wrote:
Hi gang,
Ron, W2CTX and I (W0EB) have been steadily working on fixing some of the CW problems with the uBITX software and also changing the tuning over from the accelerated tuning for band change, etc. We found that this method, while liked by some was difficult for some of us to tune to the frequency we wanted so we set it up with a cursor under the digit to be tuned using the encoder button to step the cursor position. We also used the spare (A7) line as the dash input for the keyer (you have to add another 4.7K pullup resistor, this time to the A7 input). The zipfile complete with all files for compiling and uploading to the uBITX with the Arduino IDE (version 1.8.5 or later on the IDE). If you have your IDE set up right, it should compile without errors and upload to the uBITX just fine.

The CW Keyer module uses code that came from the open source Ten-Tec Patriot and Rebel code and the timing has been corrected so that the paddles work properly and all the available speeds from real slooooow to 50 wpm. I've been using this code on the air for over a week without a problem.

We also re-ordered the menu(s) and added a few items that are all explained in the manual included in the zip file.

Ron and I sincerely hope this program version will allow you to work CW much better and it addresses some of the requests for features that are different from what was supplied in the initial version that came loaded in the factory uBITX.

Jim Sheldon, W0EB for Ron, W2CTX and myself


Jack Purdum
 

Jim's work and using the I2C interface should let you have both. Check out the code he and Ron posted.

Jack, W8TEE



From: KD8CGH <rkayakr@...>
To: BITX20@groups.io
Sent: Monday, January 22, 2018 7:05 AM
Subject: Re: [BITX20] #ubitx new Alternate software for the uBITX

It might be time to look at sensing PTT and the encoder switch by an analog input to free up lines. Neither of these inputs requires the fast response of CW keying so you could carefully debounce the switches. I also wouldn't expect both to be pressed at once.
Frankly, if it comes down to a choice I'd rather have functioning CW than an S meter.
    Bob   KD8CGH



Virus-free. www.avast.com

KD8CGH
 

Couldn't we have both without any board mods or LCD changes by using digital lines 5 & 6 for key/paddle, line 2 for PTT & encoder switch with the resistor trick and still have line 1 (A7) for an S meter?
     Bob   KD8CGH

Carl Beck
 

I see posts about software (I assume Firmware).  However I have not see any details on how to upload software into the uBITX.  I do not see any connection on my uBITX board.  Also I see words that say they compiled the software; What compiler is used and where do you get it?  What language is the software written in?

KD8CGH
 

Here's a start. It was written for the Bitx40 but it is the same except for the source code.
https://groups.io/g/BITX20/wiki/Raduino-Topics

There is a mini USB connector on the Raduino board

Farhan links the original source in the uBitx description
http://www.hfsignals.com/index.php/ubitx/
Links to other sources are found in this forum

Jim Sheldon
 

Carl Beck
go to www.hfsignals.com and look at uBITX and Technical Details you will there find info on using the Arduino IDE for the Arduino Nano to compile and upload the software to the uBITX through the USB port on the Raduino card.  The language is the Arduino version of C.

W0EB

From: "Carl Beck" <carl@...>
Sent: 1/22/2018 12:05:24 PM
Subject: Re: [BITX20] #ubitx new Alternate software for the uBITX

I see posts about software (I assume Firmware).  However I have not see any details on how to upload software into the uBITX.  I do not see any connection on my uBITX board.  Also I see words that say they compiled the software; What compiler is used and where do you get it?  What language is the software written in?

KD8CGH
 

I just added a software page to the uBitx wiki with links to original, KD8CEC and W0EB software threads.

Mitani Masaru
 

Thanks Great Firmware.
It's works my ubitx very well.

I modify two small function.

#1 TX only ham bands
It MUST need Japan reglation.
(Japan need Application for Transmitter spec inspection.)
In main loop,Check current frequency,It's valid,ham band,process sense key or PTT .

#2 In CW mode, Push PTT to TX CW(every Straght key mode)
For emagency use and ATU tune.
External key or paddle works nomally menu setting.

This is my blog(Sorry,Japanese)
http://maaberu.moe-nifty.com/howahowa/2018/01/ubitx-e9fc.html

de JE4SMQ masa

Kai Nilakari
 

Hi,
thank you for the new s/w. I'm mainly doing CW and very glad that I can use my Bencher paddle now without any wiring modifications.
There is still one issue to discuss: the WP (wpm?) display which does not apply to real sending speed.
I use 35 WP which is about 20 in real life.
Could you change the code in next version, thank you so much.

Kai
OH3WE

Previous Topic Next Topic