Author Topic: SDR - various uses including spectrum analyzer  (Read 11451 times)

0 Members and 1 Guest are viewing this topic.

Offline Electro FanTopic starter

  • Super Contributor
  • ***
  • Posts: 3199
SDR - various uses including spectrum analyzer
« on: January 21, 2016, 07:36:03 pm »
I'm starting to play with SDR in various forms.

This might have been posted elsewhere but I didn't see it when doing a (maybe too quick) search here:



Just curious to get comments on this, including whether anyone has seen similar apps for iPhones?
 

Offline SNGLinks

  • Regular Contributor
  • *
  • Posts: 136
  • Country: gb
Re: SDR - various uses including spectrum analyzer
« Reply #1 on: January 28, 2016, 02:53:20 pm »
Apple devices like the iPad and iPhone do not have USB interfaces! :(
 

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 19508
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: SDR - various uses including spectrum analyzer
« Reply #2 on: January 28, 2016, 03:12:15 pm »
I'm starting to play with SDR in various forms.

Not android, not tablets, definitely not iPhone, probably RPi but I haven't tried: you might be interested in https://entertaininghacks.wordpress.com/tag/sdr/

I've more results and will publish the scripts, but I've not yet had time to do it. With luck I'll have some time in the next few days.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: SDR - various uses including spectrum analyzer
« Reply #3 on: January 29, 2016, 04:24:46 pm »
In terms of using RTLSDRs as test equipment, science oriented users should learn about the "rtl_power" binary that comes with the driver -which can do quantitative measurement and write the results to a file for later analysis with the tool of your choice- or you can use the rtl_sdr binary and a pipe or fifo .. save the raw data to a file or pipe it to another tool in real time.

Also, the Linrad SDR program ( http://sm5bsz.com) is worth looking at because it has lots of test-related functionality and also supports a great deal of fine-grained configuration including the unique, as far as I know, ability to calibrate the dongle to parts per billion -assuming you can get really good stability out of it, that's an area where they vary a fair amount from model to model.

The calibrated noise figure device mentioned I think uses a modified library - which I think Linrad can also use if they are found. I have more info on that somewhere, I will have to dig it up.

I have two dongles - the ones I use the most, which both have very good frequency accuracy. One is under 1 ppm. It doesnt have a TCXO, it has not been modified in any way, it was super cheap, it just came that way. Its very stable. It runs quite cool, it never gets hot, maybe thats part of the reason why. Also it has a flat SMT crystal. (I think the can crystals are always way way off. Perhaps they are grade B from some other factory production line.)

One suggestion that seemed to work to make all dongles more stable- SM5BSZ found, was putting the bare dongle, removed from its case, in a closed container with a bunch of clean sand around it.
« Last Edit: January 29, 2016, 04:38:13 pm by cdev »
"What the large print giveth, the small print taketh away."
 

Offline Kalvin

  • Super Contributor
  • ***
  • Posts: 2145
  • Country: fi
  • Embedded SW/HW.
Re: SDR - various uses including spectrum analyzer
« Reply #4 on: January 29, 2016, 04:40:15 pm »
I have used an SDR-dongle for sniffing whether the external MCU oscillator is running or not, and whether the frequency is way out of normal range. Using an oscilloscope disturbed the circuit too much, so sniffing the oscillator with the SDR was a good choice. I took an oscilloscope probe and attached a small coil made of 10 turns to the probe. Hooked the probe to SDR using a BNC/SMA-adapter, placed the coil near the oscillator and the used the SDR-software to see the oscillator's frequency and status.
« Last Edit: January 29, 2016, 04:42:17 pm by Kalvin »
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: SDR - various uses including spectrum analyzer
« Reply #5 on: February 05, 2016, 08:02:22 pm »
Actually, I want to revise my previous post. In trying to track down a problem, I am currently trying to use my RTLSDR as a spectrum analyzer, and bluntly, using non-specialized tools - (general purpose SDR receiver software) the RTL makes a lousy "spectrum analyzer", because spurs etc, can be anywhere and the spectrum is so large, drilling down to look at a specific spur and then trying to figure out whether its a spur or intended to be there or not is not an optimal way to do things.
« Last Edit: February 06, 2016, 02:58:29 am by cdev »
"What the large print giveth, the small print taketh away."
 

Offline Electro FanTopic starter

  • Super Contributor
  • ***
  • Posts: 3199
Re: SDR - various uses including spectrum analyzer
« Reply #6 on: February 06, 2016, 03:08:24 pm »
"a lousy "spectrum analyzer", because spurs etc, can be anywhere"

- this is regarding the RTLSDR, not necessarily all SDRs.... Yes?
 

Offline uncle_bob

  • Supporter
  • ****
  • Posts: 2441
  • Country: us
Re: SDR - various uses including spectrum analyzer
« Reply #7 on: February 06, 2016, 10:08:36 pm »
"a lousy "spectrum analyzer", because spurs etc, can be anywhere"

- this is regarding the RTLSDR, not necessarily all SDRs.... Yes?

Hi

True, but it certainly *is* the device a lot of people grab for when SDR comes up. There are (tiresome) ways to get it to dodge spurs, they are more useful for narrowband stuff than for wide range sweeps.

A more general limitation on an SDR is the lack of a built in input attenuator. You can add one. Many people don't think about that first and empirically determine the burn out performance of their SDR instead (ouch !!!).

Bob

 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: SDR - various uses including spectrum analyzer
« Reply #8 on: February 07, 2016, 12:09:25 am »
I used a pickup loop and a x10 probe both connected to a CATV AB switch-  after the switch is an impromptu attenuator made out of two splitters with a CATV variable attenuator stuck between them.
"What the large print giveth, the small print taketh away."
 

Offline uncle_bob

  • Supporter
  • ****
  • Posts: 2441
  • Country: us
Re: SDR - various uses including spectrum analyzer
« Reply #9 on: February 07, 2016, 01:56:15 am »
Hi

Another approach is to haunt eBay looking for any of the good old HP bench top dial attenuators. You may or may not get a good one on your first try.....There's also the time honored approach of pulling one out of a dead old spectrum analyzer.

Bob
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: SDR - various uses including spectrum analyzer
« Reply #10 on: February 08, 2016, 09:11:38 pm »
Is there any place I can find the model numbers of such animals? I don't even know where to start. Yes, i would definitely love to have a precision attenuator, if it didn't cost an arm and a leg.

There are great deals on ebay sometimes of lesser known brands..

I am always of several minds on things like that, one part of me says, dont get it, you can make that yourself, but another part of me says "you'll never be able to do it right" and thats probably the righter of the two.

Ive been agonizing for a long time whether to get a signal generator too. I think I am just going to try to build one from a kit, using a DDS chip.
"What the large print giveth, the small print taketh away."
 

Offline uncle_bob

  • Supporter
  • ****
  • Posts: 2441
  • Country: us
Re: SDR - various uses including spectrum analyzer
« Reply #11 on: February 08, 2016, 09:31:16 pm »
Is there any place I can find the model numbers of such animals? I don't even know where to start. Yes, i would definitely love to have a precision attenuator, if it didn't cost an arm and a leg.

There are great deals on ebay sometimes of lesser known brands..

I am always of several minds on things like that, one part of me says, dont get it, you can make that yourself, but another part of me says "you'll never be able to do it right" and thats probably the righter of the two.

Ive been agonizing for a long time whether to get a signal generator too. I think I am just going to try to build one from a kit, using a DDS chip.

Hi

The one I was thinking about as I typed the message is an HP 355D. It has BNC's so it mates with a lot of bench stuff. A pretty good looking one shows up 6 items down on a quick eBay search for "HP attenuator". They only are rated to go to 1 GHz so they are not as expensive as some of the microwave versions The 8496B is the newer / higher frequency / better looking / more expensive version. It uses SMA's.  These are the wide range versions. There are also narrow range versions and binary units that are electrically driven.

Bob

 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: SDR - various uses including spectrum analyzer
« Reply #12 on: February 09, 2016, 01:01:58 am »
I wonder, has anybody successfully modded an RTLSDR to extract the tunable local oscillator signal to use in something else?

Maybe another, "better" SDR?
"What the large print giveth, the small print taketh away."
 

Offline uncle_bob

  • Supporter
  • ****
  • Posts: 2441
  • Country: us
Re: SDR - various uses including spectrum analyzer
« Reply #13 on: February 09, 2016, 01:06:06 am »
I wonder, has anybody successfully modded an RTLSDR to extract the tunable local oscillator signal to use in something else?

Maybe another, "better" SDR?

Hi

Does the oscillator even show up on a pin?

Bob
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: SDR - various uses including spectrum analyzer
« Reply #14 on: February 09, 2016, 01:13:15 am »
I am pretty sure that there is a sort of spectrum analyzer for the RTL that is implemented in python, which uses the binaries that come with the driver as its front end, and allows navigating around the spectrum, zooming, etc. Its very basic but it does let you do that. Basically its just an app that consists of a very few lines of code that links the command line rtl utilities with a Python data vis app that displays the result on the screen in realtime.
"What the large print giveth, the small print taketh away."
 

Offline uncle_bob

  • Supporter
  • ****
  • Posts: 2441
  • Country: us
Re: SDR - various uses including spectrum analyzer
« Reply #15 on: February 09, 2016, 01:16:52 am »
Hi

As mentioned above, the RTL has some interesting spur and image issues when run with the normal spectrum analyzer code.

Bob
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: SDR - various uses including spectrum analyzer
« Reply #16 on: February 09, 2016, 05:04:17 am »
Quote from: uncle_bob on Today at 20:06:06>Quote from: cdev on Today at 20:01:58
I wonder, has anybody successfully modded an RTLSDR to extract the tunable local oscillator signal to use in something else?

Maybe another, "better" SDR?

Hi

Does the oscillator even show up on a pin?

Bob


Hmmm..

This looks promising..

http://www.steila.com/blog/index.php?controller=post&action=view&id_post=9 - description which links to

http://www.g8jnj.net/softwaredefinedradio.htm
"What the large print giveth, the small print taketh away."
 

Offline uncle_bob

  • Supporter
  • ****
  • Posts: 2441
  • Country: us
Re: SDR - various uses including spectrum analyzer
« Reply #17 on: February 09, 2016, 12:14:02 pm »


Hmmm..

This looks promising..

http://www.steila.com/blog/index.php?controller=post&action=view&id_post=9 - description which links to

http://www.g8jnj.net/softwaredefinedradio.htm

Hi

For even wider range outputs, there are a bunch of AD and TI (ex National) PLL chips with built in VCO's. They are not particularly expensive and you have a massive amount of documentation on them. The ADF 5355 came up in another thread here yesterday

http://www.analog.com/en/products/rf-microwave/pll-synth/adf5355.html#product-overview

Yes indeed AD is proud of their products. You could buy several RTL dongles for the price of one chip. The AD chips work. The National chips are less expensive, they may do what you need to do.

Bob
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: SDR - various uses including spectrum analyzer
« Reply #18 on: February 10, 2016, 09:51:17 pm »
Checking out those AD chips is definitely on my "to do" list.
"What the large print giveth, the small print taketh away."
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf