After many, many extra test I have success at last.
This it what I did after reading (all) post about board.
- Used this code on Arduino One:
SoftwareSerial GPRS(7, 8);
unsigned char buffer; // buffer array for data recieve over serial port
int count=0; // counter for buffer array
GPRS.begin(9600); // the GPRS baud rate
Serial.begin(9600); // the Serial port of Arduino baud rate.
if (GPRS.available()) // if date is comming from softwareserial port ==> data is comming from gprs shield
while(GPRS.available()) // reading data into char array
buffer[count++]=GPRS.read(); // writing data into array
if(count == 64)break;
Serial.write(buffer,count); // if no data transmission ends, write buffer to hardware serial port
clearBufferArray(); // call clearBufferArray function to clear the storaged data from the array
count = 0; // set counter of while loop to zero
if (Serial.available()) // if data is available on hardwareserial port ==> data is comming from PC or notebook
GPRS.write(Serial.read()); // write it to the GPRS shield
void clearBufferArray() // function to clear buffer array
for (int i=0; i<count;i++)
} // clear all index of array with command NULL
- Connected to SSCOM, after reset hardware. (9600-8-1) See image
- First Command ‘A’ --> A
- AT --> OK
- AT+IPR=9600 --> OK
- All is working. Happy
Why is working?
Not sure. Was almost giving up. But one last try in 9600 baudrate, because I checked COM4 port in Windows. (Not sure if this was the problem).
And, I tried the reset factory setting code in this forum, although this code was for WIFI board (but also suggested by Jacket).
Thanks for help, Sander.