Solved

Transmitting wav file to a radio

Posted on 1998-10-23
4
187 Views
Last Modified: 2010-04-30
Hi,  Does anyone know if I can just transmit a .wav file through the RS 232 port into a radio and out to another radio by just sending the file using the MSComm control? Or am I just going to get a bunch of 1 and 0's on the other side?  How would I go about sending the .wav file so its played on the other radio receiving the transmission?  
0
Comment
Question by:Nelmarcas
  • 2
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
mark2150 earned 170 total points
ID: 1441321
You're going to get 1's & 0's out the serial port.

If you plug the microphone input of a radio (say, CB) into the speaker jack of your computer (sound card output) then what would normally come out the speaker would be sent over the airwaves. You'ld have to figure out how to "key the mike". Perhaps a relay hooked to one of the lines on the serial port...

M

0
 

Author Comment

by:Nelmarcas
ID: 1441322
Thanks, that's what I thought and just wanted to confirm it. Well, hope I the manual has the the function call I can send to it to key the mike or I'll have to call the manufacturer.  Thanks, I really appreciate it.


0
 
LVL 12

Expert Comment

by:mark2150
ID: 1441323
Umm, you can fairly easily wire up a relay to the DTR line of the serial port. There's 20ma of +-12VDC available on that line. Tie the relay to ground with a diode in series and a kickback diode across the coil. This will give you good isolation between the PC and the radio. Also, I'd use a cap in series with the signal line for isolation. Keep you from getting lit up if someone reverses a plug.

M
0
 

Author Comment

by:Nelmarcas
ID: 1441324
Great Idea!  I think I'll try this!  Thanks again.

Nelmarcas
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

747 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

13 Experts available now in Live!

Get 1:1 Help Now