Skip to main content

How to connect SDR (RTL-SDR) to uBITX and uBITX Firmware CEC Version V1.071 (Beta) Release

How to connect SDR (RTL-SDR) to uBITX


(uBITX Firmware CEC Version V1.071 Beta Release,
At the end of the beta test, we will release to 1.08.)


uBITX and SDR usage will be divided into several and will be posted.

Some users have attempted to connect SDR to uBITX.
I also supported SDR connections from uBITX since CEC Firmware 1.070 (Beta).


In addition to CEC Firmware, any firmware can connect SDR in the following way.
If you are not using CEC Firmware version 1.070 or later, you need to modify the source code a little bit because RTL-SDR can only receive more than 24Mhz.

Also, there are a lot of better ways than I explain. I think that hardware experts will find ways to improve even more.
For example, using Latch Relay to control SDR connections, RTL-SDR to connect impedance, etc.

The current source structure is constantly changing to support various LCDs.
After the LCD type to support is selected, we will organize the source file structure and distribute it.
It will not take long. Please upload the Hex file using XLoader or avrdude for the time being. (I sometimes push source code to github but do not use it. It will continue to change for the time being)

uBITX_Manager
https://drive.google.com/open?id=1sUXi32N8ROS53tb51Y35C67XiTCmluiW

uBITX CEC Firmware V1.071 Beta
https://drive.google.com/open?id=1J8w3u2rfjEnZizQpIMxCqbTfGf2dgrKF


1. Cable preparation
If you are going to connect SDR directly to uBITX, this is not necessary.




2. Connecting the cables
The schematic of ubitx can be downloaded below.
http://www.hfsignals.com/wp-content/uploads/2017/12/ubitxv3.pdf

I connected the SDR to the bottom.


As you can see in the picture, that part is convenient to connect.
I will write about why I chose that part (the front of the 12Mhz filter) at the end of this document.

In particular, do you see a blank space next to it? I will put a relay on that space later.
But SDR performance is better than I thought. So maybe I can continue to use it as it is now.

If you SDR built in uBITX or connected the SDR antenna directly to the uBITX, the following operation is not necessary.


It's a really simple work.



3.uBITX Manager Settings
Click th 'Connect'


Click the 'Read from uBITX'


Click the 'Deocde =>'


4.Configuration for SDR
You will see the following screen.


4-1 SDR Offset Frequency
This is where you enter the base frequency to transmit to SDR.

(Again, SDR connections do not necessarily have to use my firmware.
In most firmware you can change the IF frequency very simply by simple modified source code.)

Since I can receive more than 24Mhz for RTL-SDR, I entered 30Mhz here.
This depends on your radio condition and the type of SDR you have.

Example)
Enter 30000000



4-2 AutoSave - Enabled SDR Mode
In CEC firmware, uBITX should either send sound to the speaker, send it to SDR, or choose either one.

In SDR mode, no sound is output from the speakers.
In order to prevent misunderstandings, uBITX always operates in speaker mode when it is bootup.

However, if you have a very good SDR mode like me, you may want to keep in SDR mode until you switch to speaker mode through the menu.  If you check this menu, SDR Mode will not be automatically released even if uBITX is rebooted.

I checked this option because SDR Mode and Speaker Mode can be switched at any time by menu.

4-3 SDR Frequency Mode
This part is too complicated.
I had to make a few options for most SDR software on Windows and Linux.
I will post an optimal connection with SDR Sharp, Linux, and Raspberry based SDR.



0 is transmitted at a fixed frequency.

1.The frequency entered above + uBITX is connected to SDR at the frequency shown on the LCD window.
For example, if the offset frequency is 30.000000 Mhz and the frequency displayed on the uBITX LCD window is 7.074000, it will be received at SDR of 37.074000.

2.SDR Offset Frequency + Mhz unit.
 If Offset frequency is 30.000000Mhz and uBITX LCD display 7.074000Mhz, SDR will be received at 37.074000Mhz.
 If Offset frequency is 30.000000Mhz and uBITX LCD display 14.074000Mhz, SDR will be received at 34.074000Mhz.

 If Offset frequency is 30.000000Mhz and uBITX LCD display 21.074000Mhz, SDR will be received at 31.074000Mhz.

  That is, We can read the frequency from SDR even if it does not support Cat and IF.

3.SDR Offset Frequency + Mhz unit.
 If Offset frequency is 30.000000Mhz and uBITX LCD display 7.074000Mhz, SDR will be received at 30.074000Mhz.
 If Offset frequency is 30.000000Mhz and uBITX LCD display 14.074000Mhz, SDR will be received at 30.074000Mhz.

 If Offset frequency is 30.000000Mhz and uBITX LCD display 21.074000Mhz, SDR will be received at 30.074000Mhz.

Now select 0 because the example uses SDR-Radio to support CAT communication and IF input.



5.Press the '<= Encode'


Write to uBITX


6. Omni-Rig Setting (Option)
It is not necessary.
However, I used the Omni-Rig because I wanted to be able to communicate uBITX simultaneously with SDR software and Wsjt-X.


You only need to set Rig Type, Port and Baudrate.
Rig type : FT-817
Port : COM 13
Baud rate : 38400


Do not press 'OK'. You must leave it alone.

7.Launch the SDR Console.


SDR-Console can be downloaded from SDR-Radio. Please refer to the SDR-Radio homepage for details.
http://www.sdr-radio.com/

Run your own SDR.



The reason I chose SDR-Radio is below.
This is because it supports IF output.
This is a great way to connect your HF device to your computer.
But do not worry. With the above options, other SDR software can be used without difficulty. Including Linux.

Press the Select button on the View toolbar.


Select External Radio.


Then an External Radio button will be created on the toolbar as shown below.



Click the External Radio button. The program will be restarted and the following screen will appear.

Press the '?' Button.


If Omni-Rig is running, it will automatically be selected as below.
(if unselected, select '1 : FT-817:On Line')



Click the Frequency button on the left.
Select IF output as shown below and enter 30.000.000.
30.000.000 is the value entered in uBITX Manager.



Press OK to close the window and press the 'Track' button.


SDR and uBITX are fully connected.



8.Switch to SDR Mode
Menu -> SDR Mode On? -> Press the Button


9.Enjoy playing uBITX with SDR






10.Next
The reason I chose SDR-Radio for my first posting on uBITX and SDR connections is that it is easy to apply to most firmware that supports CAT communication as well as my firmware.

I used the $ 8 low-cost RTL-SDR. Digital communication as well as general communication is possible. Using the IF to connect to the SDR for computers was limited to most expensive HF radios.

In particular, SDR-Radio can receive multiple frequencies at the same time.
Wsjt-X receives FT8 and I can receive CW.

The following post is an application of SDR-Radio.
I will post SDR #, Linux, or Raspberry based SDRs in order.


11.Why did I put the SDR connection point there?
I looked for a way to connect SDR to uBITX.
Most people used the SDR connection point following a 45Mhz filter.
It is a great way and is the only way to connect SDR.


The purpose of connecting the SDR was probably to see the spectrum.
But the test result was too weak. If the purpose of connecting the SDR to the uBITX is to see the spectrum, it could be used, but the SDR could not be used as the main receiver.

So I chose the front of the 12Mhz filter, which is amplified once more.
But the signal here is around 12Mhz, which is not available with RTL-SDR.

I decided to put 12Mhz at a good frequency to connect to the SDR and instead use the speakers instead. Of course, when SDR Mode is off, you will hear the sound from the speaker again.

The second reason I chose this place is to make it a little more convenient for most SDRs that do not support IF and Linux-based SDRs.
It is to change the frequency connected to the SDR so that the frequency can be easily read in the SDR software.
The other candidates were Sound Out, 12Mhz after the filter passed.

Comments

  1. Deeply taken by surprise Ian.
    Great idea.
    Indeed a very pleasant surprise.
    73 de Konstantinos, SV1ONW

    ReplyDelete
    Replies
    1. Konstantinos.

      Thanks, I will test it on Linux or Raspberry pi in a few days, maybe some people can change uBITX to SDR-HF with Raspberry Pi Zero at low cost.
      That was my goal this time.

      Ian KD8CEC

      Delete
    2. Awesome. What is that bulge?

      Delete
  2. C32 and R37 on the schematic are interchanged in the picture. R37 is where C32 is shown on the schematic and vice versa. To use the SDR with the Ubitx, do I need to do this modification to connect the SDR?

    ReplyDelete
    Replies
    1. Yes. I also confirmed that the schematic was wrong.
      You can just ignore it.
      Connecting to C32 will work well.

      Ian KD8CEC

      Delete
  3. Which RTL or SDR you connect to the UBITX?

    I order my kit now, i got impressed by your setup

    73! LB3RE

    ReplyDelete
    Replies
    1. Thank you for your interest.

      i using rtl-sdr
      https://www.ebay.com/sch/sis.html?_itemId=null&_nkw=USB+R820T+DVB+T+RTL+SDR+Realtek+RTL2832U+Digital+HDTV+Tuner+Receiver+Black&_trksid=p2047675.m4100.l9146

      I use $ 8, but if you can buy a cheaper one, it can also be used.
      I am looking for something a little smaller.
      Ian KD8CEC

      Delete
  4. Ian... I think with just a simple 20dB IF amplifier (high frequency op amp) just for the SDR you could get this to work at the 45MHz level very easily.

    ReplyDelete
  5. William Schmidt.

    Pefect!!! Great idea.

    I failed to get a signal on the 45Mhz IF section. (Too weak)
    Let me know if it succeeds !! I wish you a great success. I will follow soon.

    Good idea thank you.
    Ian KD8CEC

    ReplyDelete
  6. SDR function a Great add-on !!

    I have an upconverter (100mhz) and a rtl dongle.
    Using this provides a much wider bw and even gain...

    I attach the input to the converter to my antenna (for a test)
    output goes to rtl sdr dongle.

    I was wondering what SDR settings i would use: (in ubitx manager)?

    sdr offset freq? Should I enter 0 or the upconverter freq (100mhz)?

    sdr frequency mode? 0 or 1 or 2 or 3?

    and on the sdr radio pgm :
    what radio configuration - offset frequency or direct antenna?
    I presume its direct antenna

    My converter is 100mhz offset

    Thanks again
    Your work is much appreciated...
    Joe
    VE1BWV

    ReplyDelete
    Replies
    1. Joe How are you?

      I connected the SDR to the IF because it was aimed at improving the receiving function of uBITX. And I did not have an Up Converter. :)

      SDR mode and SDR Offset are used to connect SDR to the IF output.
      Maybe you do not need SDR mode and SDR Frequency Offset setting.

      You just set the offset in SDR software to -100Mhz.
      If you are not satisfied with the reception performance, try connecting to IF Output.

      Ian KD8CEC

      Delete

Post a Comment

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.
http://www.hamskey.com/2018/05/ubitx-firmware-cec-version-108-release.html

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.
http://www.hamskey.com/2018/03/cat-support-ubitx-firmware-cec-version_24.html

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…