SDR with HackRF One (Lesson 10: Filters)

Lesson 10 Overview

  • Lesson 9 homework review
  • Filter frequency response
  • Finite Impulse Response (FIR) filters
  • Multiply-accumulate (MAC) operations
  • Convolution
  • FIR filter performance
  • HackRF One baseband filter effectiveness
  • Low pass filters
  • High pass filters
  • Band pass filters

In order to clearly see my screen during the demonstrations, viewing the video in full screen mode may help. Even better: You can download this video in high resolution (720p). (torrent)


1. Create a flowgraph like the one in the video or like the screenshot below.

2. Add two more taps with sliders to the filter in the flowgraph.

3. Run the flowgraph and adjust the sliders to try to create a low pass filter with the stop band least 20 dB below the pass band and with a filter (pass band) bandwidth close to half the visible bandwidth. Judge the edge of the pass band as the point where the frequency response passes 3 dB below the highest response within the pass band.

4. Create a flowgraph containing a Low Pass Filter block. (Hint: You can use a flowgraph from a previous lesson.)

5. Execute the flowgraph or use the Generate function in GNU Radio Companion to generate the Python program output.

6. Locate the Python program output. (Hint: The filename is listed, without its .py extension, in the Options block in the upper left corner of the flowgraph.)

7. Use a text editor or file viewer to view the Python program and look for the firdes (FIR design) function within the program.

8. Under what conditions is the firdes function executed?


Leave a Reply