Date   
#ubitx New I2C/Digital I/O mod & firmware from W0EB/W2CTX #ubitx

Jim Sheldon
 

Ever since we first released the code using analog line A7 (the so called "spare") as the keyer paddle "dash" connection, I've received a number of comments privately and one or two public ones saying that the A7 was RESERVED for "S" and "Power" metering and we shouldn't have used it. Well rather than make me mad, these "negative" comments along with a lot of information from another close friend who had been researching it, the entire direction of our efforts changed.

We decided that since the I2C communication bus was already implemented on the Raduino card to control the Si5351A clock generator/VFO, and it WAS accessible on the back of the card via the Arduino Nano mounting pins that were left full length when they were soldered to the Raduino originally (at least on mine they were).

I hinted about the possibility of using I2C for the display and immediately several persons cautioned against this because of "NOISE" bursts in the receiver. Not easily swayed and having 2 uBITX transceivers on the desk to work with, I said the heck with it and dove into it with both feet. Picking off the I2C, Power & Ground for an I2C display controller that could coexist with the 3.3 volts the Si5351 uses on the bus to communicate with the Nano was relatively easy. While I was working on the hardware, Ron - W2CTX worked on the initial software and it wasn't long before I had some controller modules in from Amazon that ran on 5 volts. They use the PCF8574 chip. On the Amazon supplied boards, the open drain outputs of the PCF8574 were pulled up to +5 volts by a pair of 4.7K resistors. This would have destroyed or at least severely damaged the 5351 so we removed those 2 resistors and now, the 3.3 volts on the bus via the pullups in the 5351 itself were sufficient to allow the PCF8574 to communicate with the Nano and a standard 2 X 16 display while power the display from the 5 volts on the Raduino like the original display was in the first place so we didn't add much extra load to the on board 7805 (put a 47 ohm 2 watt resistor in series with the 7805's input and you'll amost halve the generated heat).

