Nano and the M590E communication problem


hi!

i bought neoway m590e , cannot make code understand saying. i'm using this:
code: [select]
#include <softwareserial.h>

int gsmtx = 3;
int gsmrx = 17;

softwareserial myserial(gsmrx, gsmtx); // rx, tx

void setup() {

  serial.begin(250000); // com setup
  myserial.begin(115200);  //baud rate of gsm/gprs module
}

void loop() {
  if (myserial.available()) {
    serial.println(myserial.read());
  }
  if (serial.available()) {
    myserial.println(serial.read());
  }
}


all in serial monitor bunch of 0's. tried different baud rates, didn't work. have idea what's wrong? using logic level converter between modem , arduino.

have grounded both gnd pins (they might not connected need joined, grounding 1 might issue) , boot pin (and of course joined grounds arduino)?

software serial @ 115200 shaky sometimes, not push there. 38400 better - start @ 9600.

if have usb serial unit, use , terminal emulator first configure unit lower speed (at+ipr=<baudvalue> change it) , connect arduino

set @ 38400 , make sure send cr console , type ati)




Arduino Forum > Using Arduino > Programming Questions > Nano and the M590E communication problem


arduino

Comments

Popular posts from this blog

DHT11 Time out error using v0.4.1library

Sketch upload fails with Java error (___REMOVE___/bin/avrdude)!

Arduino Uno + KTY81/210 temperature sensor