Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
Thread Tools Display Modes
Old 18th March 2004, 11:01 PM   (permalink)
Default Interfacing a microcontroller with a modem

I am working on a project in which a microcontroller needs to transfer data to a computer over a modem and telephone line. I will be using a microcontroller that has a built-in UART (8051 family, AT89S53). I am looking for the easiest way to do this.

I don't know much about serial communications and I don't have a lot of time to learn it. I was hoping it would as easy as connecting a few lines between the microcontroller and the modem. Then just sending modem commands (AT commands) and data over the microcontrollers UART to the modem, and have everything else know what to do.

Does anyone know of a very simple modem IC to do the job? Even using a regular external modem may do the trick. I've seen a few "modem" ICs but they have like 40+ pins. I was hoping for something much simpler. Is there some other easier way to accomplish this? Does anyone know of any good tutorials or other information on interfacing a microcontroller with a modem IC?


Thanks!

Matt
matt_d82 is offline  
Reply With Quote
Old 19th March 2004, 09:09 AM   (permalink)
Default Re: Interfacing a microcontroller with a modem

Quote:
Originally Posted by matt_d82
I am working on a project in which a microcontroller needs to transfer data to a computer over a modem and telephone line. I will be using a microcontroller that has a built-in UART (8051 family, AT89S53). I am looking for the easiest way to do this.

I don't know much about serial communications and I don't have a lot of time to learn it. I was hoping it would as easy as connecting a few lines between the microcontroller and the modem. Then just sending modem commands (AT commands) and data over the microcontrollers UART to the modem, and have everything else know what to do.

Does anyone know of a very simple modem IC to do the job? Even using a regular external modem may do the trick. I've seen a few "modem" ICs but they have like 40+ pins. I was hoping for something much simpler. Is there some other easier way to accomplish this? Does anyone know of any good tutorials or other information on interfacing a microcontroller with a modem IC?
Just use an external computer modem - all you need to provide it with is RS232 serial data, a MAX232 will interface from your processor, and you just need to write the software to communicate over the RS232 link.

It couldn't get any simpler, if you try and control a modem IC directly, it would be many, many times more complicated - an external modem already includes a micro-processor, which does all the hard work for you!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply With Quote
Old 20th March 2004, 06:42 PM   (permalink)
Default

That sounds like a good way to go. Thanks Nigel!
matt_d82 is offline  
Reply With Quote
Old 21st March 2004, 02:43 AM   (permalink)
Default

Hi Matt:

Don't know where you live, but I have successfully used Multitech embedded modems (www.multitech.com). They have a whole selection of modems with different price/preformance (mostly speed) ratios. I typically use their 2400 Baud modem because it is cheap ($25 approx.), and I do not not need high speed anyway for my embedded applications.

Initialization is quite simple. Typically you just send a single initialization string consisting of some AT, &S, and &W commands.

Hope that helps!

Jem
jem is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 11:03 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.