Solved

Transmitting wav file to a radio

Posted on 1998-10-23
4
191 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

770 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