mlinaje/gsm-shield-arduino

Leonardo Serial1

Closed this issue · 6 comments

Hi,

I try to get the GSM-Shield run with Leonardo and Go-Between Shield with mapped 
pin 4/5 to Leonardo Pin 0/1 to use Serial1 instead of SoftSerial. 
Define MEGA does not help, and my skills are not that good to debug the 
library... 

P.S. I can use 115200 on both, GSM (Serial1) and USB (Serial) directly without 
problems. But i would like the comfort of using the library... and full speed 
Serial...

Any hints?

Original issue reported on code.google.com by bsi...@gmail.com on 11 Jan 2013 at 4:51

Sorry but this library it is developed only for Futurashop/Open-electronics 
shields.
Marco

Original comment by martines...@gmail.com on 14 Jan 2013 at 9:31

[deleted comment]
Ok, that's fair. If I change to the Open-Electronics Shield: Does the Library 
run on Leonardo on Serial1 Pin D0/D1?

Original comment by bsi...@gmail.com on 14 Jan 2013 at 10:35

Unfortunately I don't know Leonardo.
I'm sure that it works with Open-Eletcronics Shield and Arduino.
But if Leonardo shield is 100% compatible with Arduino Uno. Yes It will work.
Marco 

Original comment by martines...@gmail.com on 14 Jan 2013 at 10:50

To use this lib with Leonardo follow these two steps:

1) Change in GSM.cpp the pin for communication
#define _GSM_TXPIN_ 10
#define _GSM_RXPIN_ 11  

2) Connect manually the serial pins of the shield (central pin of the strip 
with SW-HW) to the pin 10 and 11. Looking the shield the pin of the left strip 
to the 10 of Leonardo and the pin of the right strip to the 11 of Leonardo.

CHECK THE PHOTOS

now upload and use it :)

Original comment by martines...@gmail.com on 9 Mar 2013 at 1:44

  • Changed state: Done

Attachments:

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

  • Changed state: Fixed