< Return to Video

35C3 - Digital Airwaves

  • 0:00 - 0:18
    35C3 preroll music
  • 0:18 - 0:20
    Friederike: I will give you
    a short introduction to
  • 0:20 - 0:25
    software defined radio. So some basics
    about this technology and some modulation
  • 0:25 - 0:34
    technology which your also always need if
    you want to transmit something. First of
  • 0:34 - 0:40
    all before we come to the software defined
    radio let's first have a look about what
  • 0:40 - 0:45
    generally happens in a radio transmission,
    so the parts you always need to get
  • 0:45 - 0:51
    something over the air. Normally you have
    some input signal you want to transmit, an
  • 0:51 - 1:00
    audio signal, a radio for example, a video
    signal or just any data. Then you do some
  • 1:00 - 1:07
    compression. Mostly you do this if you
    have some digital stuff in analog. You
  • 1:07 - 1:12
    don't do this so much, some error
    correction, modulation and then the
  • 1:12 - 1:17
    frequency assignment to the frequency you
    want to use for the transmission.
  • 1:17 - 1:25
    Then you have a radio channel. Sometimes
    you have mobility if you move. You have a
  • 1:25 - 1:31
    multi-path propagation. You always have
    some noise added and often there are also
  • 1:31 - 1:36
    like other signals in the air which also
    share the channel. And then at the other
  • 1:36 - 1:42
    side it goes the other way round. You get
    the demodulation, error correction if
  • 1:42 - 1:50
    there are errors and the decompression and
    hopefully outcomes here original audio or
  • 1:50 - 1:58
    video signal or the data you had
    transmitted. A bit to the frequency
  • 1:58 - 2:05
    assignment: there are frequency plans.
    Here you can see a frequency plan of the
  • 2:05 - 2:11
    US. They had a nice chart like this here
    for example you can see the frequency band
  • 2:11 - 2:20
    from 88 to 108 megahertz then some
    aeronautical services and other stuff at
  • 2:20 - 2:26
    the other frequencies for Europe. They
    have a really huge table. You can find it
  • 2:26 - 2:35
    on the website of the ECO - the European
    Communications Office. Yeah it's quite
  • 2:35 - 2:40
    large. But if you want to look what's
    probably on this frequency in the air you
  • 2:40 - 2:51
    can have a look there. So now let's start
    with a not software defined radio to get a
  • 2:51 - 2:58
    bit more used to the principles. What does
    happen there. Here's for example an old AM
  • 2:58 - 3:02
    receiver in this on this side. So we get
    the signal in the air, the AM
  • 3:02 - 3:07
    transmission. There are still some but
    they are actually switched off at the
  • 3:07 - 3:16
    moment. Here now we have a superheterodyne
    receiver, it's called like this. So what
  • 3:16 - 3:22
    we have, we have where is my mouse, here
    is my mouse. So we have here at the
  • 3:22 - 3:28
    antenna, here is the antenna, we have our
    signal S1. That's the signal we want to
  • 3:28 - 3:35
    receive. Then we have some filtering to
    get rid of all the other signals which are
  • 3:35 - 3:44
    farther away.
    Then we have our mixer here. So the LO
  • 3:44 - 3:51
    frequency of this mixer, like the local
    oscillator frequency here, is always
  • 3:51 - 3:57
    chosen in the way that the wanted signal
    always falls in the same intermediate
  • 3:57 - 4:05
    frequency. With this you can have a very
    sharp filter here. The IF filter. So at
  • 4:05 - 4:12
    your IF fillter output you only get the
    wanted signal which then, after the
  • 4:12 - 4:18
    filtering, again some amplification, goes
    to the demodulator and in the case of AM
  • 4:18 - 4:27
    now all your information is actually in
    the amplitude of the signal. So for
  • 4:27 - 4:33
    decoding and listening the easiest way
    would be just an envelope detector which
  • 4:33 - 4:38
    could look like this. You have a diode
    which actually puts the negative part of
  • 4:38 - 4:45
    the signal to the positive side. And then
    here we just use a low pass to get rid of
  • 4:45 - 4:51
    the intermediate frequency which you can
    still see here. And afterwards you can
  • 4:51 - 4:57
    just listen to your audio signal. So in
    the case of software defined radio we stay
  • 4:57 - 5:06
    to the to the RX front end in these
    examples. The TX path would be nearly
  • 5:06 - 5:13
    similar the other way around. So again, we
    have the antenna. Antennas are also really
  • 5:13 - 5:21
    important. Always take a good well adapted
    antenna to the frequency you want to
  • 5:21 - 5:26
    receive or the frequency you want to
    transmit, because otherwise you won't get
  • 5:26 - 5:34
    any signal out of the air or only a very
    low part of the signal. I gave a talk on
  • 5:34 - 5:42
    antennas at 31C3. So if you're interested
    in antennas you can have a look on
  • 5:42 - 5:53
    media.ccc.de. Then again we again have
    some filteirng, an amplifier, and now we
  • 5:53 - 6:00
    have an IQ mixer.
    Here you can see it actually consists of
  • 6:00 - 6:06
    two mixers and this local oscillator
    signal is shifted by 90 degrees to the
  • 6:06 - 6:14
    lower part here of our signal. Then again
    some filtering, amplification and then we
  • 6:14 - 6:24
    get the analog to digital converters here
    to get our IQ signal then to the computer
  • 6:24 - 6:32
    for decoding and software.
    We still have actually a big analog part
  • 6:32 - 6:39
    here. So most of the front end is still an
    analog and the digital part actually is
  • 6:39 - 6:44
    only this after the analog to digital
    converter. In this case of a classical
  • 6:44 - 6:54
    software defined radio front end. IQ data
    are pretty cool, they contain actually the
  • 6:54 - 7:03
    raw signal that is coming out of the air.
    You could also record the raw signal. It's
  • 7:03 - 7:11
    fastly getting huge. And for example do
    then the demodulation later. If you put
  • 7:11 - 7:18
    those IQ signals on a coordinate plane,
    which you can see here on the right side,
  • 7:18 - 7:24
    you can see also the phase shift of 90
    degrees between the I, which is the
  • 7:24 - 7:32
    inphase component, and the Q which is the
    quadrature component of the signal. If you
  • 7:32 - 7:45
    assigns some numbers, we can also combine
    them with a vector. We can use Pythagoras
  • 7:45 - 7:50
    for example to get the amplitude of the
    resulting vector, we can do some
  • 7:50 - 7:57
    trigonometry to get the angle.
    Actually those two parameters like the
  • 7:57 - 8:04
    angle and the amplitude are the main
    parameters you can put information in. So
  • 8:04 - 8:09
    in the example before, like the AM
    modulation, you only use actually the
  • 8:09 - 8:16
    amplitude of the signal. In contrast to
    this an FM modulation for example has a
  • 8:16 - 8:22
    constant amplitude and all the information
    is put to the to the phase or the
  • 8:22 - 8:29
    frequency. So no matter what kind of
    modulation is used, these IQ data actually
  • 8:29 - 8:34
    contain all the necessary information. A
    nice example of a modulation which is
  • 8:34 - 8:41
    often used nowadays and that also uses
    both of those parameters is the QAM
  • 8:41 - 8:49
    modulation. OK, I already told this. The
    QAM modulation here for example is a
  • 8:49 - 8:55
    constellation diagram out of the program
    GNURadio.
  • 8:55 - 9:00
    Oh it's a bit shifted everything, doesn't
    matter. So here again we have our inphase
  • 9:00 - 9:07
    component on the x axis and the quadrature
    component on the vertical axis with the
  • 9:07 - 9:14
    4-QAM we have four symbols, so we can put
    in two bits per symbol. A 16-QAM for
  • 9:14 - 9:23
    example you can put in four bits per
    symbol. If we go further, 64-QAM we can
  • 9:23 - 9:32
    put in six bits per symbol. This for
    example is used in DVB-T or DAB like
  • 9:32 - 9:46
    broadcasting systems or in Wi-Fi 802.11n
    uses up to 64-QAM. LTE also uses up to
  • 9:46 - 9:57
    64-QAM. When we go for father 802.11ac
    uses 256-QAM, so even more dots. You can
  • 9:57 - 10:07
    put in eight bits then per symbol and so
    does LTE Advanced and so the more data you
  • 10:07 - 10:19
    want to transmit, the more symbols you
    need. 802.11ax uses up to ten 1024-QAM
  • 10:19 - 10:27
    with 10 bits per symbol. And so does
    successor of 4G like the 5G New Radio also
  • 10:27 - 10:38
    uses up to 1024-QAM. Becomes interesting
    when we add some noise.
  • 10:38 - 10:43
    So you always, as I told you, always got
    the channel you always got noise. This is
  • 10:43 - 10:49
    what happens if we add some noise to the
    64-QAM. You could still like estimate
  • 10:49 - 10:57
    where the original symbol would be. This
    becomes even more difficult if we go to
  • 10:57 - 11:07
    the 1024-QAM. That's also why those
    broadband systems always use an adaptive
  • 11:07 - 11:12
    modulation like within the first data
    exchange they communicate about the
  • 11:12 - 11:18
    quality of the signal and only if you get
    a really good signal level at the
  • 11:18 - 11:25
    receiver, you choose the highest order
    modulation. Otherwise it ramped down to
  • 11:25 - 11:30
    lower orders. So these high order
    modulations only work with really good
  • 11:30 - 11:42
    signal levels. So let's go back to the IQ
    data. Those IQ data are closely related to
  • 11:42 - 11:52
    complex numbers. So to get the complex
    number let's add some imaginary unit j. So
  • 11:52 - 12:01
    we get our complex number actually a C = I
    + j * Q which are again our inphase and
  • 12:01 - 12:08
    quadrature component.
    So a complex number you can write them in
  • 12:08 - 12:12
    the Cartesian form which I
    showed. The mostly often used form is
  • 12:12 - 12:22
    actually the polar form where are we add
    Euler's number. So it becomes like C quals
  • 12:22 - 12:29
    a multiplied by e, Euler's number, to the
    power of j * phi which is our phase here
  • 12:29 - 12:40
    again. So in this case like our real axis,
    the inphase axis here becomes our real
  • 12:40 - 12:53
    axis and the Q axis becomes our imaginary
    axis. This property of this polar form,
  • 12:53 - 13:01
    which is often needed in digital signal
    processing, is the multiplication. Like if
  • 13:01 - 13:14
    you multiply two polar formed complex
    numbers this ends up in an addition of the
  • 13:14 - 13:19
    elevated parts here. And this is often
    used for example in Fourier
  • 13:19 - 13:25
    transformations or if you mix signals to
    get them from one frequency to the other.
  • 13:25 - 13:30
    One this later it looks quite complex but
    it's really worth using it at the end.
  • 13:30 - 13:39
    So um the first step in the software
    defined radio is then to get the right
  • 13:39 - 13:44
    parts of the signal through the front end,
    because if you don't get your IQ data
  • 13:44 - 13:51
    actually properly, afterwards decoding in
    software becomes very very difficult or
  • 13:51 - 13:58
    even impossible. So let's have a look at
    the different parts of our software
  • 13:58 - 14:06
    defined receiver. After the antenna,
    filtering and amplifier, we have this IQ
  • 14:06 - 14:14
    mixer. To keep it a bit more simple for
    now we just skip the IQ part and have a
  • 14:14 - 14:22
    look what a mixer in general is doing. To
    get the signal from the transmitted
  • 14:22 - 14:28
    frequency to the IF, to the intermediate
    frequency, it is multiplied with an LO
  • 14:28 - 14:34
    signal and then filtered. This
    multiplication actually ends up here in an
  • 14:34 - 14:42
    addition. Here this higher part and in a
    subtraction of the two frequencies we put
  • 14:42 - 14:50
    in here. And with the filter we actually
    get rid of of the higher part here. The
  • 14:50 - 14:58
    mixer defines the frequency range the SDL
    front end is working on. For example there
  • 14:58 - 15:06
    are those quite cheap RTL SDR USB sticks
    which were originally made for DVB-T
  • 15:06 - 15:14
    reception. They work for example from 24
    megahertz up to 1766 megahertz.
  • 15:14 - 15:25
    Then there's the HackRF, which is also an
    often used SDR font end, works from 1 MHz
  • 15:25 - 15:35
    up to 6 GHz. And the radio badge from the
    CCC camp 2015 works from 50 MHz up to 4
  • 15:35 - 15:44
    GHz. As I told, the mixer here is a bit
    simplified. Here is for example the the
  • 15:44 - 15:57
    mixer chipset of the HackRF. Here you can
    see the IQ mixing part here.
  • 15:57 - 16:03
    Next step then, after again some filtering
    amplification is the analog to digital
  • 16:03 - 16:11
    converter. We get the analog signal in
    here. And what the computer actually needs
  • 16:11 - 16:18
    are samples of the signal. So they have to
    be taken at dedicated times t here. We get
  • 16:18 - 16:25
    the sampling rate here: 1 divided by T.
    This sampling rate must comply with the
  • 16:25 - 16:30
    Nyquist Shannon sampling theorem.
    Otherwise your signal can't be
  • 16:30 - 16:36
    reconstructed properly. You get effects
    like aliasing where you have frequencies
  • 16:36 - 16:46
    that actually are not there, but are
    caused by the undersampling of the signal
  • 16:46 - 16:54
    and for complying this Nyquist Shannon
    theorem, like the the bandwidth of your
  • 16:54 - 16:59
    signal, of the signal you want to
    digitize, has to be smaller than one
  • 16:59 - 17:14
    divided by 2*T. Here an example of an DAB+
    signal. DAB+ is nice because it always has
  • 17:14 - 17:23
    a bandwidth of 1.5 MHz, it has quite sharp
    edges because it uses an OFDM modulation.
  • 17:23 - 17:35
    This here was received with an RTL SDR
    DAB/DVB-T stick, with the software Gqrx
  • 17:35 - 17:41
    which has a maximum sampling rate of 3.2
    MHz. So let's check for Nyquist. We have
  • 17:41 - 17:49
    our bandwidth of 1.5 MHz, we have the
    sampling rate of 3.2 MHz. So 1 divided by
  • 17:49 - 18:02
    2*T is 1.6 MHz and 1.5 MHz is smaller than
    1.6 MHz. Great! We can receive a DAB+
  • 18:02 - 18:15
    signal with a DAB receiver. You might ask
    now, this is also for the DVB-T reception
  • 18:15 - 18:22
    which has a bandwidth of 8 MHz. So you
    would need a sampling rate of 60 MHz to
  • 18:22 - 18:29
    receive or to digitize this. That's
    actually a nice example of the usage of
  • 18:29 - 18:38
    SDR in comparison to dedicated chipsets.
    So DVB-T here doesn't use the SDR mode of
  • 18:38 - 18:46
    this chipset, but it has a dedicated DVB-T
    chipset in here. So chipset development is
  • 18:46 - 18:53
    quite expensive, but if there is a mass
    market and for television there is a mass
  • 18:53 - 19:00
    market, they can be produced very cheap.
    So actually the SDR mode was probably
  • 19:00 - 19:09
    added for the DAB reception. Also with the
    growing bandwidth the power consumption of
  • 19:09 - 19:16
    the SDR mode becomes quite high, because
    you have always to digitize the whole
  • 19:16 - 19:21
    bandwidth of your signal.
    So if it comes for example to LTE with 20
  • 19:21 - 19:32
    or 40 MHz bandwidth this becomes quite
    relevant. OK, we can get the DAB signal
  • 19:32 - 19:36
    here.
    The next relevant parameter here is the
  • 19:36 - 19:44
    resolution of the ADC. With a 3 bit
    resolution for example you would get 8
  • 19:44 - 19:54
    discrete values from your signal. With an
    8 bit resolution you get 256 values. With
  • 19:54 - 20:03
    60 bit you get a lot of values and those
    parts of the step here, you can see for
  • 20:03 - 20:12
    example the 3 bit resolution and the 6 bit
    resolution of a sine signal and all those
  • 20:12 - 20:18
    parts of the steps, of the 3 bit
    resolution, actually end up in noise,
  • 20:18 - 20:25
    which is called quantization noise.
    Here for example you see the spectral view
  • 20:25 - 20:31
    of the signal. The first one with a 6 bit
    resolution. You can see the noise floor
  • 20:31 - 20:42
    here at -68 dB and below with the 8 bit
    resolution, the noise floor falls down by
  • 20:42 - 20:52
    12 dB. So we get a noise floor down at -80
    dB. What we also see here is actually here
  • 20:52 - 21:04
    are some examples. The RTL SDR has two 8
    bit ADCs, the HackRF and the Rad1o have a
  • 21:04 - 21:11
    dual 8 bit receive ADCs and, as they are
    also transmitting purposes, they have a
  • 21:11 - 21:20
    dual 10 bit transmit DAC, so the other way
    round to get your digital signal in the
  • 21:20 - 21:28
    analog domain again. The RTL SDR is only
    for receiving purposes.
  • 21:28 - 21:33
    What we also see here is on the right
    side, we get our signal in the time
  • 21:33 - 21:41
    domain, on the left side we get the
    frequency domain. So how do we get the
  • 21:41 - 21:49
    frequency view of our signal? Here for
    example in the form of a spectral view and
  • 21:49 - 22:03
    down here is this with a nice colors, this
    part is called a waterfall diagram. Here
  • 22:03 - 22:10
    in the spectrum view we see the level of
    our signal components over the frequency
  • 22:10 - 22:19
    and the waterfall diagram then shows the
    different levels and different colors
  • 22:19 - 22:26
    plotted over the time here.
    So how do we get the frequency view of our
  • 22:26 - 22:35
    signal? Actually uh we use a Fourier
    transformation to convert the time the
  • 22:35 - 22:42
    main signal into the frequency domain.
    Wikipedia actually had a nice animation
  • 22:42 - 22:50
    about this in public domain, so we have a
    square wave signal which is a linear
  • 22:50 - 22:56
    combination of sines of different
    frequencies here in blue. And the
  • 22:56 - 23:02
    component frequencies of these sines then
    are spread across the frequency spectrum
  • 23:02 - 23:07
    and they are represented here as peaks in
    the frequency domain.
  • 23:07 - 23:14
    So mathematically this looks like this:
    here we get the different components, the
  • 23:14 - 23:21
    sine components of our square wave signal.
    For the sake of simplicity, we just skip
  • 23:21 - 23:28
    the harmonics here, just take the sine
    signal, calculate the Fourier
  • 23:28 - 23:36
    transformation which is an integral of our
    function. The sine signal here multiplied
  • 23:36 - 23:49
    by e^(-j2pift) and integrated over t.
    We also use again the polar form here,
  • 23:49 - 23:59
    which then ends up in a multiplication of
    these components and the integral of this
  • 23:59 - 24:11
    multiplication then ends up in delta
    impulses at a frequency here of a and -a
  • 24:11 - 24:17
    and we still have half of an inverse
    imaginary unit here.
  • 24:17 - 24:25
    If we have a look at the Fourier transform
    of a complex constant wave signal, this
  • 24:25 - 24:36
    actually simplifies to 1 delta impulse
    here at the frequency of a. For practical
  • 24:36 - 24:44
    purposes um computational purposes we use
    a DFT, like a discrete Fourier
  • 24:44 - 24:55
    transformation, so the integral ends up in
    a summation of the signal components. And
  • 24:55 - 25:00
    actually normally we use a fast Fourier
    transformation which you also see in all
  • 25:00 - 25:10
    the software, which is actually an
    algorithm to efficiently calculate a DFT.
  • 25:10 - 25:17
    So let's have a view again at the DAB
    signal here with the Gqrx software. We
  • 25:17 - 25:23
    have the waterfall view and because it's a
    bit small, no here it's actually quite
  • 25:23 - 25:33
    seen. Yeah it's a bit bigger. So on the
    left side we have an FFT size of 32768 and
  • 25:33 - 25:42
    on the right side an FFT size of 512 and
    actually with the FFT length you define
  • 25:42 - 25:48
    afterwards the resolution of the bandwidth
    of the spectrum. So you can see here, it's
  • 25:48 - 25:58
    much more coarser than with a higher radio
    resolution bandwidth here on the left
  • 25:58 - 26:05
    side.
    Then the sliders down here, you can find
  • 26:05 - 26:14
    those sliders and stuff here in the FTT
    settings of Gqrx if you want to have a
  • 26:14 - 26:20
    look at this software. The sliders here
    down, I also have them a bit bigger here
  • 26:20 - 26:26
    you can define the reference level. So if
    you have a very low signal, you have to
  • 26:26 - 26:35
    put it a bit down. And also the, range
    like the range you see your signal. If you
  • 26:35 - 26:40
    have a high dynamic signal, you need a
    large range to see all the parts of the
  • 26:40 - 26:48
    signal. If you have a very very low signal
    power you need to switch it down to a
  • 26:48 - 26:57
    smaller range to actually see anything of
    your signal.
  • 26:57 - 27:03
    So the possibility is actually to
    efficiently calculate an FFT or IFFT, like
  • 27:03 - 27:09
    the inverse Fourier transformation, also
    gave the possibility to a wider use of
  • 27:09 - 27:15
    multi carrier modulation methods as OFDM
    here, orthogonal frequency division
  • 27:15 - 27:20
    multiplex.
    Nowadays this is often used in mobile
  • 27:20 - 27:27
    communication systems such as LTE due to
    its resistance to the effects of the
  • 27:27 - 27:34
    propagation channel. For example multi-
    path propagation um often causes
  • 27:34 - 27:46
    destructive interferences so some of your
    carriers actually are in an destructive
  • 27:46 - 27:53
    interference part, so they are actually
    attenuated a lot.
  • 27:53 - 27:59
    And if you if you distribute your
    information over several carriers, you
  • 27:59 - 28:06
    still have the chance to receive some of
    the carriers and then you can afterwards
  • 28:06 - 28:12
    use some error correction mechanisms to
    repair actually the data and get something
  • 28:12 - 28:21
    out of the data. And so here the FFT or in
    the TX case, in the the transmission case,
  • 28:21 - 28:31
    an inverse FFT is used actually to
    distribute the, for example the QAM data
  • 28:31 - 28:40
    to the different frequencies to the
    different carriers. Then it's again the
  • 28:40 - 28:52
    regular IQ mixer and in the case of the
    reception we use the FFT to get the
  • 28:52 - 29:02
    symbols, the QAM symbols for example, out
    of our different carriers. Here again you
  • 29:02 - 29:15
    see I like DAB, again the DAB signal. Here
    we have a DAB uses 1536 subcarriers and
  • 29:15 - 29:22
    the number of subcarriers here actually is
    also always a compromise of how close your
  • 29:22 - 29:28
    subcarriers are, which defines how much
    Doppler shifts, in case of mobile
  • 29:28 - 29:36
    reception, your system is capable to scope
    with and on the other hand it defines how
  • 29:36 - 29:44
    long your signal is in the air. So the
    more carrier you have the longer your
  • 29:44 - 29:52
    signal is and that has an effect on how
    much delay your signal can scope with.
  • 29:52 - 30:02
    Additionall, often there is a guard
    interval added to the symbol to scope with
  • 30:02 - 30:08
    more delays, for example DAB is a
    broadcasting system with a capability of
  • 30:08 - 30:13
    single frequency networks, so you can run
    different transmitters on the same
  • 30:13 - 30:20
    frequency with the same program but
    especially in the overlapping areas this
  • 30:20 - 30:27
    results in very large delays So that's why
    the broadcasting system has very much
  • 30:27 - 30:40
    carriers. LTE in contrast only has in the
    downlink with a 10 MHz bandwidth 601
  • 30:40 - 30:50
    carriers, in the uplink 600. And 802.11ac
    for example with 40 MHz bandwidth has 128
  • 30:50 - 30:57
    carriers.
    So now let's come back from this quite
  • 30:57 - 31:04
    complex world of software defined radio to
    the real world. So what SDR actually
  • 31:04 - 31:10
    brings are quite cheap and flexible
    solutions of formerly very expensive
  • 31:10 - 31:17
    technology. That's why it's actually often
    used in academia are also for prototyping
  • 31:17 - 31:26
    purposes. But there's also a quite big
    community developing open source software
  • 31:26 - 31:32
    for software defined radio. I want to show
    you now like two examples where those SDR
  • 31:32 - 31:41
    technologies facilitated community driven
    projects. One is digital radio which goes
  • 31:41 - 31:49
    digital in Switzerland or Community Radio
    goes digital In Switzerland. Like
  • 31:49 - 31:55
    digitizing local community radio has
    actually long been a problem, community
  • 31:55 - 32:00
    radios are a non-profit making media
    produced by a local community and serving
  • 32:00 - 32:05
    a local community.
    There's also one here in Leipzig which are
  • 32:05 - 32:10
    also doing a program from the Congress
    here. I think they are actually starting
  • 32:10 - 32:18
    now for I think for 3 hours today. It's
    called Fairydust.FM, so if you want to
  • 32:18 - 32:29
    listen you can look at the wiki where to
    receive them. They mostly do not have a
  • 32:29 - 32:35
    huge budget for running a radio. The
    development was facilitated by a low
  • 32:35 - 32:40
    threshold cheap transmitter. So FM
    transmitters are really cheap now or they
  • 32:40 - 32:49
    can be built. With DAB now, digital audio
    broadcast, the possibilities of running
  • 32:49 - 32:54
    your own cheap transmitter became quite
    difficult for a long long time. DAB was
  • 32:54 - 32:59
    developed by the big broadcasting
    corporations like BBC or the German public
  • 32:59 - 33:04
    media.
    And it's actually adapted to their needs.
  • 33:04 - 33:09
    You can put in a lot of programs in
    multiplexes, you can run huge single
  • 33:09 - 33:16
    frequency networks. There is a national
    SFN in Germany for example. Local
  • 33:16 - 33:23
    community radios, so does local commercial
    radios, need more like flexible cheap
  • 33:23 - 33:33
    radio transmission. So you might argue
    that digital radio isn't relevant anymore
  • 33:33 - 33:40
    but actually there are countries that
    start to switch off FM and only streaming
  • 33:40 - 33:46
    through the Internet is also not an
    appropriate solution. So what happened
  • 33:46 - 33:51
    some years ago was, that people started to
    write open source DAB SDR software to
  • 33:51 - 33:57
    build up quite cheap DAB transmitters. You
    can find the software here on
  • 33:57 - 34:04
    opendigitalradio.org. They have this nice
    penguin with a transmission tower as a
  • 34:04 - 34:14
    logo and in Switzerland the FM switch-off
    is set to 2024. So it's quite coming
  • 34:14 - 34:21
    closer and a lot of communities are
    already on the digital airwaves there with
  • 34:21 - 34:30
    this solution of software defined radio
    based transmitter technologies.
  • 34:30 - 34:36
    The UK is also on the way to switch off FM
    and there the Ofcom actually recently
  • 34:36 - 34:42
    started a survey about the demand for
    small scale DAB. Also based on this SDR
  • 34:42 - 34:51
    solution which makes it affordable to
    community radios. Another example is
  • 34:51 - 34:59
    community-driven cellular telephone
    telephony. In remote areas, for example in
  • 34:59 - 35:05
    Mexico and probably in a lot of more
    countries, often there is no cellular
  • 35:05 - 35:10
    network connection at all as it's just not
    a good business for mobile broadband
  • 35:10 - 35:19
    providers if you have only a few hundred
    clients to use it or customers who pay for
  • 35:19 - 35:25
    it. I was some years ago in the south of
    Mexico for an article about the first
  • 35:25 - 35:30
    community driven cellular network which
    was also built on open source SDR
  • 35:30 - 35:39
    technology like OpenBSC and OpenBTS which
    made it then quite affordable for the
  • 35:39 - 35:48
    communities there. Today this "association
    telecommunications inaudible comunitarias" has
  • 35:48 - 35:55
    a license to run autonomous telephone
    networks in different parts of Mexico as
  • 35:55 - 36:00
    Chapels (inaudible Mexican region), Vera Cruz
    and Puebla and nowadays they are already
  • 36:00 - 36:06
    running nearly 20 cellular networks there
    and they also do a lot of trainings and
  • 36:06 - 36:17
    write a lot of manuals. So if you want to
    learn how to run your own GSM networks,
  • 36:17 - 36:24
    they are actually only, you can have a
    look on their site. So these are only two
  • 36:24 - 36:34
    examples of projects where SDR facilitated
    low budget communication, so you might
  • 36:34 - 36:44
    ask, if you now want to have a look on SDR
    yourself, where to start. So for radio
  • 36:44 - 36:50
    reception this cheap RTL SDR USB sticks
    are your friend.
  • 36:50 - 36:58
    They cost around 10 to 20 euros depending
    on where you get it. And there's software
  • 36:58 - 37:07
    like this Gqrx, which I already had a lot
    of examples in my slides, which runs on
  • 37:07 - 37:15
    Linux and Mac. Here's an example of Gqrx
    for FM reception for example. It has also
  • 37:15 - 37:24
    an built-in FM decoder, so you can really
    listen to FM radio. There are also AM
  • 37:24 - 37:33
    decoder and some others also. You can also
    dump the IQ data with this Gqrx for
  • 37:33 - 37:43
    decoding it later. There's also software
    for Windows like SDR# or HSDR or WinSDR.
  • 37:43 - 37:50
    Always keep in mind that listening to non-
    public broadcasts is forbidden! The next
  • 37:50 - 37:59
    level then would be GNURadio, I already
    showed in between the talk plots from
  • 37:59 - 38:07
    GNURadio, like the constellation plots of
    QAM modulation. GNURadio actually offers a
  • 38:07 - 38:14
    very large framework for software defined
    radio functions. Also to build your own
  • 38:14 - 38:21
    applications. There are sources. For
    example here is a source where you can
  • 38:21 - 38:30
    connect your RTL SDR USB stick, define
    here the sampling rate, the frequency and
  • 38:30 - 38:36
    different and other stuff here. Then you
    have a lot of function here, for example
  • 38:36 - 38:44
    the FM demodulation, you have a spectrum
    viewer, here the FFT sink, different
  • 38:44 - 38:51
    resamplers and then you have different
    sinks here. You you connect it to your
  • 38:51 - 38:59
    sound card with the audio sink and in this
    case listen to FM radio. You can also
  • 38:59 - 39:08
    define a sink to connect your HackRF to
    transmit something. You can also write
  • 39:08 - 39:15
    your own functions. So it's quite easy in
    this graphical front, the GNU Radio
  • 39:15 - 39:22
    Companion to add own functions.
    There are many tutorials also in the
  • 39:22 - 39:30
    Internet and very active community and
    it's also very often used in academia. So
  • 39:30 - 39:35
    if you are perhaps studying or are
    planning to study, there are very often
  • 39:35 - 39:41
    projects around GNURadio which you can
    work on if you're interested. There is
  • 39:41 - 39:48
    also a lot of different SDR hardware
    available. So the HackRF I already
  • 39:48 - 39:54
    mentioned, the Rad1o badge from the CCC
    camp. So if you don't have one, you can
  • 39:54 - 40:01
    ask around perhaps someone still have one
    lying around. There are more expensive
  • 40:01 - 40:07
    ones, which then have for example better
    resolutions, the ADCs, DACs have better
  • 40:07 - 40:12
    resolutions.
    Um there is the USRP family which is much
  • 40:12 - 40:21
    more expensive but, yeah you can do a lot
    more with this and it's also very often
  • 40:21 - 40:30
    used in academia. I also knew it from my
    time I worked at the university. So
  • 40:30 - 40:34
    further information, if you are now
    becoming really interesting, there are
  • 40:34 - 40:40
    lots of massive open online courses. For
    example I saw one from the University of
  • 40:40 - 40:48
    Madrid but in English. So there are video
    tutorials for example from the makers of
  • 40:48 - 40:55
    the HackRF at their website. There also
    nice, free available books on SDR by
  • 40:55 - 41:03
    Analog Devices for example, if you look
    for "SDR4 engineers". And if you are now
  • 41:03 - 41:14
    here, there is an SDR challenge at the
    congress. They have a table in Hall 3 in
  • 41:14 - 41:20
    the wastelands there. If we have a look at
    the small brand(???) so there are various
  • 41:20 - 41:27
    different SDR challenges from quite easy
    to difficult. There's a game server to
  • 41:27 - 41:33
    claim your flag in a team and if you don't
    have an SDR you can borrow one, like these
  • 41:33 - 41:40
    RTLS SDR sticks, for a deposit and there
    also if you don't like all this GNURadio
  • 41:40 - 41:48
    stuff, there are also Bluetooth
    challenges. So thanks for your attention.
  • 41:48 - 41:52
    And feel free to ask questions if you
    want!
  • 41:52 - 42:02
    Applause
  • 42:02 - 42:04
    Herald: Thank you. We have at least 15
  • 42:04 - 42:09
    minutes left for Q and A. So walk to a
    microphone and let's see what you got
  • 42:09 - 42:21
    questionwise. OK, microphone number five.
    Question: Yeah. You mentioned that
  • 42:21 - 42:29
    listening to a non-public broadcast is
    forbidden. What's your basis for this.
  • 42:29 - 42:38
    Because if I recall correctly the European
    Convention of Human Rights has an article
  • 42:38 - 42:44
    about being free to conduct journalism.
    And there was a claim that journalism
  • 42:44 - 42:50
    includes just listening to the entire FM
    spectrum.
  • 42:50 - 42:55
    Answer: Yeah. The FM spectrum is public so
    there's no problem. But there are other
  • 42:55 - 43:00
    services like that are not encrypted
    because in former times this technology
  • 43:00 - 43:09
    just wasn't available or affordable for
    normal persons. So nowadays you have much
  • 43:09 - 43:15
    more possibilities to receive other
    frequencies for example quite easily which
  • 43:15 - 43:19
    are not public. And so it's forbidden to
    listen to them actually.
  • 43:19 - 43:27
    Q: Yeah but by what? Is there a law?
    A: The law? Oh I'm not a lawyer so I don't
  • 43:27 - 43:33
    know exactly what law it is.
    Q: Okay.
  • 43:33 - 43:41
    H: Okay, any other questions? Does the
    Internet have questions by now? If you
  • 43:41 - 43:45
    have a question by the way just go to a
    microphone.
  • 43:45 - 43:50
    Signal: The Internet doesn't have any
    questions but MCR of open digital radio
  • 43:50 - 43:53
    would like to thank you for speaking with
    them.
  • 43:53 - 43:59
    H: OK. That's not a question.
    A: Sorry, what? I didn't get it.
  • 43:59 - 44:05
    S: No questions.
    A: Okay. Okay great.
  • 44:05 - 44:10
    H: Well that's a quick one then. Thank you
    all for your attention. Oh sorry.
  • 44:10 - 44:17
    Microphone number two.
    Q: Yeah. It's not a question either. It's
  • 44:17 - 44:21
    just a clarification of the legal
    situation. So basically you're allowed to
  • 44:21 - 44:28
    listen to non-public broadcasts or non-
    public radio traffic for example like a
  • 44:28 - 44:37
    aero nautical. But you're not allowed
    to record it and to to publish the
  • 44:37 - 44:41
    information that you gathered.
    A: Ah OK, thanks.
  • 44:41 - 44:48
    Q: So, theoretically sitting at home and
    listening to, yeah, I mean the tower
  • 44:48 - 44:53
    talking to the pilots or whatever or even
    to to police is allowed. You're just not
  • 44:53 - 45:02
    allowed to basically make a profit from
    it. That's the legal situation in Germany.
  • 45:02 - 45:07
    I don't know how it looks in other parts
    of Europe.
  • 45:07 - 45:11
    H: Since we are violating the protocol of
    Q and A anyway by not asking questions.
  • 45:11 - 45:13
    Laughter
    H: I am a lawyer and various member states
  • 45:13 - 45:17
    of member state you could question that as
    attention if the European Convention of
  • 45:17 - 45:21
    Human Rights or not. But it really varies
    from member state to member state.
  • 45:21 - 45:24
    Laughter
    Q: Well, in that case.
  • 45:24 - 45:30
    Applause
    Herald: Now I really would like to have a
  • 45:30 - 45:33
    genuine question. Something that starts
    with a sentence, ends with a question
  • 45:33 - 45:46
    mark. Do we have any takers? Oh in that
    case, thank you so much for your
  • 45:46 - 45:47
    attention.
  • 45:47 - 45:52

    35c3 postroll music
  • 45:52 - 46:09
    subtitles created by c3subtitles.de
    in the year 2019. Join, and help us!
Title:
35C3 - Digital Airwaves
Description:

more » « less
Video Language:
English
Duration:
46:09

English subtitles

Revisions