[Hackrf-dev] RX/TX switching

Matteo Terzi matteo.terzi97 at gmail.com
Tue Apr 17 07:35:46 EDT 2018


Hi all,
In the end I decided to buy another hackRF One.
I'd like to use an hackrf to receive and the other one to simoultaneously
trasmit the signal received, using just one PC. Is it possible?
Then how can I visualize two different graphs of what I described before.
How could I sync the clock between the two devices (HW and SW)
Thanks

Matteo

2018-04-12 23:12 GMT+02:00 Gavin Jacobs <apriljunkbox at hotmail.com>:

> Brian,
> Attached is a flowgraph which shows how to RX/TX voice. There are several
> things that need to be explained.
> 1) My server is in the attic, so I use the network to send/receive the
> audio to my laptop. The UDP Source and UDP Sink blocks handle that for me,
> but you could use the GRC Audio Sink/Source blocks.
>
> 2) The Select block was written by me to choose which stream to transmit.
> You will have to use a single stream - probably the Audio Source block, and
> GUI button to control PTT. Don't try to use
>
> 3) The Osmocom Source and Osmocom Sink blocks both use a Device Arguments
> field of:
> soapy=0,driver=hackrf
> Using the Soapy driver allows both the source and sink blocks to access
> the same hackrf device. If there is data available to TX, it switches to
> Transmit mode; when all the data hase been send, it switches back to
> Receive. So in my example, the Signal Source and the WAV File source will
> transmit continuously, while the UDP Source will only transmit when I send
> voice over UDP from my laptop. But to use the Soapy driver, you have to
> have Soapy support in Osmocom, which means you probably have to rebuild
> Osmocom, which means building a bunch of the dependancies; and it's only
> possible on Linux (as far as I know). It's tough assignment for a beginner
> - especially if you are used to Windows.
>
> It took several months (off and on) to achieve the above. If I had to
> start again, and knowing what I know now, I would probably use an SDR for
> receive, and use the hackrf just for transmit, using two different antennae
> (or possibly an antenna switch).
>
> Hope that helps.
>
> Jake
>
>
>
> ------------------------------
>
> Kind of a similar question, but instead of TXing from a file, is there a
> way to hook up a microphone to a hackRF and transmit mic output (with a
> carrier frequency and appropriate modulation), i.e., for ham radio.
>
> Brian
>
>
> _______________________________________________
> HackRF-dev mailing list
> HackRF-dev at greatscottgadgets.com
> https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
>
>


-- 
Matteo TERZI
Google Gmail Member
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20180417/696b8239/attachment.html>


More information about the HackRF-dev mailing list