Programming a Radio Interface

Posted on 2004-11-19
Last Modified: 2010-04-17
Hi.. I'm trying to build a simple kit for myself.

I would like to write a visual basic program so that I can capture radio output to my pc. But I would also like to be able to programatically define and change the frequency... I want this program to run when I am away from home and can not be there to manually change the frequency. Some stations are AM others FM... Are there AM/FM pci or usb boards that I can purchase that are "programmable"?

Do you know of any way to do this?
Question by:adumas77
    LVL 9

    Accepted Solution

    I think that you'll need a slightly lower level language (more platform dependant) to control/communicate with whatever the hardware device is, that you get..

    The languages you'll want to use for this (personally) is:
      -Java /JNI

    You'd code a driver in assembler, and use C++ to communicate with the driver.. I also recommended Java, because it's MUCH more platform compatible, and is a very nice, secure, (and easy, personally) language to use to build the interface, and using the JNI capabilities, you can call any C++ function easily via Java.

    Just my perspective :-)

    Good luck with it!!
    LVL 55

    Assisted Solution

    by:Jaime Olivares
    You don't need a driver at all. Some radios have a serial interface to receive "commands" but I am refering to some models of Yaesu or Motorola for Amateurs Hammers, even you can loose the detachable mask and control it via a "virtual control mask" in your PC.
    I have seen on some store a Mini Component with USB cable (Philips if I remember correctly), I guess it comes with proper software.
    I don't recommend you to use Java, although it could be more portable (I am no sure of that, really), it lacks of good hardware control. Also I don't recommend you to mix many languages to solve a problem. From my point of view, C++ is a good option, because you will have full control over a serial port and professional quality user interface, you can download lots of gadgets at
    Good luck,
    LVL 9

    Expert Comment

    Hey Jaime :-)

    I recommend Java because the GUIs are much easier to create, using the SWING API. Whereas MFC or Win32 is not easy, (well, MFC isn't toooo hard :D).
    You are correct to say that Java lacks good hardware control. However, as you know, C++ doesn't, and although you don't seem to approveof mixing many languages, using JNI (Java Native Interface), implementing C++ is quick and easy..

    But, I lack experience, so you're probably correct :-)

    LVL 1

    Expert Comment

    Some analogue TV cards come with FM tuners in, and the provided software should allow you to record from different channels. A digital TV card would allow you to do this with the radio channels on Freeview (in the UK...), and there are USB DAB recievers that could also be used. You would need to look at some reviews of the available cards to choose one. I've never heard of an AM PCI reciever I'm afraid.
    LVL 3

    Expert Comment

    May I ask why you want to do this?
    LVL 9

    Expert Comment

    LVL 1

    Expert Comment

    IMO this chap was looking for a consumer level solution, not to program a HAM radio (pity we can't tell as he's abandoned it ;-) ). This would make my answer worth looking at too as the other answers are geared towards a different type of radio (particularly jaimes).

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Java/J2EE and SOA

    This course will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XMLHandling, and more. You'll also learn various Java frameworks like Hibernate and Spring.

    Suggested Solutions

    Title # Comments Views Activity
    pre4 challenge 19 73
    scoresAverage challenge 8 58
    copyEvens challenge 6 46
    mergeTwo  challenge 13 53
    A short article about a problem I had getting the GPS LocationListener working.
    Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now