Re: [Hackrf-dev] RX/TX switching

2018-04-17 Thread Matteo Terzi
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 :

> 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@greatscottgadgets.com
> https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
>
>


-- 
Matteo TERZI
Google Gmail Member
___
HackRF-dev mailing list
HackRF-dev@greatscottgadgets.com
https://pairlist9.pair.net/mailman/listinfo/hackrf-dev


Re: [Hackrf-dev] RX/TX switching

2018-04-12 Thread wiemeyer
All,

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




On Thu, April 12, 2018 4:53 am, Matteo Terzi wrote:
> Hi Jake,
>
> I’m a newcomer to GRC and I’m trying to learn as much as I can with
> it. I
> installed GNU Radio Companion on Windows 7.
>
> In my flow I’d like to receive a signal, register it into a file, switch
> from RX to TX and suddenly transmit it. My problem is that I can’t
> create a
> flow to switch.
>
> In attachment you can find my program.
>
> Thanks for the support
>
> Matteo
>
>
> --
> Matteo TERZI
> Google Gmail Member
> ___
> HackRF-dev mailing list
> HackRF-dev@greatscottgadgets.com
> https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
>


-- 
Brian Wiemeyer
2395 Cherry Tree Rd.
Gurley, AL  35748
(256) 725-4429
wieme...@nehp.net

___
HackRF-dev mailing list
HackRF-dev@greatscottgadgets.com
https://pairlist9.pair.net/mailman/listinfo/hackrf-dev


Re: [Hackrf-dev] RX/TX switching

2018-04-12 Thread Matteo Terzi
Hi Jake,

I’m a newcomer to GRC and I’m trying to learn as much as I can with it. I
installed GNU Radio Companion on Windows 7.

In my flow I’d like to receive a signal, register it into a file, switch
from RX to TX and suddenly transmit it. My problem is that I can’t create a
flow to switch.

In attachment you can find my program.

Thanks for the support

Matteo


-- 
Matteo TERZI
Google Gmail Member


switch_v5.grc
Description: Binary data
___
HackRF-dev mailing list
HackRF-dev@greatscottgadgets.com
https://pairlist9.pair.net/mailman/listinfo/hackrf-dev


Re: [Hackrf-dev] RX/TX switching

2018-04-11 Thread Gavin Jacobs
Matteo,
Using GnuRadioCompanion, there is a way to switch from RX to TX, but it is not 
obvious. If you use the Osmosdr Source and Sink blocks, and specify the hackrf 
as the device, then one works but not the other. However, if you use the 
Osmosdr Source and Sink blocks, and specify Soapy as the device, and hackrf as 
the soapy device, then you can have both source and sink in the same flowgraph. 
If you are a newcomer to GRC, it can be a long road to get it working. To get 
started, are you a beginner with GRC? What is your platform? Do you have the 
hackrf working in receive mode? Also, please tell us a bit about your 
application.

Jake


From: HackRF-dev  on behalf of Matteo 
Terzi 
Sent: April 10, 2018 3:34 AM
To: hackrf-dev@greatscottgadgets.com
Subject: [Hackrf-dev] RX/TX switching

Hi,
I'd like to know if there is a way to switch from RX mode to TX mode and vice 
versa with GRC Radio Companion.
Thanks

--
Matteo TERZI
Google Gmail Member
___
HackRF-dev mailing list
HackRF-dev@greatscottgadgets.com
https://pairlist9.pair.net/mailman/listinfo/hackrf-dev