Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

Proteus, Compim and Modem

Status
Not open for further replies.

glenjoy

Banned
Joined
Jan 1, 2004
Messages
962
Helped
72
Reputation
146
Reaction score
20
Trophy points
1,298
Location
Philippines
Activity points
0
compim

I am experimenting with proteus and trying to connect a simulated microntroller to a real physical modem via compim, seems does not work, anyone tried this?

I am just sending plain AT commands and check if the modems reacts, as of now, modem cannot react.

Any compims users out there might want to help.
 

proteus compim

hi

yes it's work i have tested and used it to interface with mobile phone for sending sms must check your config also which types of modem your are interfacing with compim
 
proteus modem

I am connecting a microcontroller to the compim, is it TX of micro to TX of compim? And RX of micro to RX of compim?

Or the other way around, RX of micro to TX of compim, TX of micro to TX of compim.

Thanks
 

does compim work

ezpcb said:
How did you set RTS, DTS?

mike

-----------------------------
h**p://www.ezpcb.com

Hi,

I hope you are not addressing me on your question, but if it is addressed to me, I shorted CTS and RTS, also I shorted DTR and DSR, DCD is connected to microcntroller to check if handshake is already done.
 

proteus at commands

Hi,

Also take care about physicall and virtual baud rate. You need to match this values if your computer is too slow for real-time processing.

Also simulation time in proteus is not linear and is not real-time. This mean that time for modem and your application in proteus is not same as in case when you use real hardware connection.

If simulation is overloaded simulation speed decreases and simulation
time increases, so time is not linear and depends on process load and process power of your computer.

When you want to connect modem to proteus application you must take care that you have two very asynchronous process, one in simulation and one in the real hardware.

So you need to synchronize these processes with appropriate buffers in proteus application and match baud rates.
 

rts compim

I got the system working now, a delay must be put from the turning ON of the modem before sending the AT commands.
 

proteus compim

i m stuck can anyone help me how to simulate at commands on proteus

here is my code
***************************************

void main()
{
Delay(50000);
uart_init();
Delay(50000);
uart_string("ATE0");
uart_send(0x0D);//ending <enter>
Delay(50000);

// uart_string("AT");
// uart_send(0x0D);//ending <enter>
// Delay(50000);

uart_string("AT+CMGF=1");
uart_send(0x0D);//ending <enter>
Delay(50000);

//uart_string("AT+CSCA=\"+923210006001\"");
//uart_send(0x0D);//ending <enter>
// Delay(50000);

uart_string("AT+CMGS=\"0113456789\"");
uart_send(0x0D);//ending <enter>
Delay(50000);

uart_string("hello this is testing");
uart_send(0x1A);//ending <crtl<z>>
Delay(50000);
}
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top