element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
BeagleBone Black Radio Challenge
  • Challenges & Projects
  • Design Challenges
  • BeagleBone Black Radio Challenge
  • More
  • Cancel
BeagleBone Black Radio Challenge
Blog Beaglebone Black Radio challenge - First step(setting up SDR)
  • Blog
  • Forum
  • Documents
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Nitin_Bhaskar
  • Date Created: 16 Feb 2014 12:57 PM Date Created
  • Views 1083 views
  • Likes 3 likes
  • Comments 4 comments
  • beaglebone_black
  • sdr
  • beaglebone_black_radio
Related
Recommended

Beaglebone Black Radio challenge - First step(setting up SDR)

Nitin_Bhaskar
Nitin_Bhaskar
16 Feb 2014

Thanks element14 for selecting my design for Beaglebone Black Radio Challenge. I own a Beaglebone(first generation) so i have some prior experience in handling this new beauty(BBB).

 

My project aims in designing a radio using SDR and internet. The radio's interface(GUI) shall be Qt/GTK based. Provision of searching, storing and recording of channel shall be added. The audio output is using a USB sound card. The initial step is make RTL_SDR talk to Beaglebone Black.

 

Building rtl-sdr software


First, install cmake and libusb on Beaglebone by running

opkg install cmake
opkg install libusb*dev


Check out the rtl-sdr source and build it as described below,


git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr/
mkdir build
cd build
cmake ../
make
sudo make install

 

This completes the installation. Now its time to test it by running

 

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib rtl_test -t

 

Below is output i  got,

Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
Sampling at 2048000 S/s.
No E4000 tuner found, aborting.

Success!!!!!

My next step would be to get usb audio to work. Looks like I have to disable HDMI output for this.

  • Sign in to reply

Top Comments

  • shabaz
    shabaz over 11 years ago +1
    Hi Nitin, Great stuff! And glad you're documenting it step-by-step. Looking forward to trying this out too. I've only tried the SDR dongle on Windows so far. (by the way a carriage-return is missing before…
  • Nitin_Bhaskar
    Nitin_Bhaskar over 11 years ago in reply to onebeartoe +1
    Hi Roberto, My next post will be on that!!!! -Nitin
  • Nitin_Bhaskar
    Nitin_Bhaskar over 11 years ago in reply to onebeartoe

    Hi Roberto,

     

    My next post will be on that!!!!

     

    -Nitin

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • onebeartoe
    onebeartoe over 11 years ago

    Nice post, Bhaskar! 

     

    Last night I followed your steps to setup rtl_test, with the Adafruit radio antenna attached.

     

    I am super new to rtl and eventually found the rtl_fm command.  I tried different combinations of rtl_fm piped to sox and aplay, but was only successful in hearing radio static from the speakers.

     

    Can you provide some guidance on how to issue an rtl command to play FM frequency 104.5, and output the sound to speakers?


    Thanks,

     

    Roberto

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Nitin_Bhaskar
    Nitin_Bhaskar over 11 years ago in reply to shabaz

    Hi Shabaz,

    Thanks for your quick reply image.  "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib rtl_test -t" is one single command. Regarding USB audio, BBB recognizes the connected device but when i play an audio file, no output on headphones. I shall try out instructions mentioned in your post. Thanks image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 11 years ago

    Hi Nitin,

     

    Great stuff! And glad you're documenting it step-by-step. Looking forward to trying this out too.

    I've only tried the SDR dongle on Windows so far.

    (by the way a carriage-return is missing before "rtl_test -t", so you might want to edit that).

    I think the USB audio should work just fine as soon as you plug in the USB soundcard and then direct the audio to USB soundcard instead of HDMI, depending on the software application (default may still be HDMI, not sure). See here for some old notes on this, to know what the name of the USB soundcard device may be.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube