[Hackrf-dev] TX/RX switching

Dana Shtun ve3dss at hotmail.com
Wed Apr 18 08:51:33 EDT 2018


Hey Jake

Can you share your flow graph? 

I have used the HackRF on SSB up to 5.7 Ghz here on transmit
with the mike plugged into the PC, but can’t figure out how to go from TX to RX easily…
Best DX has been 105 miles here on 3.4 Ghz… but power out on 5.7 is pretty low...

Also has anyone got a simple way to send morse code in real time? I’ve been able to set up
a multiband propagation beacon using the HackRF with a canned CW stream

e mail is ve3dss at hotmail.com

Thanks
Dana VE3DS (in Toronto)


On Apr 13, 2018, at 01:28, hackrf-dev-request at greatscottgadgets.com wrote:

Send HackRF-dev mailing list submissions to
	hackrf-dev at greatscottgadgets.com

To subscribe or unsubscribe via the World Wide Web, visit
	https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
or, via email, send a message with subject or body 'help' to
	hackrf-dev-request at greatscottgadgets.com

You can reach the person managing the list at
	hackrf-dev-owner at greatscottgadgets.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of HackRF-dev digest..."


Today's Topics:

  1. Selector block (Matteo Terzi)
  2. Re: RX/TX switching (Matteo Terzi)
  3. Re: RX/TX switching (wiemeyer at nehp.net)
  4. RX/TX switching (Matteo Terzi)
  5. Fwd:  RX/TX switching (Matteo Terzi)
  6. Re: RX/TX switching (Gavin Jacobs)


----------------------------------------------------------------------

Message: 1
Date: Thu, 12 Apr 2018 10:47:58 +0200
From: Matteo Terzi <matteo.terzi97 at gmail.com>
To: "hackrf-dev at greatscottgadgets.com"
	<hackrf-dev at greatscottgadgets.com>
Subject: [Hackrf-dev] Selector block
Message-ID:
	<CAAbb718NW9fr+xLYhPSTNeOHkYfaceQmoJxeQyo9gSy3=SucQA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi all,
How does the "selector block" function in GNU Radio Companion?
In attachment there is the flow (and the properties of the selector) that
I'm doing but I can't understand how the selector block is working.
Thanks a lot
Matteo
-- 
Matteo TERZI
Google Gmail Member
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20180412/da126664/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: selector.png
Type: image/png
Size: 78301 bytes
Desc: not available
URL: <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20180412/da126664/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: selector2.png
Type: image/png
Size: 94494 bytes
Desc: not available
URL: <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20180412/da126664/attachment-0003.png>

------------------------------

Message: 2
Date: Thu, 12 Apr 2018 11:53:37 +0200
From: Matteo Terzi <matteo.terzi97 at gmail.com>
To: hackrf-dev at greatscottgadgets.com
Subject: Re: [Hackrf-dev] RX/TX switching
Message-ID:
	<CAAbb71-kTuBoNRmY9zCqxxSn_D5N9-xV6M2q=9tgJk6k9+JmJA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20180412/4d786d44/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: switch_v5.grc
Type: application/octet-stream
Size: 68428 bytes
Desc: not available
URL: <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20180412/4d786d44/attachment-0001.obj>

------------------------------

Message: 3
Date: Thu, 12 Apr 2018 06:22:46 -0500
From: wiemeyer at nehp.net
To: "Matteo Terzi" <matteo.terzi97 at gmail.com>
Cc: hackrf-dev at greatscottgadgets.com
Subject: Re: [Hackrf-dev] RX/TX switching
Message-ID:
	<567d7e35958f5491e68b8f321a245c67.squirrel at webmail.nehp.net>
Content-Type: text/plain;charset=iso-8859-1

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


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



------------------------------

Message: 4
Date: Thu, 12 Apr 2018 16:54:44 +0200
From: Matteo Terzi <matteo.terzi97 at gmail.com>
To: hackrf-dev at greatscottgadgets.com
Subject: [Hackrf-dev] RX/TX switching
Message-ID:
	<CAAbb718a1pH3Su4YH9Lbjt5Sdw20zpizVeGtNWhYEDoskWyPYg at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi all,
