greatscottgadgets / hackrf

low cost software radio platform
https://greatscottgadgets.com/hackrf/
GNU General Public License v2.0
6.55k stars 1.53k forks source link

Get 4 seperate samples from each antenna on the A side in time mode in python #1332

Closed ozgurgunesulkesi closed 4 months ago

ozgurgunesulkesi commented 1 year ago

What feature would you like to see and why?

Hi,

I would like to try a direction finding method with the hackRF and operacake but not using the pseudo Doppler instead power of arrival with 4 logperiodic antennas. Therefor I need four clean separated samples from each antenna port. I am using pyhackrf as a wrapper around libhackrf to get samples. But how do I need to set the hackrf_operacake tool.

martinling commented 1 year ago

To receive from four ports, taking four samples from each port, you can use:

hackrf_operacake -m time -t A1 -t A2 -t A3 -t A4 -w 4

The maximum switching time of the RF switches is 90 nanoseconds, so provided you use a sampling rate of 11Msps or lower, the samples from each port should be cleanly separated.

ozgurgunesulkesi commented 1 year ago

Ok thank you for the reply. I will test this one

straithe commented 1 year ago

@ozgurgunesulkesi did the instructions from @martinling solve the issue you were experiencing?

straithe commented 4 months ago

I'm closing this as there hasn't been a response in over 30 days. Please re-open this issue or open a new one if you still need assistance.