Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable antenna port power... #150

Closed
mathisono opened this issue Nov 2, 2020 · 4 comments
Closed

enable antenna port power... #150

mathisono opened this issue Nov 2, 2020 · 4 comments
Labels

Comments

@mathisono
Copy link

I'm wondering where I might place the -p 1 argument for the hackRF to activate power on its antenna port for a preAmp?

@kpreid
Copy link
Owner

kpreid commented Nov 2, 2020

Options like that are parameters to the osmosdr device string, but not spelled the same way as the hackrf command line tools. My config file for HackRF with power looks like:

config.sources.add('hackrf', OsmoSDRDevice('hackrf=,bias=1', sample_rate=20e6, correction_ppm=19))

(Note the comma, and no space.)

This and other options are documented at the gr-osmosdr wiki, and the final word of course is the source code, gr-osmosdr/lib/hackrf/hackrf_source_c.cc.

@kpreid kpreid added the support label Nov 2, 2020
@mathisono
Copy link
Author

config.devices.add(u'osmo1', OsmoSDRDevice('hackrf=4f4397,bias=1', name='hackrf--(APN-450)'),PositionedDevice(xyz, xyz))

Interesting that you apply your ppm there! my SDR farm is at a remote site temperature really plays a big part in my ppm drift so much so I've started putting fans on the RTL v3, they get really HOT!!!

@kpreid
Copy link
Owner

kpreid commented Nov 2, 2020

I assume you've got the bias power working!

@kpreid kpreid closed this as completed Nov 2, 2020
@mathisono
Copy link
Author

mathisono commented Nov 2, 2020

yes thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants