Reading in/out data from SIM card with GPRS Arduino Shield

Has anyone ever tried to passively listen on a sim card UART port? I am having troubles finding the right baud rate to read data properly. The GPRS Shield has a max rate of 115.2K. I set that manually with AT+IPR=115200, previously using serial com (software serial).

Then when I listen (usin a soldered wire on I/O) that I pin to arduino software serial (9,10) on RX (9).
I get random streams of data. I also tried rates from 9600 to 115.2k.

Any ideas ?

SoftwareSeriel is not reliable listening at 115200 baud. use 9600 baud

what shield? link to specs?

Here's a link to the GPRS shield Arduino GPRS/GSM shield (SIM900) - Espruino.

And I tried 9600, it didn't work either, the communication between the SIM card and the modem run at a higher rate.

thoughts ?

the shield has a switch for software serial on 7/8. why did you solder a wire?

The jumper enables communication with the modem via uart. but I needed to see exactly what bytes are sent to the sim card, found no other way but to solder a wire and do it manually.

Do you have any other suggestions ?

bluemonkeysrock:
The jumper enables communication with the modem via uart. but I needed to see exactly what bytes are sent to the sim card, found no other way but to solder a wire and do it manually.

Do you have any other suggestions ?

on SE

can you add a photo of the wiring?

on SE ? (didn't get that sorry)
and I will upload a photo when I have it, thanks

bluemonkeysrock:
on SE ? (didn't get that sorry)
and I will upload a photo when I have it, thanks

SE is (Arduino) Stack Exchange. there you posted the output, so I commented it there

or is there right now someone with the same problem?

Here's another output, proferly formatted :

0 0 0 0 0 0 FC 0 0 0 0 0 0 0 0 0 0 6 0 6 C0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 80 0 0 0 0 0 0 0 0 0 0 0 0 0 0 F0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 80 0 0 0 0 0 0 0 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 0 0 0 0 0 0 0 0 0 0 0 0 E6 F0 0 1E FE FE FC F8 FE F8 0 FE FE 70 6 0 0 1E F8 18 0 FE E0 0 0 0 0 F0 78 0 E0 0 0 80 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 EC 0 0 FC 0 0 CE 0 0 0 0 0 0 0 0 0 0 FE 0 0 0 0 0 0 0 FE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 E0 0 0 E0 0 E0 0 0 0 80 0 FC 0 0 0 0 0 0 0 0 0 0 0 0 0 C0 0 0 0 0 38 0 0 0 0 0 0 0 0 0 0 0 6 0 0 0 0 0 0 0 0 0 0 1E 0 0 0 20 0 0 F8 0 0 0 0 0 0 E0 0 0 0 80 0 0 0 0 0 0 0 FC 0 0 0 0 0 0 0 0 0 0 0 0 0 C0 0 0 0 0 0 0 0 0 F0 0 0 0 0 0 0 0 0 E 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C0 0 78 0 0 FC 60 0 FC 0

Any thoughts why I can't see the Answer to reset ?

the output on SE looks better. this one looks like zeros with some noise. the one on SE could be text if copied to Serial as is with Serial.wite(IO.read());

I re-run it without the HEX, it gave values within 0 and 255 : (Just an extract)

0 0 252 252 48 16 0 252 248 255 0 3 12 0 0 0 252 255 0 16 0 252 252 0 0 0 0 248 252 0 0 254 224 252 0 15 252 0 252 1 0 240 0 240 255 16 254 0 0 0 192 0 0 0 0 0 63 0 0 0 254 0 0 0 12 0 0 0 0 0 48 0 254 236 0 240 0 0 0 0 15 0 255 8 0 0 252 2 ....

bluemonkeysrock:
I re-run it without the HEX, it gave values within 0 and 255 : (Just an extract)

0 0 252 252 48 16 0 252 248 255 0 3 12 0 0 0 252 255 0 16 0 252 252 0 0 0 0 248 252 0 0 254 224 252 0 15 252 0 252 1 0 240 0 240 255 16 254 0 0 0 192 0 0 0 0 0 63 0 0 0 254 0 0 0 12 0 0 0 0 0 48 0 254 236 0 240 0 0 0 0 15 0 255 8 0 0 252 2 ....

because you print() it, not write().

it is not text, I tried Serial.write already.

bluemonkeysrock:
it is not text, I tried Serial.write already.

at different baud rates?
then it is noise because you wired it wrong

here's the wiring :
Red wire is for Sim card's I/O and goes to SoftwareSerial's Rx (listening only),

Do you think it's wired wrong ?

20190418_102243.jpg

bluemonkeysrock:
here's the wiring :
Red wire is for Sim card's I/O and goes to SoftwareSerial's Rx (listening only),

Do you think it's wired wrong ?

on the picture it looks like the red wire goes into jack connector for headphones or microphone

No not at all, it's soldered underneath on thhe sim card's holder