I'm developing my flow with GRC and I need a hand. The flow is almost
finished.
I'm able to acquire a signal and in the same program, I switch in TX mode
by means of a "wx gui chooser" to re-produce the signal. The problem is
that my hackrf doesn't switch in TX mode and so, I can see the signal on
the "fft sink" but my device doesn't transmit. Do I have to use any driver
(soapy)? Which could be the problem?
Take a look at the attachment to better understand the problem.
Thanks
Matteo

-- 
Matteo TERZI
Google Gmail Member
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20180412/fafee049/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sink.png
Type: image/png
Size: 92942 bytes
Desc: not available
URL: <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20180412/fafee049/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: source.png
Type: image/png
Size: 97539 bytes
Desc: not available
URL: <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20180412/fafee049/attachment-0003.png>

------------------------------

Message: 5
Date: Thu, 12 Apr 2018 18:10:01 +0200
From: Matteo Terzi <matteo.terzi97 at gmail.com>
To: hackrf-dev at greatscottgadgets.com
Subject: [Hackrf-dev] Fwd:  RX/TX switching
Message-ID:
	<CAAbb71-Pp_0fqgkuUK70BRtsRh7UPX7RPp4LgjLZbyL2Mzk-7g at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

---------- Forwarded message ----------
From: Matteo Terzi <matteo.terzi97 at gmail.com>
Date: 2018-04-12 18:09 GMT+02:00
Subject: Re: [Hackrf-dev] RX/TX switching
To: i2NDT <i2ndt at yahoo.it>


Hi Claudio,
Which could be the problem? lack of libraries in windows or what else?
which is centre of this defect on this operating system?
Thanks
Matteo


2018-04-12 17:40 GMT+02:00 i2NDT <i2ndt at yahoo.it>:

> Matteo,
> if you are using Windows you will never be able to transmit!
> as far as I know...only Linux allows GnuRadio and HackRF One to transmit!..
> 
> i2NDT Claudio
> 
> 
> 
> 
> i2NDT's Web Site <http://digilander.libero.it/i2ndt/>
> *i2NDT's Grabber Compendium*
> <http://digilander.libero.it/i2ndt/grabber/grabber-compendium.htm>
> 
> 
> Il Gioved? 12 Aprile 2018 16:55, Matteo Terzi <matteo.terzi97 at gmail.com>
> ha scritto:
> 
> 
> Hi all,
> I'm developing my flow with GRC and I need a hand. The flow is almost
> finished.
> I'm able to acquire a signal and in the same program, I switch in TX mode
> by means of a "wx gui chooser" to re-produce the signal. The problem is
> that my hackrf doesn't switch in TX mode and so, I can see the signal on
> the "fft sink" but my device doesn't transmit. Do I have to use any driver
> (soapy)? Which could be the problem?
> Take a look at the attachment to better understand the problem.
> Thanks
> Matteo
> 
> --
> Matteo TERZI
> Google Gmail Member
> _______________________________________________
> HackRF-dev mailing list
> HackRF-dev at greatscottgadgets.com
> https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
> 
> 
> 


-- 
Matteo TERZI
Google Gmail Member



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

------------------------------

Message: 6
Date: Thu, 12 Apr 2018 21:12:27 +0000
From: Gavin Jacobs <apriljunkbox at hotmail.com>
To: "hackrf-dev at greatscottgadgets.com"
	<hackrf-dev at greatscottgadgets.com>
Subject: Re: [Hackrf-dev] RX/TX switching
Message-ID:
	<MWHPR2201MB143937746189A25B76D543B7C6BC0 at MWHPR2201MB1439.namprd22.prod.outlook.com>
	
Content-Type: text/plain; charset="iso-8859-1"

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20180412/d807ff19/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nb-fm-voice.grc.png
Type: image/png
Size: 228259 bytes
Desc: nb-fm-voice.grc.png
URL: <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20180412/d807ff19/attachment-0001.png>

------------------------------

Subject: Digest Footer

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


------------------------------

End of HackRF-dev Digest, Vol 68, Issue 4
*****************************************



More information about the HackRF-dev mailing list