Skip to main content

What's new with uBITX V5. #1 - Changed IF frequency

What's new with uBITX V5 #1 - Changed IF frequency

UBITX Version 5 with improved  filter for spur has recently been released. I always appreciate Ashhar Farhan, who always makes great work.

Information on uBITX Version 5 can be found on the link below. and you can download to sourcecode with schematic

uBitx v5 Changes

I reviewed the schematic and source code of uBITX Version 5 and modified the CEC Firmware source code. I am reviewing the circuit and trying to post what is found while modifying the firmware.
I am looking for someone who can help me test the firmware.

1.changed IF frequency.
It has been changed to reduce spur.
It seems to have been changed so as not to be affected by the oscillation circuit of Raduino.

Left : uBITX v3, v4, Right : uBITX v5

Both the crystal and the capacitor used in the filter have been changed.

Below is the Ruduno Schematic. You can see a 25Mhz crystal to operate the Si5351 (Red square), And there is a 16Mhz crystal in the Arduino nano itself, which is built into the Raduino.

This is the most important part of modifying the firmware, so let's take a closer look.

2. IF filter operation in V3, V4
Below is an example of operation in V3. (Same for both reception and transmission except CW)

This is an example when receiving 14Mhz. Approximate frequency flow.

The antenna receives a lot of radio waves. We will leave only 14.000Mhz and remove all others.
Our uBITX has a nice filter that only passes 45Mhz and removes the rest. So we are going to change 14Mhz to 45Mhz.

To make 14Mhz to 45Mhz we know we need to put 31Mhz or 59Mhz in A.
(when A is 31Mhz, output 31 + 14 = 45, 31-14 = 17.
 when A is 59Mhz, output 59 + 14 = 73, 59 - 14 = 45 )

Anyway, we will try to create 59Mhz in A.

14Mhz has been changed to 45Mhz. (59 - 14 = 45Mhz)
After passing the 45Mhz filter, all frequencies are removed and only 45Mhz remain.
(We know that 45Mhz was originally 14Mhz)

Here we can find the formula below.
A : 45Mhz + Target Frequency or 45Mhz - Target Frequency, right?

Below is the part to set the frequency of 4.3 source code.

I want to select only some of the signals that pass through the 45Mhz filter to be converted to audio signal.
A very sharp filter is required.

The filter shown below, consisting of a 12Mhz crystal, is a very sharp filter that only passes about 3Khz.

To pass the signal through this filter we have to change the 45Mhz to 12Mhz again.

B : 45  - 12 = 33,
    45 + 12 = 57

(when B is 33Mhz, output 33 + 45 = 78, 33 - 45 = -12  (LSB)
 when B is 57Mhz, output 54 + 45 = 98, 57 - 45 = 12   (USB)

uBITX 4 source code

uBITX V3 source code

The codes for V4 and V3 are different, but they are similar. SECOND_OSC_USB and SECOND_OSC_LSB already applied a usbCarrier (12Mhz) value, so they look a little different.

3. IF filter operation in V5

I could not find the 45 Mhz filter part changed on the V5 circuit. Only the IF filter has been changed from 12Mhz to 11.059Mhz.
However, the V5 source code shows that the frequency is increased by 5khz when mixing frequencies to pass 45Mhz.

I do not quite understand why. It seems that uBITX V5 should be purchased and measured by an instrument. I think that if the 45Mhz filter has not changed, this part should be kept, but it is not accurate because I have not tried V5 yet.

I need help from someone with V5. I would like to offer two firmware and check the difference in the reception ratio of the two firmware.

I modified this part as follows. I respect the original author's intentions.
modified the 45Mhz filter section to pass 45005000 like Farhan as below.

If anyone can test this, I would like to test a few passes through 45Mhz.

Below are SetFrequency codes in CEC Firmware. The CEC firmware uses ATT and IF Shift functions, so some code is added, but the frequency setting method is similar.

The code is different, but the clock oscillation frequency is expected to be the same as the V5 code.

56064200 + 0 (without att, ifshift ...) - 11059200 (usbCarrier (USB)) + f = 45005000 + f
V5 Code : firstIF (45005000) + f

The same operation as the source code of the original author is performed.

In the next post I will explain the LPF and other parts.
I'm talking again, but I need help from a user with V5. Please contact me and we will send you a compiled .HEX file for testing purposes.

I am seriously thinking about converting the unassembled V4 board to V5.

Below is an video of the firmware test that supports V5.

Thanks for reading



  1. I see a birdy on my v3 at 7.078.500 very weak... and 14.075.500 aprox. Are these the birdies your dealing with ?

  2. Hello Ian
    I need to change the first IF to use in a DIY construction transceiver. Can you tell me where in the sketch can this be done?
    Thank you


Post a Comment

Popular posts from this blog

Release CEC Firmware v1.200 for uBITX All version(include V2, V3, V4, V5)

Release CEC Firmware v1.200 for uBITX All Version (include v2, v3, v4, v5) I did the firmware work for v5 when uBITX V5 was released, but I release it now.
I received the feedback from a thankful beta tester and tested it myself by converting my uBITX v3 to v5 but I was not sure.

I ordered the uBITX V5 and delivered the correct uBITX V5, so I made a little more fine-tuning.
If you use V2, V3, V4, you do not need to update this firmware.

uBITX with Nextion LCD (CEC Firmware) - Installation and Introduction

uBITX with Nextion LCD (CEC Firmware) - Installation and Introduction uBITX CEC Firmware supports various LCD since Version 1.08 (16x02 Parallel, 20x04 Parallel, 16x02  I2C, 20x04 I2C, 16x02 Dual LCD with I2C).
Supports Nextion LCD (Graphic LCD) from Version 1.09, Version 1.09x is primarily aimed at Nextion LCD support. Also 1.09x will continue to be Beta version. If you want a stable version, please use 1.08 or 1.1 version to be released in the future.

How to upgrade uBITX Firmware

uBITX is based on Arduino Nano. So uBITX's firmware upgrade method is the same as Arduino.
There are two ways to upgrade the firmware of uBITX.

The first is to compile the source from the Arduino IDE, and the second is to upload the compiled hex file using the Firmware Upgrade Tool.

I'll show you how to upload a compiled hex file as a second method.

1.Connect the uBITX's USB cable to the computer.

2.Run Device Manager on your computer.
  The way to open the Device Manager for each OS Version differs slightly.
  In most Windows, you can easily launch the Device Manager by running.

  On your computer, press the Windows key + R.

 Type devmgmt.msc and press OK Button.

On most operating systems, there will be a serial port named Ports with CH340. If so, the next step is skipped.

If the serial port is not installed as below, you need to install the driver.

Included in uBITX is the Adonano, which uses the CH340 USB To UART part.

Download the latest CH340 driver from the Internet.