Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

I want to transfer data from a pc to mcu with a modem

Status
Not open for further replies.

xxtigerxx

Advanced Member level 1
Joined
Jun 5, 2001
Messages
444
Helped
38
Reputation
76
Reaction score
32
Trophy points
1,308
Location
Greece
Activity points
2,903
I would like to transfer data from a pc to a mcu in a distance by a telephone line.
the first solution i think is a modem can u help me?
the second solution is internet but i think it is difficult..

thx for listening

:)
 

gabby

Member level 5
Joined
Mar 18, 2002
Messages
94
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,288
Location
Israel
Activity points
1,239
Hi

You have few option as you say :

One connect to internet , is nice you can control the system from
any comp, but high cost second problem
you need also to pay to internet supplier and you can call to module if
it not connected itself to internet.
and also need know the internet protocols.

Second way to use a modem module it ok
you have simple interface rs232 and at command easy to use.

some oem modem links:
http://www.xecom.com/_PageFiles/emm.cfm
http://www.comtech.uk.com/products/netadapt/oemmodemxxc.htm
http://www.3jtech.com/downloads/Modules/3J983spec.pdf


Of corse you have also wirelles modems from gsm/tdma line telephones
line.

Thrid option is only for low speed and controls, to use tone generotors chips like at phone, from transmit few data and commans.




Best regards. 8)
 

Trishool

Full Member level 1
Joined
Jul 12, 2001
Messages
97
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Location
Himalayas.(mount K2)
Activity points
825
that depends on the modem you use

xxtigerxx


What ever modem you use see its manual , for commands.
Now use a null modem connection between the modem and PC then wire and after that your Microcontroller .I did long time back , you have to implement a protocol stack / driver for the modem and it is not that difficult , I think it is 1/100 th of the effort require to implement a Bluetooth driver :roll:

Ts
 

wolf69

Advanced Member level 4
Joined
Sep 20, 2002
Messages
105
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,296
Activity points
789
for some mcu there are basic internet protocol (UDP and PPP) and modem control code free.
For example for mo*otorola H*C*0*8, there is an aplliction note reporting all a project to communicate by internet with the mcu.
Bye!
 

techie

Advanced Member level 3
Joined
Feb 5, 2002
Messages
839
Helped
58
Reputation
116
Reaction score
9
Trophy points
1,298
Location
Pakistan
Activity points
7,799
Using a modem is not as difficult as it first seems. A little effor can result in easy connection. Use a good external modem which has error correction feature built in. You will need a serial port on MCU to connect to the serial port of the modem.

Initialialze the mode as send("ATE0\\J0\\N3\\Q0\\V4%C1\r\n"); actual commands for a modem might differ.

you can dial a number suing ATDT1234567890 command
the modem sends a "RING" string when a bell rings
you can pickup line by issuing ATA command
you can disconnect using ATH0 command
the modem sends a "CONNECT 9600....." when connection established.
after that you can send and recive data just like a direct serial port conenction

enjoy
 

J_expoler2

Member level 4
Joined
May 10, 2003
Messages
77
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
619
controll GSM modem is different general modem
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top