serial port and software serial!!!!


I have a little problem with my arduino board!!

I plugged over the arduino a GPS-GPRS modem, I mean that in the digital 0 pin I have the GPRS_RXD and in the dig pin 1 the GPRS_TXD, that is the hardware serial isn't it?? the problem is that I need to send some commands (AT commands) with (ie: serial.print("AT+CPIN?")) and wait the reply, but this commands apears in the terminal and there is not reply of the modem. So I'm talking with the serial terminal, but no with the modem. How can I do? what I'm doing wrong?????

I think that i need to use the sofware serial, but I donĀ“t know how. cos if the hardware serial works in the digital pin 0 and 1, and that are the pins that I need for my Modem...

and I already check this

define rxPin 6

define txPin 7

SoftwareSerial mySerial = SoftwareSerial(rxPin, txPin);

to use as terminal...

Wath can I do?

It sounds like you have your pins swapped. Try connecting your modem's TX to the Arduino RX, and Arduino TX to the modem's RX.