Your calculations for bit duration seem to be correct.
And your idea of using 1/2 KHz signals to represent 1/0 (commonly known as
FSK
http://www.wj.com/pdf/technotes/FSK_signals_demod.pdf ) would work just
fine at about 300 bps or so.
That's the speed of actual acoustic modems from 25-30 years ago which are
indeed using FSK.
It's beyond the scoop of this NG to explain why you can not switch between
1 and 2 KHz signals at a 9600 bps rate without getting out of 3 KHz
bandwidth.
Should it be possible, we'll be using 1GBps modems over phone lines now.
Indeed, if you can switch between 1 and 2 KHz at .1 ms interval, why can't
you switch with 1 Pico second interval or so?
If you'd like to figure out why it's not working, get a piece of paper and
draw 1 and 2 KHz sine waves to scale.
Take a sequence of, say, 101010 and draw it (FSK encoded) on the same paper
by alternating 1/2 KHz every .1 ms or so (all to scale).
If you don't see the problem, try implementing it on a desktop as it has
beep() and look at the resulting signal spectrum.
Again, 300 bps is pretty much all you can get with acoustic channel.
Modern modulations like QAM which are capable of delivering higher speeds
won't work well because of phase/frequency distortions and noise in the
acoustic channel.
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "(e-mail address removed)" <
[email protected]>
Newsgroups: microsoft.public.dotnet.framework.compactframework
Subject: Re: BEEP function not present in .NET CF....
Date: 14 Mar 2005 05:57:24 -0800
Organization:
http://groups.google.com
Lines: 23
Message-ID: <
[email protected]>
References: <
[email protected]>
<
[email protected]>
<
[email protected]>
<
[email protected]>
NNTP-Posting-Host: 65.88.196.162
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1110808648 5132 127.0.0.1 (14 Mar 2005 13:57:28 GMT)
X-Complaints-To: (e-mail address removed)
NNTP-Posting-Date: Mon, 14 Mar 2005 13:57:28 +0000 (UTC)
In-Reply-To: <
[email protected]>
User-Agent: G2/0.2
Complaints-To: (e-mail address removed)
Injection-Info: o13g2000cwo.googlegroups.com; posting-host=65.88.196.162;
posting-account=MCTB7A0AAACKS_rV-5ZTlRG5MLV7rRz5
Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-online.de!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!postnews.google.com!o13g2000cwo
googlegroups.com!not-for-mail
Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.dotnet.framework.compactframework:73177
X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
IIya,
I am not an expert in data communications. I need some help on some
calculations.
I have to transmit data at 9600 baud. Each frame has 11 characters(1
Start + 8 Data + 2 Stop). I have to transmit the ascii equivalent of
the characters in data.
Like say if the data is "amit". Its ascii equivalent is 97 109 105 116.
I convert these to bits and pack each character in a frame(total 11
bits).
So if the baud rate is 9600bps. I do the following 9600/11=872
characters per second. I do a reciprocal(1/872) ie 1.146 ms to get the
duration of a character. Since each character is 11 bits then each bit
should be sounded for 1.146/11ms ie 0.104 ms.
Do you think my calulations are right? If not then can you please tell
me the right calculation?
Best Regards,
Amit