Once I had the first version of the software in from Ron and had completed the I2C connections to the Raduino, I unplugged the old display from the Raduino and cabled up a prepared display with the modified I2C controller (removed resistors), fired it up and Hello! Once the contrast was set, it looked just like the old display did. I plugged in a pair of headphones and with all the stuff just hanging out of the box, started tuning. I found absolutely NO noise bursts associated with the I2C operation. (I do use a solid power supply that doesn't sag under a load - should be 5 amps or greater).

Okay, with that working, here were 6 completely unused DIGITAL I/O lines so Ron and I decided on using D8 for the paddle dot input, D9 for the Dash and as an afterthought and easier to code - D10 for the hand key --
now comes the sneaky part. Since we don't key CW when in SSB mode and we don't use Push to Talk when in CW mode, he co-opted D10 for both "Hand Key" and "External Keyer" plus in SSB mode as the Push To Talk line. SMOC! (simple matter of coding). Though a separate key jack is probably the best, one could rewire a hand key to use the "Ring" terminal (PTT) of the mic connector to hook it up and in an emergency you could even key the rig in CW using the PTT switch on the microphone.

I've written a DIY manual on picking off the I2C bus, how to hook up a display and how to wire up the now free Digital I/O pins for CW and a complete new manual for the included software all in the attached zipfile.

Disclaimer - You need to be willing to perform surgery on the Raduino card and all the input jacks safely in order to use this software. It WILL NOT WORK unless you make the mods first. A readme.txt file, 2 pdf manuals and a directory containing the program sketch are included in the attached zip.

Use them at your own risk.

73, Jim Sheldon - W0EB with Ron Pfeiffer - W2CTX

#ubitx New I2C/Digital I/O mod & firmware from W0EB/W2CTX #ubitx

Jim Sheldon
 

Additional info to what I just posted - I forgot to mention, now that we're using Digital inputs for the CW and PTT functions, this actually freed up 3 analog lines - A6, A7 and the A3 PTT line so you guys that chose to make the I2C modifications and Digital I/O mods for the CW and PTT inputs, you have your means to implement your S meter, Power and SWR metering.

Oh and I didn't mention that using the I2C bus for the display allows us to use larger standard displays. We've tested one of my 2 uBITX rigs with a 4 X 20 display using the same cheap I2C controller and just a slight software modification to take advantage of the larger display.

The only problem I have with that is the extruded aluminum box front panel layout I chose for the standard display would have to be severely modified to provide room for the large display.

I have a third uBITX coming (they say shipment in about 2 weeks) and I'll put that one into a much larger metal enclosure so I can use the bigger displays.

Jim Sheldon, W0EB

Re: IRF510 amplifier failures

Jerry Gaffke
 

Or build the wa2eby amp with two IRF510's in push pull.
Which works great and is pretty much flat through 30mhz


On Sat, Jan 27, 2018 at 09:53 am, K9HZ wrote:
Well it’s this way.  You can either spend a little more on the transistor (with the nice input characteristics) and design with minimal parts (e.g. one set of broad band impedance matching transformers and bias network) to work over a large frequency range (1-54 MHz)…. Or you use a cheap motor switch like the 510 and live with the gain roll-off from mismatch (large del C / del Freq) with a fixed set of broad band I/O transformers…. OR you spend more $$$ to build band switchable compensation networks to improve the matching (Can be bulky and expensive but not always).  Pay me now of pay me later.  Many commercial SS Amps that cover 1-54 MHz complete still utilize some sort of compensation network in them to cover the large frequency range and it’s not apparent to the user… even with very good RF transistors (sometimes driven by the transformer material).   All depends on the part.  Best to Simulate from the S params first.  It will tell you a lot.

Re: IRF510 amplifier failures

Arv Evans
 

Hello

Still thinking about IRF510 failures and ways to avoid making smoke.....

It seems that there may be two ways to limit current in BITX RF PA stages that use
the IRF510 device.  First would be to incorporate a current limiter in the positive
voltage supply to the RF PA stage.  Second might be to use current sensing in the
RF PA supply line to cause a voltage drop in the MOSFET bias line(s). 

In the first instance it should be possible to use another IRF510 or preferably a higher
power, MOSFET as a control that limits voltage to the RF PA section if the current exceeds
a preset value (usually this would be 2.0 to 3.0 amperes). 

This circuit has not been built or tested by me (too cold in Idaho hamshack in winter).
The MOSFET could be an IRF840, or similar.  Option-B  potentially solves another
problem, that of low level noise from powered RF PA stage during receive mode. 

In the second instance we could get by with smaller control devices if we used
current sensing in the RF PA power line to turn off bias to the IRF510 device(s). 

This bias control circuit used by AC2CZ in his 50 watt IRF510 linear.  You could
probably do this using 2N3906 transistors.  I like the fact that it includes a warning
light/LED.


Arv  K7HKL
_._

Re: No TX #ubitx

César EA3IAV
 

I have checked that c51 and r70 have continuity on rx and the opposite on tx (when ppt)
i can hear myself on a receiver but no visible output
i have tried several bands. Nothing
i have checked all ( 1 single wire ones) toroids to be correctly soldered
the 3 wire toroids look good too

o see people looked for a relais failure... but i don’t know the pins that have to be checked

qny hint to find out why the power needle is stuck on ny meter?

Re: No TX #ubitx

César EA3IAV
 

I begin the tuning process yaving the two blue pots placed fully clockwise

but when I have it like this i have much more mA when ptt than if it is turned a bit counterclockwise



Is it normal?

Re: UBITX Touch Control TFT Display

Joe
 

All valid inputs.
But with the atmega2560 the user has more inputs and output pins then one could ever use.  With the radio all wired I would estimate more than 25 spare pins

Joe
VE1BWV


On Sat, Jan 27, 2018, 11:40 AM Jerry Gaffke via Groups.Io <jgaffke=yahoo.com@groups.io> wrote:
I had never heard of elegoo.com, that looks like a good steer.
They have some nice Arduino starter kits.
However, their 2.8" TFT display is not well documented, and burns an awful lot of pins.

Here's a reply to a question up on Amazon:  https://www.amazon.com/ask/questions/asin/B01EUVJYME/4/ref=ask_ql_psf_ql_hza?isAnswered=true
      I just went through all of the pins marked on the board and the code for the support libraries.
      It appears that the display hogs all of the pins with the exception of the A5 and the serial I/O pins 0 and 1.
      This pretty much precludes the use of any other peripheral devices using Wire, SPI, or I2C.
      The SD card uses digital pins 10 through 13, so if you don't need the SD card, you can snip those pins off
      (and don't include the SD library in your project). Otherwise the options are limited.

Not what I'm looking for.  
I'd prefer a display with just a 4 wire SPI interface, and power and ground.
Recommendations solicited.

Regarding the si5351 PLL chip breakout board, in addition to adafruit.com, there is also etherkit.com and qrp-labs.com
Hans of qrp-labs is active on this forum, a kit for his board is $7.75
    https://qrp-labs.com/synth.html
The others come fully soldered up, which some may prefer.

Jerry, KE7ER




On Fri, Jan 26, 2018 at 06:42 pm, Joe wrote:
Brein,
 
I use the following: HARDWARE
 
DISPLAY - Optimum size - 2.8inch TFT - I have tried several types and sizes from various companies - hit and miss. some work but poor clarity etc.
 
Having used the elegoo 2.8 inch  TFT Display with pen - from "amazon" has resulted in 100 percent working, clear, clean, crisp displays.
I have ordered 4 over time and quality is persistent. Price  around $15.00 shipped.  Best choice
 
 
Arduino Module : Atmega 2560 - Ebay is cheapest source at less then $10.00...  Any Atmega 2560 will work..
I have many different company modules and have found they all work great...
 
DDS module -  SI5351  module (not just the chip)- available from Ebay or Adafruit direct or amazon around $11.00
 

Re: uBITX Firmware (CEC) 0.30 released (Test version). #ubitx

Dave Bottom <ars.kd6az@...>
 

Ian 

The v.30 with Ron’s CW Keying code does include adding the 4.7k pull-up at A7, as a modification to hardware.

I’m planning on adding both 4.7K chip resistors directly on the pads of the Raduino so there are no loose resistors to mount at the key jack(s).

Dave WI6R

Sent from my iPhone

On Jan 27, 2018, at 2:39 AM, Ian Lee <kd8cec@...> wrote:

I have not posted it on my blog separately since it is a test version. When the test is complete,  write a usage and post it.
I am writing for someone who is interested and test.  If I get an error report or a fix, I'll fix it and make it into github's 0.31 branch.

Here is a brief description of the change from 0.30.
improved CW Keying, Frequency Tune and CW performance according to users' requirements.
In particular, CW Keying applied ron's logic for use with original hardware. also made it possible to set the CW Key ADC range to reduce errors in CW.
ADC monitoring function is added to know the exact resistance and key contact status.
I thought that if you set your own ADC range using the measured values here, you would get an error. I need to test these things, so I leave this post.

removed all existing sources related to frequency tune. And i applied threshold, weight about speed, and steps. The problem of changing the frequency at the moment of catching the knob has probably disappeared. when the threshold has been exceeded, start frequency changing, i added some logic to prevent the thresholds from becoming unnatural.
If you want to fine-tune, slowly turn it and the threshold will be applied continuously and change very slowly.
The tune steps you can select now are 10, 20, 50, 100, 200, but you can change them in uBITX Manager 0.31 (now working)
You can change the step by pressing the function key for a long time. If you keep pressing it, Diallock will work.

The ham band movement applied at 0.28 was set to 0.30, so that region1 was set as the default.
Of course, you can change to the previous operation state by pressing the function key in the band select menu for a long time.
And like the 0.28 version, you can set up to 10 frequency bands in uBITX Manager to suit your country or your liking.

Please refer to below for the improvements and how to upload firmware and more detail.
The source and compiled firmware can be found in the release below link.
https://github.com/phdlee/ubitx

How to upload firmware and use version up to version 0.27
http://www.hamskey.com

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

Re: No TX #ubitx

Jerry Gaffke
 

Yes, current goes up when PTT is pressed because the rig is now powering
the four stages of the transmit power amp, starting with Q90.
How many mA on receive?
How many mA on transmit?


On Sat, Jan 27, 2018 at 12:52 pm, César EA3IAV wrote:
but when I have it like this i have much more mA when ptt than if it is turned a bit counterclockwise

Re: uBITX Firmware (CEC) 0.30 released (Test version). #ubitx

Jim Sheldon
 

Good Idea Dave,
I did that on one of mine earlier.  I used 1206 size, but 0805 might fit better.  No current so wattage is not a factor.

Jim - W0EB

------ Original Message ------
From: "Dave Bottom" <ars.kd6az@...>
Sent: 1/27/2018 3:14:50 PM
Subject: Re: [BITX20] uBITX Firmware (CEC) 0.30 released (Test version). #ubitx

Ian 

The v.30 with Ron’s CW Keying code does include adding the 4.7k pull-up at A7, as a modification to hardware.

I’m planning on adding both 4.7K chip resistors directly on the pads of the Raduino so there are no loose resistors to mount at the key jack(s).

Dave WI6R

Sent from my iPhone

On Jan 27, 2018, at 2:39 AM, Ian Lee <kd8cec@...> wrote:

I have not posted it on my blog separately since it is a test version. When the test is complete,  write a usage and post it.
I am writing for someone who is interested and test.  If I get an error report or a fix, I'll fix it and make it into github's 0.31 branch.

Here is a brief description of the change from 0.30.
improved CW Keying, Frequency Tune and CW performance according to users' requirements.
In particular, CW Keying applied ron's logic for use with original hardware. also made it possible to set the CW Key ADC range to reduce errors in CW.
ADC monitoring function is added to know the exact resistance and key contact status.
I thought that if you set your own ADC range using the measured values here, you would get an error. I need to test these things, so I leave this post.

removed all existing sources related to frequency tune. And i applied threshold, weight about speed, and steps. The problem of changing the frequency at the moment of catching the knob has probably disappeared. when the threshold has been exceeded, start frequency changing, i added some logic to prevent the thresholds from becoming unnatural.
If you want to fine-tune, slowly turn it and the threshold will be applied continuously and change very slowly.
The tune steps you can select now are 10, 20, 50, 100, 200, but you can change them in uBITX Manager 0.31 (now working)
You can change the step by pressing the function key for a long time. If you keep pressing it, Diallock will work.

The ham band movement applied at 0.28 was set to 0.30, so that region1 was set as the default.
Of course, you can change to the previous operation state by pressing the function key in the band select menu for a long time.
And like the 0.28 version, you can set up to 10 frequency bands in uBITX Manager to suit your country or your liking.

Please refer to below for the improvements and how to upload firmware and more detail.
The source and compiled firmware can be found in the release below link.
https://github.com/phdlee/ubitx

How to upload firmware and use version up to version 0.27
http://www.hamskey.com

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

Re: #ubitx New I2C/Digital I/O mod & firmware from W0EB/W2CTX #ubitx

KD8CGH
 

Great work!
In the doc you mention the need to be careful in selection of the I2C display controller and talk about a board from Amazon by seller "IC Module". Would provide a link? My search for IC controller on Amazon doesn't turn up one from that seller.
    Bob   KD8CGH

Re: No TX #ubitx

César EA3IAV
 

200 on receive
500 on tx but it doesn’t flick when talking or 😗 whistling

Re: uBITX Firmware (CEC) 0.30 released (Test version). #ubitx

Dave Bottom <ars.kd6az@...>
 

Thanks Jim,

I need to order some more chip resistors anyway so your input is helpful.

Dave

Sent from my iPhone

On Jan 27, 2018, at 1:28 PM, Jim Sheldon <w0eb@...> wrote:

Good Idea Dave,
I did that on one of mine earlier.  I used 1206 size, but 0805 might fit better.  No current so wattage is not a factor.

Jim - W0EB

------ Original Message ------
From: "Dave Bottom" <ars.kd6az@...>
Sent: 1/27/2018 3:14:50 PM
Subject: Re: [BITX20] uBITX Firmware (CEC) 0.30 released (Test version). #ubitx

Ian 

The v.30 with Ron’s CW Keying code does include adding the 4.7k pull-up at A7, as a modification to hardware.

I’m planning on adding both 4.7K chip resistors directly on the pads of the Raduino so there are no loose resistors to mount at the key jack(s).

Dave WI6R

Sent from my iPhone

On Jan 27, 2018, at 2:39 AM, Ian Lee <kd8cec@...> wrote:

I have not posted it on my blog separately since it is a test version. When the test is complete,  write a usage and post it.
I am writing for someone who is interested and test.  If I get an error report or a fix, I'll fix it and make it into github's 0.31 branch.

Here is a brief description of the change from 0.30.
improved CW Keying, Frequency Tune and CW performance according to users' requirements.
In particular, CW Keying applied ron's logic for use with original hardware. also made it possible to set the CW Key ADC range to reduce errors in CW.
ADC monitoring function is added to know the exact resistance and key contact status.
I thought that if you set your own ADC range using the measured values here, you would get an error. I need to test these things, so I leave this post.

removed all existing sources related to frequency tune. And i applied threshold, weight about speed, and steps. The problem of changing the frequency at the moment of catching the knob has probably disappeared. when the threshold has been exceeded, start frequency changing, i added some logic to prevent the thresholds from becoming unnatural.
If you want to fine-tune, slowly turn it and the threshold will be applied continuously and change very slowly.
The tune steps you can select now are 10, 20, 50, 100, 200, but you can change them in uBITX Manager 0.31 (now working)
You can change the step by pressing the function key for a long time. If you keep pressing it, Diallock will work.

The ham band movement applied at 0.28 was set to 0.30, so that region1 was set as the default.
Of course, you can change to the previous operation state by pressing the function key in the band select menu for a long time.
And like the 0.28 version, you can set up to 10 frequency bands in uBITX Manager to suit your country or your liking.

Please refer to below for the improvements and how to upload firmware and more detail.
The source and compiled firmware can be found in the release below link.
https://github.com/phdlee/ubitx

How to upload firmware and use version up to version 0.27
http://www.hamskey.com

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

Re: No TX #ubitx

chris gress <Chrisg0wfh@...>
 

Just like to ask have you got power on the FETs I not seen the circuit for the ubix as I not got  mine yet chris

On 27 Jan 2018 21:46, "César EA3IAV" <Cesarleon@...> wrote:
200 on receive
500 on tx but it doesn’t flick when talking or 😗 whistling

Re: No TX #ubitx

César EA3IAV
 

Yes. 13,5v

Re: UBITX Touch Control TFT Display

Michael Hagen
 

Re guarding SI5351 Boards, I still have Bare PCBs that are stand alone I2C 5V driven.

They can have headers top or bottom for connectors or plug in.

They both have proper level translation for I2C with 3.3V regulators.

The larger one is Lotsa Clocks, has the 20 Pin SI5351 with extra address jumper and 8 Clocks.

Here is a picture of them.  Bare and stuffed.

The bare PCB is $4 and $6 for Lotsa Clocks.  Include postage US and PayPal.

email me direct if interested.

73's

Mike, WA6ISP


On 1/27/2018 7:40 AM, Jerry Gaffke via Groups.Io wrote:
I had never heard of elegoo.com, that looks like a good steer.
They have some nice Arduino starter kits.
However, their 2.8" TFT display is not well documented, and burns an awful lot of pins.

Here's a reply to a question up on Amazon:  https://www.amazon.com/ask/questions/asin/B01EUVJYME/4/ref=ask_ql_psf_ql_hza?isAnswered=true
      I just went through all of the pins marked on the board and the code for the support libraries.
      It appears that the display hogs all of the pins with the exception of the A5 and the serial I/O pins 0 and 1.
      This pretty much precludes the use of any other peripheral devices using Wire, SPI, or I2C.
      The SD card uses digital pins 10 through 13, so if you don't need the SD card, you can snip those pins off
      (and don't include the SD library in your project). Otherwise the options are limited.

Not what I'm looking for.  
I'd prefer a display with just a 4 wire SPI interface, and power and ground.
Recommendations solicited.

Regarding the si5351 PLL chip breakout board, in addition to adafruit.com, there is also etherkit.com and qrp-labs.com
Hans of qrp-labs is active on this forum, a kit for his board is $7.75
    https://qrp-labs.com/synth.html
The others come fully soldered up, which some may prefer.

Jerry, KE7ER




On Fri, Jan 26, 2018 at 06:42 pm, Joe wrote:
Brein,
 
I use the following: HARDWARE
 
DISPLAY - Optimum size - 2.8inch TFT - I have tried several types and sizes from various companies - hit and miss. some work but poor clarity etc.
 
Having used the elegoo 2.8 inch  TFT Display with pen - from "amazon" has resulted in 100 percent working, clear, clean, crisp displays.
I have ordered 4 over time and quality is persistent. Price  around $15.00 shipped.  Best choice
 
 
Arduino Module : Atmega 2560 - Ebay is cheapest source at less then $10.00...  Any Atmega 2560 will work..
I have many different company modules and have found they all work great...
 
DDS module -  SI5351  module (not just the chip)- available from Ebay or Adafruit direct or amazon around $11.00
 

-- 
Mike Hagen, WA6ISP
10917 Bryant Street
Yucaipa, Ca. 92399
(909) 918-0058
PayPal ID  "MotDog@..."
Mike@...

Re: #ubitx new Alternate software for the uBITX #ubitx

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

Re: #ubitx New I2C/Digital I/O mod & firmware from W0EB/W2CTX #ubitx

Jim Sheldon
 

Bob, I think after I posted that, Amazon ran out of them.  Any I2C controller should work as long as it can provide 5 volts to the LCD display while talking on the I2C bus with only 3.3 volts to keep from smoking the VFO generator in the uBITX.  

If the controller uses the PCF8574 chip and does NOT have pull up resistors to 5 volts (around 4.7K) on pins 14 and 15 of the chip it should work.  If it does have resistors on pins 14 and 15 just unsolder them and it will still work.  The lines used for SDA and SCL in the PCF8574 are "open drain" in the chip so it can actually talk to the Nano reliably on the I2C bus without those reisistors as it will use the pullups to 3.3V in the Si5351.  Almost zilch current draw there so no problem.

There are different suppliers on Amazon that sell that same controller - Here's a photo of the board itself on the back of the display (I believe this picture is in the hardware manual I sent -).  It's the one with the LED lit up on it.  The two resistors that were removed are the two that were right next to the PCF8574 chip on the same row as the LED.  Do a search on I2C controller and hopefully you will find one of them.

Jim

------ Original Message ------
From: "KD8CGH" <rkayakr@...>
Sent: 1/27/2018 3:30:51 PM
Subject: Re: [BITX20] #ubitx New I2C/Digital I/O mod & firmware from W0EB/W2CTX

Great work!
In the doc you mention the need to be careful in selection of the I2C display controller and talk about a board from Amazon by seller "IC Module". Would provide a link? My search for IC controller on Amazon doesn't turn up one from that seller.
    Bob   KD8CGH

Inkits India QRP kits

chris gress <Chrisg0wfh@...>
 

Any one on this site help I am after a jbot QRP HF amp kit they have them on this site but not able to order from outside India anymore after they redone the site and no contact us chris

Re: No TX #ubitx

chris gress <Chrisg0wfh@...>
 

OK and good rf from the drivers I am in the dark with the ubix hope you get it sorted soon chris

On 27 Jan 2018 21:58, "César EA3IAV" <Cesarleon@...> wrote:
Yes. 13,5v