W3SZ RTL and RSPduo Sun Noise Page

This is a followup to our October 2018 discussion at the MWL just past regarding measuring sun noise / moon noise.  This was originally written on October 7, 2018 and was updated December 15, 2023 with some additional details pertinent to using this method with an ExtIO device other than the RTL ( such as the SDRPlay RSPduo ), and for using virtual audio cables from VB Cables rather than the VAC virtual audio cables.

The key to getting an accurate measurement is in having sufficient bandwidth of the sampled signal, whether the technique used is an old analog method or a more technologically advanced SDR-based method.

Paul Wade W1GHZ wrote an excellent although now dated article on this subject in the 1990s:
https://www.qsl.net/n1bwt/chap10.pdf 

Paul wrote this article before SDR’s had come onto the scene for Amateur Radio use, and so he used a wide-band (several MHz bandwidth) analog system using a 10 GHz transverter, some interdigital filters, and an amplifier feeding an HP 432 power meter.

I was going to duplicate Paul’s system more a decade or so ago when I ran into Al Ward W5LUA at Dayton, and he indicated that I should advance to the current century and use an SDR-IQ ( or maybe it was an SDR-14, I don’t remember ) taking the IF signal from the 10 GHz transverter along with SpectraVue running in the Continuum mode to do this. I already had an SDR-IQ, and so that is what I have done ever since.

VK3UM also wrote a detailed paper on sun noise in 2008. He had not yet embraced the digital age:
http://www.vk3um.com/SunNoise_Measurements.pdf 

Here is a brief paper on using SpectraVue for measuring sun noise. There are no startling revelations in it:
http://www.pa0ehg.com/spectravue.htm 

So, basically, my opinion is that using anything other than an SDR to measure sun noise (or moon noise) these days is dinosaur-like behavior.  Below is my cookbook for setting up a system to use a cheap $20 RTL-SDR dongle for measuring sun and moon noise.

What You Need to Do This:

RTL SDR Dongle such as are available on Amazon:

https://www.amazon.com/RTL-SDR-Blog-RTL2832U-Software-Defined/dp/B0129EBDS2

or another device that has an ExtIO driver, such as the SDRPlay RSPduo:

https://www.sdrplay.com/rspduo/

HDSDR Free SDR Software:

http://hdsdr.de/

ExtIO_RTL2832U.dll dll file:

http://hdsdr.de/download/ExtIO/ExtIO_RTL2832.dll

or if you are using the RSPduo, an ExtIO file from here:

https://github.com/SDRplay/ExtIO_SDRplay/releases/tag/2.1

Zadig Driver Utility (not needed if you are using the RSPduo or similar device):

http://zadig.akeo.ie/

Virtual Audio Cable or equivalent (this is NOT freeware):

https://software.muzychenko.net/eng/vac.htm

or my current preference, VB Cable, available from VB-Audio Software:

https://vb-audio.com/Cable/

SpectraVue Free Software:

http://rfspace.com/RFSPACE/SpectraVue.html

In case you get stuck, the RTL-SDR Quick Start Guide at:

http://rtl-sdr.com/QSG

or if you are using the RSPduo, the guide for their ExtIO:

https://www.sdrplay.com/docs/sdrplay_extio_user_guide.pdf

1.  Steps to Do This if you are using an RTL-SDR dongle:

  1.  Plug your RTL-SDR dongle into a USB port.  DO NOT install any of the software that came with the dongle, but let Plug and Play try to install it.  If you had already installed any software drivers that came with the dongle, uninstall them.
  2. Go to http://zadig.akeo.ie/ and download Zadig, if you haven’t already done so.
  3. Run Zadig and go to Options->List All Devices and make sure this option is checked.
  4. Select “Bulk-In, Interface (Interface 0)” from the drop down list. Ensure that WinUSB is selected in the box next to where it says Driver. (Note on some PCs you may see something like RTL2832UHIDIR or RTL2832U instead of the bulk in interface. This is also a valid selection). (Do not select “USB Receiver (Interface 0)” however).
  5. Click “Replace Driver” (or “Install Driver” if the button says that). You might get a warning that the publisher cannot be verified, but just accept it by clicking on Install this driver software anyway. This will install the drivers necessary to run the dongle as a software defined radio. Note that you may need to run zadig.exe again if you move the dongle to another USB port, or want to use two or more dongles together.
  6. Download HDSDR from http://hdsdr.de/, using the download button at the bottom of the page, if you haven’t done so already.
  7. Use the installer you just downloaded to install HDSDR, if you haven’t done so already.
  8. If you haven’t done so already, go to http://hdsdr.de/hardware.html and download the ExtIO_RTL2832U.dll dll file from the table entry “RTLSDR (DVB-T/DAB with RTL2832) USB” (Direct Link).
  9. Copy the ExtIO_RTL2832U.dll file into the HDSDR install folder which is by default set to C:\Program Files (x86)\HDSDR.

1a.  Steps to Do This if you are using an SDRPlay RSPduo:

  1.   Download the SDRPlay ExtIO files from the link given above: https://github.com/SDRplay/ExtIO_SDRplay/releases/tag/2.1
  2. Run the file SDRplay_ExtIO_Installer_2.1.exe to install the ExtIO files, following the instructions in the guide that you got from https://www.sdrplay.com/docs/sdrplay_extio_user_guide.pdf , installing the files into your HDSDR install folder which is by default set to C:\Program Files (x86)\HDSDR.

