Pages: [1]   Go Down
Author Topic: Communicate with arduino over telephone line - max speed?  (Read 656 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 85
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I am interested in communicating with arduino over a telephone line. What is the maximum bytes per second that can be acheived? Is fsk the the fastest or are there other methods? Any example links would be appretiated also.

Thanks,

-ren
Logged

Global Moderator
Dallas
Online Online
Shannon Member
*****
Karma: 177
Posts: 12288
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


By "telephone line" do you mean one end is controlled by a phone company?  Or do you mean a cable with two or four conductors and you control both ends?
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 443
Posts: 23834
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

"telephone line", I believe the FCC limits the power you are supposed to put over lines so the max data rate achieved with a modem is 52Kbps.

Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Montreal
Offline Offline
Edison Member
*
Karma: 23
Posts: 2487
Per aspera ad astra.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
The 56 kbit/s rate is only possible from the central office to the user site (downlink). In the United States, government regulation limits the maximum power output, resulting in a maximum data rate of 53.3 kbit/s. The uplink (from the user to the central office) still uses V.34 technology at 33.6 kbit/s.
56 kbit/s is also for North America T1 limitation, in Europe E1 - up to 64 kbit/s.
Modulation QAM.
More info :
http://en.wikipedia.org/wiki/Modem
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 331
Posts: 16540
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I am interested in communicating with arduino over a telephone line. What is the maximum bytes per second that can be achieved? Is fsk the the fastest or are there other methods? Any example links would be appreciated also.

Thanks,

-ren

First obvious thing to state is that an Arduino cannot directly communicate over a telephone line. A device called a modem (for modulator/demodulator) is required at both ends of the phone line. How fast a speed can be attained depends on the method and complexity of the modem. You mentioned FSK, I believe the fastest modem speed that used simple FSK is the old Bell 201 standard running at 1200 baud. The fastest modem I'm aware of is the 56K baud modems, however be aware that such 56K modems had to negotiate with the far modem to establish how fast they could actually work for that specific link at that specific time, so frequently, if not mostly, they linked up at lower speeds. 
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 443
Posts: 23834
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I have some standalone USRobotics 56K modems with, uh, have to look now, some kind of serial connector on them.
I say standalone because they do not plug into card slot on a motherboard.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Calgary, AB
Offline Offline
Newbie
*
Karma: 2
Posts: 46
Arduino Newbie
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Ren 

You mentioned over a telephone line, so the assumption is that you will be using a modem at either end.  Using a V34 modem, the maximum you may achieve is 33.6kbps (bits).  If you have poor telepnone lines the modems will auto-negotiate to lower speeds automatically for reliable operation when connecting.  Forget about 56k, these modems do not talk 56k to each other.  With telephone compaines using more VoIP implementations with compression for voice transmission over the network, you may only get 9600 ;^(

That is on the line (telephone) side.

On the peripheral (user) side you can clock asynchronously as high as 115Kbps.  The modem will buffer your data until it can be clocked out.  As the the buffer fills ,it will use flow control Xon/Xoff (11/13 hex) to prevent overflowing, or hardware control using CTS (clear to send).  So you will have to monitor the Rx output from the modem for these characters or risk having data lost. 

You can either program a modem to auto-dial a stored number on raisng DTR (Data Terminal Ready, pin 20 if I recall) or use the AT command set to dial. 

The periperal connection is usually an RS232 to db25 connector.  RS232 uses a Tx-Rx, Rx-Tx pairing.

Should get you started.

Regards  Bill
Logged

Don't you just hate ONE D 10 T problems?

Pages: [1]   Go Up
Jump to: