Skip to main content

WSPR on Stand alone uBITX without any device


WSPR is short for "Weak Signal Propagation Reporter".
For more information on wspr see the links below

One of the best ways to know where my signal is going is WSPR.
There are two limitations to using WSPR.
First, the transmission start time of WSPR must be accurate to standard time.
The second is that WSPR is not supported by the radio, so you should use a computer or a laptop.

The first problem is that you can use a wristwatch that has recently been checked for errors. If you look at the source code that you use for WSPR reporter, error of 1 ~ 2 seconds is allowed.
If you go camping outdoors, you can set the time on your wristwatch precisely before departure. Many people use GPS to calibrate their time, but in the case of regular GPS, errors are introduced via the serial port.

The implementation of such a digital program is difficult for the receiver and the transmitter is not so difficult. So in recent years it has been implemented in Arduino.

uBITX was able to port easily because it uses C language based on Arduino.

I just can not use the code to control the si5351 that uBITX uses, so I used a different library for WSPR transmission only.The results exceeded Arduino's firmware.
So I removed some of the features that I have implemented so far and removed some of the features of WSPR.

Later in time, I think I can fix this problem by modifying the Si5351 control code.

The most important part to implement WSPR in uBITX is below.

Moving the frequency of CW will change the pitch of the sound in SSB. It will be able to transmit WSPR to uBITX without any hardware modification.

uBITX uses 3 clocks.
Below is a partial schematic of uBITX.

As you can see from the circuit, when transmitting CW, only the frequency to be directly transmitted to CLK2 is input.

Below is the source code at the start of CW transmission.It can be seen that CLK2 oscillates by adding the fundamental frequency and sidetone.

WSPR generates 162 tone data. One tone can have values of 0, 1, 2, and 3.
0 is the reference frequency, 1 is the reference frequency plus 1.4648 Hz, 2 is 1 plus 1.4648 Hz, etc.


As you may have guessed, the above code does not handle multi-threading.
Probably an error will occur in CAT communication etc.

In this case, the timer interrupt is very simple to implement. Arduino is the first one I use this time (with uBITX), so I finished with the possibility of sending digital communication including WSPR.

Later, i will create a new SI5351 control code and apply it to uBITX with a smaller code size. (SI5351 ordered from Ali Express is coming. lol)


Popular posts from this blog

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.

CAT Support uBITX Firmware CEC Version 1.06 Release (Added WSPR)

uBITX Firmware CEC Version v1.06 (changed v1.061)

I deployed 1.06 and received feedback from WSPR's beta tester, Philip (G7JUR).
It was a problem that the LPF was not automatically selected according to band selection during WSPR transmission.

Version 1.08 has been released.

I modified it soon and changed uBITX Firmware CEC Version to 1.061.
uBITX Manager also changed Version to 1.01.


I released version 1.06 which added WSPR function to uBITX.
Beta testers have been very helpful when embedding WSPR functionality. WSPR will continue to improve in the future.

By using WSPR before and after QSO, you can check where your uBITX is spreading all over the world.  If uBITX Manager is used to put WSPR information into uBITX, uBITX no longer needs any external device to transmit WSPR.

The uBITX group's excellent tester also shared a …

CAT Support uBITX Firmware CEC Version 1.01 Release(Changed from v1.0)

CAT Support uBITX Firmware CEC Version 1.01  Release (Changed from v1.0)

uBITX Firmware CEC Version 1.06 has been released.
Please click the link below.

This version of the concept is an upgrade without hardware modifications. No hardware modifications are required to use this firmware. Continuous release and testing has been done in the uBITX group. I tried to put only the basic functions that an HF transceiver should have. The features have been upgraded with the advice of people who have great ideas in the uBITX group.
It was a project that started to contribute to the original source in github. The project was intended to fix some simple bugs and request merge to the original source. And I was planning to delete the project. At the beginning of the project there was a bit of discussion about this in the uBITX group.
Since then, I've keeping the original source type to allow code share with any user fork…