2.  Next Steps common to all devices:

  1. Open HDSDR. You might be asked to select a .dll file. If you are using the RTL-SDR, then choose the ExtIO_RTL2832U.dll file you just copied over and then click Open. If you are using the SDRPlay RSPduo, then click on the file ExtIO_SDRplay_RSPduo,dll. It is okay if you do not see this screen as long as you have copied the ExtIO dll file over properly in the last step. 
  2. Whether or not you saw the screen above upon opening HDSDR for the first time, next click on the “SDR Device [F8]” button in HDSDR.  This will present you with a window where you can set up the hardware parameters particular to your device.  The image below is the window that pops up when you are using an RSPduo:
  3. I originally recommended, in 2018, that you download and install Virtual Audio Cable from https://software.muzychenko.net/eng/vac.htm  This is not freeware, and the trial version is not suitable because it produces a periodic audio message that will interfere with the test measurements.  If your system is 32 bits, select the 32 bit download.  If it is 64 bits, then select the 64 bit download.  However, in 2023 there is a freeware alternative (actually donationware, but you don’t need to donate) VB-Cable the use of which is described in item #5, below.
  4. If you are using the Virtual Audio Cable (not the VB Cable), next open the Virtual Audio Cable Control Panel and set the sampling rate of Cable 1 to 192000 in both “SR” boxes, as is illustrated below.  Then click the “Set” button in the “Cable Parameters” box, then click “Restart Audio Engine” and finally, click “Exit”.    Note that when you start it, Virtual Audio Cable should always start in administrator mode.  If it does not, then you may get an error when you try to “Restart Audio Engine”.  If that happens, exit the program and start it by right clicking on its icon and then left-clicking “Run as administrator” instead of double-left-clicking on the icon.  You can also set the program to always run as administrator by right-clicking on it, then clicking “Properties”, then clicking “Compatibility”, then clicking “Run this program as an administrator”, and then clicking “OK”.
  5. If you are using the VB Cable, download it from the following URL:  https://www.vb-audio.com/Cable/VirtualCables.htm.  Unzip the file and run the install file named “VBCABLE_Setup_x64.exe” if you have a 64 bit system or the file “VBCABLE_Setup.exe” if you have a 32 bit system.  You will need to set the sampling rate for the cable to 192000 and the bit depth to 16, and you want the cable to be stereo.  To set all of this, go to the Windows Control Panel and click on “Sound” and then find the VB cable that you are going to use on the “Playback” tab and right-click it and select “Properties”.  Go to the “Advanced” tab and select “16 bit, 192000 Hz (Studio Quality)”.  Then go to the “Spatial Sound” tab and make sure that is set to “Off”.  Then click “OK”.  Now select the “Recording” tab and on this tab right-click the same VB cable and select “Properties”.  Go to the “Advanced” tab and select “2 channel, 16 bit, 192000 Hz (Studio Quality)”.  Click “OK”  and then click “OK” again to save your settings.
  6. In HDSDR, click on “Soundcard [F5]” and select “Line 1(Virtual Audio Cable)” if you are using VAC, or the proper VB Cable if you are using VB Cable.  Then click “OK”. 
  1. Click on “Bandwidth [F6]” and under “Output” click on 192000.  Then click the “X” in the upper right corner of this window.  Do NOT change the Input Bandwidth!  
  2. Click on “Options [F7]” and then on “Output Channel Mode for Rx” and on “IF as I (Left) / Q (Right)”. 
  3. Set the HDSDR LO frequency to a clear segment in the 2M band (or whichever band you are receiving on, or possibly an IF frequency) and make sure that “AGC Off” is showing in the buttons located beneath the recording controls.  You can fine tune the frequency either by clicking in the RF spectrum, or using the Tune numbers.  Make sure that you are in “FM” mode by clicking on the “FM” button if it is not already illuminated.  After you click the “FM” button, you can use the slider to the right of the buttons below the recording controls to bring the bandwidth to 192000 if it is not already set to that value, by pulling the slider to the very top of the vertical slider bar:
  4. Next set the output filter width to 200 kHz using the pull-down box at the right edge of the “Tune” frequency adjust line.  Set the filter width to 200 kHz as shown below:      
  5. Next pull the red bandpass filter line in the bottom right corner to the right until it disappears off the screen.  You will see the frequency of the bandpass edge increase as you do this.  I pull it all the way to 192000, which is well outside the HDSDR window.
  6. Download SpectraVue from http://rfspace.com/RFSPACE/SpectraVue.html and install it.
  7. Run SpectraVue and set InputDevice to Soundcard. 
  8. Click on “Soundcard IN Setup” and set SoundCard to “Line 1 (Virtual Audio Cable)” if you are using VAC, or to the VB Cable if you are using it.  Also set Sample Rate and BW Limit to 192000 and set Center Freq to 96000 and make sure “Stereo (Complex I=R, Q=L)” is checked.  Then click “OK”. 
  9. In the main SpectraVue window, click on “Continuum” to set the receiver to that mode.  Then make sure that Span is set to 0.192000 MHz and then click “Start-F12”.  Then click “Auto Scale (A)” and that should position the signal trace near the bottom of the screen.  You can click below the arrow at the extreme right of the display to move the signal trace higher on the display.  I use settings of 32 FFT Ave, 0 Smoothing, FFT/BLK 16384, 0.1 dB/Div V Scale.  The “Demod On” box at the right edge of the window should be unchecked.
  10. To measure sun or moon noise, just feed the 144 MHz receive output of your tranverter (or whatever your input is) into the input SMA jack of the RTL-SDR dongle or the 50-ohm Tuner 1 input of the RSPduo, or use a splitter to put the device in parallel with the receive input of your 144 MHz-28MHz transverter.  The signal level of the RTL-SDR dongle (once it has warmed up) or the RSPduo is quite stable, as you can see below with the dongle’s input seeing a 50 ohm termination. 
  11. Good Luck!

Please let me know if you have questions or comments!

–W3SZ  10-7-2018