Using Airspy R2 .... turning on bias tee problem to collect and average H1

128 views
Skip to first unread message

Stephen Arbogast

unread,
May 25, 2025, 11:05:49 PM5/25/25
to Society of Amateur Radio Astronomers
I have been  trying  to  use my AirSpy R2   on  both  Ubuntu and Windows and  I am running  into a problem  turning on  bias_t .  Here is  a  summary...

Ubuntu 24.04.2 LTS,, latest  GNU Radio Companion flow graph using SOAPY source, cannot turn on bias_t
Windows 11, GNU Radio Companion flow graph using  SOAPY source, cannot turn on bias_t
Windows 11, GNU Radio Companion flow graph using  OSMOCOM source.... I can turn on bias_t 
I have a simple program  in Python to test  turning on bias_t   using  soapy.Device  on Ubuntu  does not work.   
Below  is  a  screen shot of osmocom source working  on Windows 11....
Wondering if anyone else has  experienced this?
I am thinking   the  driver  for soapy  does not implement this.

Screenshot 2025-05-25 192527.png

Richard Squirrel

unread,
May 26, 2025, 5:34:30 AM5/26/25
to Society of Amateur Radio Astronomers
Hi Stephen,

I just received an AirSpy R2 and an AirSpy mini.
Like you, I want to run them under Linux, in my case using a 64-bit bunsenLabs (12 Boron) https://www.bunsenlabs.org/
My goal is to use ezRa with the Soapy SDR drivers.
I'll probably start with a basic Python script and check the bias-tee first.

Perhaps you should take a look at this fork, which seemed to have more advanced support:
More settings are available:
soapy=0,driver=airspy,biastee=true|false,gains=linearity|sensitivity|manual


I might have time to test this during my week off.
I'll keep an eye on your messages!
Thanks.

Richard

Richard Squirrel

unread,
May 26, 2025, 5:44:22 AM5/26/25
to Society of Amateur Radio Astronomers
Sorry, it seems that biastee support was put in the main driver a long time ago:
Richard

Stephen Arbogast

unread,
May 26, 2025, 5:24:41 PM5/26/25
to Society of Amateur Radio Astronomers
Code that Ted Cline wrote works....  
#create device instance
#args can be user defined or from the enumeration result
args = dict(driver="airspy")
sdr = SoapySDR.Device(args)
#Turn on bias_tee
result = sdr.writeSetting("biastee", "true")    # Airspy

Pasted image.png
BasicExampleAirSpy.py
Message has been deleted

Stephen Arbogast

unread,
May 27, 2025, 9:13:29 PM5/27/25
to Society of Amateur Radio Astronomers
I plan  to  add  more features  in the  future   such as those  in ezCol.py  Since I don't yet  have  az/el  control of  my small Discovery Dish  it is  very  hard to  collect cal samples.  My  inspiration  has  been  Ted Cline.  I invite  constructive  criticism...... 
Stephen


On Tuesday, May 27, 2025 at 3:55:42 PM UTC-6 Stephen Arbogast wrote:
A GNU Radio flow graph, Windows 11, GNU Radio 3.10.10.0 (Python 3.11.9)
Screenshot 2025-05-27 155214.png

Stephen Arbogast

unread,
May 27, 2025, 9:24:06 PM5/27/25
to Society of Amateur Radio Astronomers
If  any interest  I will  put  my iterations  on Github....and consider  improvements...  let me know.

Stephen Arbogast

unread,
May 29, 2025, 8:32:58 AM5/29/25
to Society of Amateur Radio Astronomers
Screenshot 2025-05-29 063216.png

On Tuesday, May 27, 2025 at 3:55:42 PM UTC-6 Stephen Arbogast wrote:
A GNU Radio flow graph, Windows 11, GNU Radio 3.10.10.0 (Python 3.11.9)
Screenshot 2025-05-27 155214.png

On Monday, May 26, 2025 at 3:24:41 PM UTC-6 Stephen Arbogast wrote:
HI_averaged_spectrum.grc
Reply all
Reply to author
Forward
0 new messages