r/RTLSDR•
buo

Teaching and RTLSDR

I'm a college professor and I teach undergrad wireless communications. I'd like to incorporate the RTLSDR into the course. Have you had any experience with this either as a student or professor? Are there any good courses online that take this approach? Any other ideas? Thanks!

Posted Jun 4, 2014, 12:07 AM UTC

618
yoda17•

I'll just comment that I learned more in a few days with SDR (g59) than I did in a 3 hour course in communications from my engineering dept.

6
buoOP•

That's encouraging. Thanks for the link; I wasn't aware of the G59.

Would you consider the RTLSDR's lack of transmit capability to be a serious hindrance for learning? Did you use the G59's transmitter while learning?

1
bistromat•

Talk to Miki Lustig at UC Berkeley, his EE123 uses RTLSDR and he's probably the first to incorporate it into undergrad curriculum.

5
buoOP•

That's great, thanks for the pointer!

1
megapapo•
  1. Show them the waterfall diagrams and investigate how different kinds of modulations behave. This is great to visualize side-bands and the like. You also get a sense for what bandwidth means.

  2. The RTLSDR fits in nicely when quadrature sampling is explained. This always caused me a bit of a headache because mathematically, it all checks out, but I had trouble connecting it to the hardware I am building and using before I started to experiment a little bit.

  3. Relating to that, you could use what gnuradio offers: Get your raw data in quadrature and use the gnuradio blocks to put together different demodulators and ways to process the data.

  4. Show that you don't need funky hardware to tap into data that is sent over the air. For example, I have a youtube video where I decode the temperature sent from an outdoor sensor to my weather station, but it really could be anything. (I'm not implying here that you don't have to care about security if stuff is sent over a cable, but broadcasting it to anyone certainly does not help either).

  5. I'm not sure how close to the metal your class is, but if you don't have any other means, you could also use the dongle to teach hardware concepts.

Does your class come with a lab? I could imagine a ton of cool and educational hands-on experiments.

Regards

Matt

1
ase1590•

Link to the Youtube video for decoding an outdoor sensor? I just got started with my rtlsdr and this sounds like an interesting project.

1
megapapo•

Here are the videos: Part 1 and Part 2. These are not tutorials, though, it's more of a demonstration what you can do with little effort. Also I'm not an expert on this stuff, so take it with a grain of salt. (E.g. after I shot the videos, it occurred to me that I'm not filtering around the carrier frequency, so anything within the bandwidth would be subject to decoding, but I'm not even sure on that).

Regards

Matt

1
ase1590•

thank you so much, I'll be sure to give them a watch to get an idea of things I can do :)

1
buoOP•

These are good points, thanks. Yes, the class would have a lab or, if I can get away with it, it'd be a combined lecture-lab class.

Regarding tapping data from the air, in addition to receving data that is already there, I plan to also generate some signals with a USRP and have students process it to get the data.

I hadn't thought about analyzing the hardware, but it's a great idea. I'll plan to spend at least a couple of sessions on it.

1
mantraAnalog/RF/DSP Engineer•

UC Berkeley is using RTLSDRs for a class. I posted a link to their site a while back.

1
skrimskram•

I'm developing a short course for a beginner workshop right now. I'll keep you posted on what I come up with. It will be less technical, and more of an introduction to the different capabilities of RTLSDR and the things you can do with it - software that utilizes it, different modes, and what the different signals at different frequencies might be & look like, etc.

1
buoOP•

Great, thanks! Please keep me posted, and let me know if I can help -- I'll have to use some introductory material in my course anyway.

1
christ0ph•

We've had quite a few people come through here who are doing this.

Here is the one thats the easiest for me to find. https://inst.eecs.berkeley.edu/~ee123/fa12/rtl_sdr.html

We have links to a bunch of tutorials in our wiki, we need more.

Since the RTL2832 dongles are compatible with gnuradio, and a large number of gnuradio applications, as far as searching for lesson plan fodder online its probably a better approach to just think of them as the least expensive, most accessible member of the gnuradio-compatible SDR family. Gnuradio is a tool thats just made for teaching. Its perfect for that kind of thing. Just searching on "gnuradio-companion" or looking at what comes back when you type in "gnuradio" on youtube will bring up a lot of stuff.

You should ask your questions on the gnuradio and osmocom sdr list as well as here.

Maybe we should have a wiki page specifically for teachers who want to use the dongles to teach <insert your discipline here>

A lot of the low hanging fruit science projects have already been done but when you think about it, the surface has barely been scratched, especiallyif you think of them as a poor person's spectrum analyzer, GPS SDR etc.

The sky's the limit. Whenever a $10 dongle can compete with $1000 pieces of lab gear, teachers everywhere should take notice.

1
buoOP•

Thanks! Yes, they could be useful for many things. My course will focus on basic undergrad digital and wireless communications, the bandwidth/rate tradeoff, basic modulations, maybe a little error control coding, stuff like that. Depending on the level of success, we may want to expand their use to other courses.

1
christ0ph•

Balint Seeber (youtube user balint256) has done two series of tutorials on using the USRP which basically also apply to the RTL2832 dongles. We have links to them on our tutorial wiki page.

You should watch them first, I bet you will get a lot of ideas. Also, google for "Digital signals FAQ" it explains a methodical scientific process for going from an unknown signal to (more) - signal type identification, demodulation, etc.

There are a number of pre-made widgets in Gnuradio which can assist - Balint's tutorial is where to look. He's clearly an expert in that.

1
buoOP•

Thanks again. I've used gnuradio+usrp successfully for graduate student projects, and I was thinking on expanding their use to undergrad. Then it ocurred to me to use the rtlsdr instead of the usrp, because it's cheaper and each student could have their own. The challenge, of course, is how to use them effectively as a teaching tool when students are struggling through the theory at the same time. In an undergrad intro course, they don't even know what bandwidth is. Most tutorials I've seen (I think that includes some of Balint's) assume that you're already knowledgeable in a few areas. They're very useful, but I think they need to be adapted to the undergrad class environment.

1
christ0ph•

Could you start a list of the things that you think they would not understand? we can then try to find the things it takes to explain them systematically- ??

1