Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    SDR gnuradio RTL-SDR x N900

    Reply
    Page 1 of 10 | 1   2     3   | Next | Last
    xes | # 1 | 2013-08-30, 12:29 | Report

    Hello there!

    Who said SDR?


    --------------------------- WARNING ----------------------------
    Warning! Anything here could burn your phone or keep you awake for one week while playing with your phone. Do not complain.
    This is NOT a "DOWNLOAD this - it works perfectly" thread
    This a thread like "TRY IF YOU ARE BRAVE - MAYBE IT WORKS" ...

    After this, using an sdr to receive some kind of transmission is subject to different laws in every country. Please check if you are authorized to do that.
    ---------------------------------------------------------------------

    Here attached you can find a set of binaries to use the rtl-sdr DVB-T usb sticks based on the RTL2832 chip.
    Attached you can find the rtl-sdr updated driver, gnuradio and gqrx 2.1 (+some dependecies).

    Update: now rtl-sdr updated package are also available in extras-testing repo.
    Gnuradio and gqrx not yet packaged due a lot of time needed to fix and package them.

    All tar packages should be unpacked in /opt and, if required, linked in the standard paths.

    PLEASE, don't ask about missing libs, files not found or similar problems.
    First of all TRY, check if you have all the repos enabled and search for what is missing.
    Check python scripts, it could be that somewhere there is still some reference to scratchbox targets..

    A few packages that you could need:

    apt-get install libfftw3-3 xml-core python-lxml liborc-0.4-0 python-numpy libportaudio2 libjack0 libsdl1.2 python2.5-qt4 libqt4-core libqt4-gui libqt4-svg libqt4-xml libboost-thread1.42.0 libboost-filesystem1.42.0 libboost-date-time1.42.0 libboost-program-options1.42.0 libboost-system1.42.0 libice6 libasound2 libexpat1 libwxbase2.8-0 libwxgtk2.8-0 python-wxgtk2.8 python-wxtools python-wxversion


    Pay attention to the battery because this kind of devices draw away a lot of mA....and you could see your phone shutting down in a bad way because battery has reached the 0%.

    Speed? Yes, it's a problem... But, let'see...

    Ready to start?
    - battery charged
    - usb host mode with h-e-n (FULL/HIGH SPEED HOSTMODE - VBOOST ON)
    - host mode adapter cable
    - rtl-sdr usb dvb key
    - check the key with lsusb (if not present switch off/on hostmode and retry)

    Bonus:
    MultimonNG a fork of multimon. It decodes the following digital transmission modes:

    POCSAG512 POCSAG1200 POCSAG2400
    EAS
    UFSK1200 CLIPFSK AFSK1200 AFSK2400 AFSK2400_2 AFSK2400_3
    HAPN4800
    FSK9600
    DTMF
    ZVEI1 ZVEI2 ZVEI3 DZVEI PZVEI
    EEA EIA CCIR
    MORSE CW

    ----------------------------------------------------------------------
    Examples:

    To receive an UHF ham radio frequency(430.175 MHZ):
    /opt/rtl-sdr/bin/rtl_fm -f 430175000 -N -r 11000 - | aplay -r 11k -f S16_LE -t raw -c 1

    To receive an FM Radio(96.6 MHZ):
    /opt/rtl-sdr/bin/rtl_fm -f 96600000 -W -s 200000 -r 48000 - | aplay -r 48k -f S16_LE -t raw -c 1

    Update: using the rtl-sdr available in extras-testing repo, syntax has changed to:
    rtl_fm -f 430175000 -M fm -r 11000 - | aplay -r 11k -f S16_LE -t raw -c 1
    and
    rtl_fm -f 96600000 -M wfm -s 200000 -r 48000 - | aplay -r 48k -f S16_LE -t raw -c 1

    Please check rtl_fm --help:
    rtl_fm, a simple narrow band FM demodulator for RTL2832 based DVB-T receivers

    Use: rtl_fm -f freq [-options] [filename]
    -f frequency_to_tune_to [Hz]
    use multiple -f for scanning (requires squelch)
    ranges supported, -f 118M:137M:25k
    [-M modulation (default: fm)]
    fm, wbfm, raw, am, usb, lsb
    wbfm == -M fm -s 170k -o 4 -A fast -r 32k -l 0 -E deemp
    raw mode outputs 2x16 bit IQ pairs
    [-s sample_rate (default: 24k)]
    [-d device_index (default: 0)]
    [-g tuner_gain (default: automatic)]
    [-l squelch_level (default: 0/off)]
    [-p ppm_error (default: 0)]
    [-E enable_option (default: none)]
    use multiple -E to enable multiple options
    edge: enable lower edge tuning
    dc: enable dc blocking filter
    deemp: enable de-emphasis filter
    direct: enable direct sampling
    offset: enable offset tuning
    filename ('-' means stdout)
    omitting the filename also uses stdout

    Experimental options:
    [-r resample_rate (default: none / same as -s)]
    [-t squelch_delay (default: 10)]
    +values will mute/scan, -values will exit
    [-F fir_size (default: off)]
    enables low-leakage downsample filter
    size can be 0 or 9. 0 has bad roll off
    [-A std/fast/lut choose atan math (default: std)]

    Produces signed 16 bit ints, use Sox or aplay to hear them.
    rtl_fm ... | play -t raw -r 24k -es -b 16 -c 1 -V1 -
    | aplay -r 24k -f S16_LE -t raw -c 1
    -M wbfm | play -r 32k ...
    -s 22050 | multimon -t raw /dev/stdin


    To record a stream:
    /opt/rtl-sdr/bin/rtl_fm -f 90700000 -W -r 11000 - | lame -r -s 11000 -m m -b 64 - a.mp3

    rtl_fm and multimon-ng examples:
    http://kmkeen.com/rtl-demod-guide/index.html
    ---------------------------------------------------------------------
    DOWNLOAD:

    Packages based on gnuradio 3.6.5.1 with gqrx 2.1.251:
    http://ge.tt/4mHP5Tr

    MULTIMON-NG decoder:
    http://ge.tt/6GXzeqr/v/0

    Packages based on gnuradio 3.6.2:
    http://ge.tt/9x1WsXq

    Mirror: (thanks to Joerg_rw!)
    http://maemo.cloud-7.de/maemo5/opt/rtlsdr/

    Attached you can find the "rtl-sdr.rules" udev file. (thanks to szopin)
    This is needed to avoid fixing the /dev/xxx permissions to allow "user" to access the device.

    PS.
    If you want download from shell, attached you can find the "dirty" gett_downloader.sh
    ---------------------------------------------------------------------
    References:
    Driver:
    http://cgit.osmocom.org/rtl-sdr/log/

    Gnuradio:
    http://gnuradio.org/redmine/projects/gnuradio/wiki

    Gqrx:
    http://gnuradio.org/redmine/projects/gnuradio/wiki

    Multimon-ng:
    https://github.com/EliasOenal/multimon-ng

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Images
       
    Attached Files
    File Type: zip gett_downloader.sh.zip (533 Bytes, 843 views)
    File Type: zip rtl-sdr.rules.zip (1.2 KB, 727 views)

    Last edited by xes; 2014-06-16 at 21:40. Reason: Added requirements for wx python modules required by gnuradio gui.
    The Following 42 Users Say Thank You to xes For This Useful Post:
    48GX, abubakar, anapospastos, biketool, bobbarker, chill, Estel, explit, Fatalist, foobar, fw190, Gi0, gianko, handaxe, hardy_magnus, HtheB, Hurrian, jessi3k3, joerg_rw, klinglerware, matthewkuhl, max_power, mece, Mentalist Traceur, misiak, mouzg, mp107, mrsellout, munozferna, nokiabot, phap, Ponyta, reinob, samipower, sicelo, szopin, Tiran, trx, udaychaitanya16, wicket, Wikiwide, zod

     
    joerg_rw | # 2 | 2013-08-30, 13:10 | Report

    AWESOME!
    and you beat me on it :-)
    This is another proof why linux "phones" not dead :-D

    cheers
    jOERG

    ps: "mirrored" at http://maemo.cloud-7.de/maemo5/opt/rtlsdr/
    PPS: make sure you got improved booston script in h-e-n: http://maemo.cloud-7.de/maemo5/usr/sbin/booston, VBUS is at the edge on this setup, with the max 200mA it can provide. Consider http://talk.maemo.org/showthread.php...203#post921203 hostmode-powered

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by joerg_rw; 2013-08-30 at 14:44.
    The Following 7 Users Say Thank You to joerg_rw For This Useful Post:
    biketool, Fatalist, foobar, jellyroll, reinob, Wikiwide, xes

     
    xes | # 3 | 2013-08-30, 21:42 | Report

    I'm also planning to buy this OTG cable:
    http://www.ebay.it/itm/Micro-USB-Hos...item3a846108be

    It seems a good solution to make things easy

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 6 Users Say Thank You to xes For This Useful Post:
    48GX, biketool, Fatalist, pichlo, szopin, Wikiwide

     
    48GX | # 4 | 2013-08-31, 21:29 | Report

    wow,

    that's fantastic.

    will look into it.

    how long lasts the battery?

    regards

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to 48GX For This Useful Post:
    Wikiwide

     
    xes | # 5 | 2013-08-31, 22:01 | Report

    Well, i had no time to evaluate how long the battery could last while receiving... but for sure not many hours!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to xes For This Useful Post:
    Wikiwide

     
    jellyroll | # 6 | 2013-08-31, 22:50 | Report

    Originally Posted by joerg_rw View Post
    AWESOME!
    and you beat me on it :-)
    This is another proof why linux "phones" not dead :-D

    cheers
    jOERG

    ps: "mirrored" at http://maemo.cloud-7.de/maemo5/opt/rtlsdr/
    PPS: make sure you got improved booston script in h-e-n: http://maemo.cloud-7.de/maemo5/usr/sbin/booston, VBUS is at the edge on this setup, with the max 200mA it can provide. Consider http://talk.maemo.org/showthread.php...203#post921203 hostmode-powered
    Linux phones are the future believe that!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to jellyroll For This Useful Post:
    Wikiwide

     
    biketool | # 7 | 2013-09-01, 16:00 | Report

    Oh $#!7!!!!
    this is effing awesome!!
    Do you know the pain I wnet through to get this working on Ubuntu?!!?!?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to biketool For This Useful Post:
    Wikiwide

     
    biketool | # 8 | 2013-09-01, 16:04 | Report

    I wonder how hard it would be to add on xmit side to a RTL2832. Joerg, I want this built into my Neo900!!
    Redonkulous stuff like this is why mobile carriers will never mass market phones like the N900.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by biketool; 2013-09-01 at 16:14.
    The Following 2 Users Say Thank You to biketool For This Useful Post:
    foobar, Wikiwide

     
    joerg_rw | # 9 | 2013-09-01, 17:21 | Report

    Originally Posted by biketool View Post
    I wonder how hard it would be to add on xmit side to a RTL2832. Joerg, I want this built into my Neo900!!
    Redonkulous stuff like this is why mobile carriers will never mass market phones like the N900.
    We might allow a method to add it via the planned general purpose expansion interface under back cover. Get a mugen cover to make some empty space you could fill with rtl2832 and other nice stuff.
    /j

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to joerg_rw For This Useful Post:
    biketool, foobar, handaxe, Wikiwide

     
    biketool | # 10 | 2013-09-01, 17:46 | Report

    Originally Posted by joerg_rw View Post
    Get a mugen cover to make some empty space you could fill with rtl2832 and other nice stuff.
    /j
    Hope it fits with my Touchstone charger and the dual SIM adapter,
    seriously though that would be great use for all of the extra room in a Mugen!
    It was doing OTG stuff which first forced me to go Mugen/double Scud.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by biketool; 2013-09-01 at 17:56.
    The Following User Says Thank You to biketool For This Useful Post:
    Wikiwide

     
    Page 1 of 10 | 1   2     3   | Next | Last
vBulletin® Version 3.8.8
Normal Logout