Great Scott Gadgets
Software Defined Radio with HackRF, Lesson 2
DSP
In order to clearly see my screen during the demonstration, viewing the video in full screen mode may help. Even better: You can download this video in high resolution (720p). (torrent)
In this Lesson
- lesson 1 homework review
- introduction to Digital Signal Processing
- a simple flowgraph
Homework
Create a flowgraph like the one in the video or the screenshot below.
Does the flowgraph behave differently if you remove the throttle block? (Connect the source directly to the sink.)
Does the FFT sink correctly indicate the frequency produced by the source? What if the source and sink have different sample rates configured?
What happens if you configure the signal source with various frequencies between 0 and 16k?
What if you specify frequencies greater than 16k? Any idea why?
What if you specify negative frequencies? Mathematically, is there a difference between cos(x) and cos(-x)?
Does the plot indicate the presence of any frequencies other than the one produced by the source? (Hint: Use Autoscale or increase dB/Div.) What is the apparent amplitude of the noise? Why is there any noise at all?
Try multiple signal sources added together. Are there any other interesting operations you could try?
Try various waveforms (instead of cosine) in the signal source.
Resources
- multi-FM RX flowgraph: lesson1solution.grc
- flowgraph for lesson 2 homework: lesson2.grc
Errata
- 5 October 2015: I used the WX GUI option in GNU Radio Companion. The default has since changed from WX GUI to QT GUI in the Options block. If you are using a newer version of GNU Radio, you’ll need to change it back to WX GUI to follow along with my flowgraph.
Software Defined Radio with HackRF is copyright 2014, 2015 by Michael Ossmann and is released under the CC BY license.