mahaqsiddiq / gsm-shield-arduino

Automatically exported from code.google.com/p/gsm-shield-arduino
0 stars 0 forks source link

How to use Serial1 instead of NewSoftSerial #40

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm using Arduino Mega 2560 with IComSat GSM shield.
I've already trim the pins 1 and 2 of the shield(the ones below arduino's pin 1 
and 0) so I must use these ones :p
The codes of the library only use NewSoftSerial and they don't allow me to 
change its pins.
Please help!

Original issue reported on code.google.com by pedro.ga...@gmail.com on 19 Aug 2012 at 11:11

GoogleCodeExporter commented 8 years ago
You're right we're going to fix it.

Original comment by martines...@gmail.com on 22 Aug 2012 at 9:48

GoogleCodeExporter commented 8 years ago
Can you guys tell me which arduino pins are currently being used in this 
library?

Original comment by pedro.ga...@gmail.com on 27 Aug 2012 at 2:14

GoogleCodeExporter commented 8 years ago
4,5 or 2,3 for NewSoftSerial, it depends on what version you are using (4,5 for 
the first, 2,3 the second one). 

Original comment by martines...@gmail.com on 27 Aug 2012 at 8:47

GoogleCodeExporter commented 8 years ago
Sorry about all these questions, but I'm kinda lost using this shield.
I've tried all these pins in UART multiplexer, but I'm receiving this all the 
time:
GSM Shield testing.
DB:NO RESP
DB:NO RESP
DB:NO RESP
ERROR: SIM900 doesn't answer. Check power and serial pins in GSM.cpp

status=IDLE

Any idea?

Original comment by pedro.ga...@gmail.com on 27 Aug 2012 at 7:24

GoogleCodeExporter commented 8 years ago
I suggest to you to use the OpenElectronics/Futurashop Shield, because this 
library is developed for that shield.
http://store.open-electronics.org/
Marco

Original comment by martines...@gmail.com on 31 Aug 2012 at 4:37

GoogleCodeExporter commented 8 years ago
I've had this problem too. I changed the pins of TX/RX to 2,3. then switched 
from UART to USART. then it worked fine. :)

Original comment by mirates_...@yahoo.com on 13 Oct 2012 at 4:55

GoogleCodeExporter commented 8 years ago

Original comment by martines...@gmail.com on 11 Dec 2012 at 5:01

GoogleCodeExporter commented 8 years ago
This issue section is not longer supported.
Please check the support page www.gsmlib.org 

Original comment by martines...@gmail.com on 6 Jul 2013 at 11:27