Comments (15)
[deleted comment]
from gsm-shield-arduino.
The problem is that with the switch you can select only between 0-1 (HW) and
4-5 (SW).
To be more free the new version of the shield on Futurashop or Open-Electronics
allows to change the pin connection with a jumper.
I think if you want to use the Mega you should do that with some weldings.
However, I don't know why but the software serial doesn't work on Mega, so we
are changing the library to allow the use of HardwareSerial.
For now, the library for Arduino Mega is in testing, so there there is no .zip
in download, but there is a folder in branches where there is the library
compatible with Mega.
I think the steps for you (with the old version) are:
1. download the folder SIM900IDE100MEGA in /branches (use svn client)
2. remove in some safety way the switch and make a link between the lines from
SIM900 and the pins of Serial1 (18 and 19). If you prefer you can buy the new
shield, that implements also this function.
3. You should be able to use the library with Mega.
Marco
Original comment by [email protected]
on 3 May 2012 at 12:06
from gsm-shield-arduino.
The change for this is done now.
Original comment by [email protected]
on 3 May 2012 at 5:42
- Changed state: Fixed
from gsm-shield-arduino.
Hello,
Thanks for all your support.
We were able to talk with the module now,
after bypassing the shield and connecting to pins 18/19 directly.
But we have this answer while using the GSM_GPRSLibrary_SMS example running :
See below (We had a SIM CARD inside the module
I don't know what is not working....
If you have any idea... i would gladly use any help ! Thanks again.
GSM Shield testing.
ATT:
OKRIC: ü
ATT:
OKRIC: ü
ATT:
OKRIC: ü
ATT:
OKRIC: ü
ATT:
OKRIC: þ
DB:ELSE
ATT:
OKRIC: ü
ATT:
OKRIC: ü
ATT:
OKRIC: ü
ATT:
OKRIC: ü
ATT:
OKRIC: ü
DB:ELSE
ATT:
OKRIC: ü
ATT:
OKRIC: ü
ATT:
OKRIC: þ
ATT:
OKRIC: ü
ATT:
OKRIC: ü
DB:ELSE
ATT:
OKRIC: þ
ATT:
OKRIC: ü
ATT:
OKRIC: ü
ATT:
OKRIC: ü
ATT:
OKRIC: ü
ATT:
OKRIC: ü
ATT:
OKRIC: ü
ATT:
OKRIC: ü
ATT:
OKRIC: ü
ATT:
OKRIC: ü
DB:DIFF RESP
ATT:
OKRIC: ü
ATT:
OKRIC: ü
ATT:
OKRIC: ü
ATT:
OKRIC: ü
ATT:
OKRIC: þ
DB:NO BR
ATT:
OKRIC: ð
ATT:
OKRIC: ð
ATT:
OKRIC: ð
ATT:
OKRIC: ð
ATT:
OKRIC: ð
DB:NO BR
ATT:
OKRIC:
ATT:
OKRIC:
ATT:
OKRIC:
ATT:
OKRIC:
ATT:
OKRIC:
DB:NO BR
ATT:
OKRIC: ÿ
ATT:
OKRIC: ))ÿ
ATT:
OKRIC: )ÿ
ATT:
OKRIC: ÿ
ATT:
OKRIC: )ÿ
DB:NO BR
DB:NO BR
DB:NO BR
ATT:
OKRIC: à
ATT:
OKRIC:
ATT:
OKRIC:
ATT:
OKRIC:
ATT:
OKRIC:
DB:NO BR
status=IDLE
Original comment by [email protected]
on 4 May 2012 at 2:35
from gsm-shield-arduino.
Sorry, I meant bypassing the SWITCH not shield.
Original comment by [email protected]
on 4 May 2012 at 2:36
from gsm-shield-arduino.
Seems there is a problem with baudrate... It tries to find the baudrate but
doesn't find it. I don't know why. I should check the autobaudrate on HW
Serial.
If you restart again the sketch do you receive the same output?
If it easy for you, now that you bypassed the switch, try to change the
baudrate (running a new sketch with gsm.begin(9600) on Arduino Uno and then
retry with Arduino Mega. I'm sorry but it's a beta version and probably there
are some bugs :)
Original comment by [email protected]
on 5 May 2012 at 7:32
from gsm-shield-arduino.
Hello,
I've the same output every time i try.
We're gonna try on the uno, could you tell us on what pin we should connect on
the uno to use HW ?
I'll tell you back what we have.
Thanks again for the help.
Original comment by [email protected]
on 7 May 2012 at 1:18
from gsm-shield-arduino.
We've tried with uno :
There is an error at compilation with the new lib (the one for the mega ) :
Users/serec/Documents/Arduino/libraries/GSM_GPRS/HWSerial.cpp: In constructor
'HWSerial::HWSerial()':
/Users/serec/Documents/Arduino/libraries/GSM_GPRS/HWSerial.cpp:4: error:
'Serial1' was not declared in this scope
/Users/serec/Documents/Arduino/libraries/GSM_GPRS/HWSerial.cpp: In member
function 'void HWSerial::end()':
/Users/serec/Documents/Arduino/libraries/GSM_GPRS/HWSerial.cpp:13: error:
'Serial1' was not declared in this scope
/Users/serec/Documents/Arduino/libraries/GSM_GPRS/HWSerial.cpp: In member
function 'virtual void HWSerial::begin(int)':
/Users/serec/Documents/Arduino/libraries/GSM_GPRS/HWSerial.cpp:25: error:
'Serial1' was not declared in this scope
/Users/serec/Documents/Arduino/libraries/GSM_GPRS/HWSerial.cpp: In member
function 'int HWSerial::peek()':
/Users/serec/Documents/Arduino/libraries/GSM_GPRS/HWSerial.cpp:29: error:
'Serial1' was not declared in this scope
/Users/serec/Documents/Arduino/libraries/GSM_GPRS/HWSerial.cpp: In member
function 'virtual size_t HWSerial::write(uint8_t)':
/Users/serec/Documents/Arduino/libraries/GSM_GPRS/HWSerial.cpp:33: error:
'Serial1' was not declared in this scope
/Users/serec/Documents/Arduino/libraries/GSM_GPRS/HWSerial.cpp: In member
function 'virtual int HWSerial::read()':
/Users/serec/Documents/Arduino/libraries/GSM_GPRS/HWSerial.cpp:37: error:
'Serial1' was not declared in this scope
/Users/serec/Documents/Arduino/libraries/GSM_GPRS/HWSerial.cpp: In member
function 'virtual int HWSerial::available()':
/Users/serec/Documents/Arduino/libraries/GSM_GPRS/HWSerial.cpp:41: error:
'Serial1' was not declared in this scope
/Users/serec/Documents/Arduino/libraries/GSM_GPRS/HWSerial.cpp: In member
function 'virtual void HWSerial::flush()':
/Users/serec/Documents/Arduino/libraries/GSM_GPRS/HWSerial.cpp:45: error:
'Serial1' was not declared in this scope
We've tried with the official lib for the uno, we've plugged on the pin 0 & 1 :
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
After having a look at the code of the lib, i suppose by default, only software
serial works on uno. So it's normal the SIM900 did not answer as we have
connected the sim900 to the hardware TX and RX.
What do you want me to test exactly ?
Thanks
Original comment by [email protected]
on 7 May 2012 at 8:11
from gsm-shield-arduino.
Yes, normally only softwareserial...
The error is caused because Serial1 doesn't exist on Uno, if you want to use it
with hardware serial, you have to search "Serial1" and reply with "Serial".
Original comment by [email protected]
on 8 May 2012 at 7:03
from gsm-shield-arduino.
Hello, we've got a load of errors trying the lib with arduino UNO. See attached
file.
Could we come back to the beginning...
We have "DB: NO RESP" on the mega.
We try it on the UNO to be sure it works normally.
What source code branch am i supposed to download for the uno, and how am i
supposed to connect the shield to the uno ?
Do i remove the strap we made to bypass the switch ?
Once we have it running on the UNO what good will it do for running it on the
MEGA ?
I'm a bit disappointed, i bought this shield because it was supposed to work on
the arduino, i didn't know it didn't work on the mega.
We've choosen this shield because the lib comming with it had a function for
sending sms easily.
Before we tried the EASYGSM/GPRS TM2 from Mikroelektronika but we didn't have
such functionnality.
I hope you can help us using your lib on the mega.
Thanks
Original comment by [email protected]
on 9 May 2012 at 4:16
Attachments:
from gsm-shield-arduino.
We 've tried with a shield without the modification for the switch and the
standard lib.
It works OK.
GSM Shield testing.
DB:ELSE
DB:ELSE
DB:ELSE
DB:DIFF RESP
DB:NO BR
DB:NO BR
DB:NO BR
DB:NO BR
DB:NO BR
DB:NO BR
DB:FOUND PREV BR
DB:OK BR
status=READY
So what should we do to make it work on the mega ?
Thanks again
Original comment by [email protected]
on 9 May 2012 at 5:29
from gsm-shield-arduino.
Do you have any photo how to connect 18 and 17 pin with tx and rx?
Thak you for any informations.
Original comment by [email protected]
on 28 Dec 2012 at 1:11
from gsm-shield-arduino.
Hi!
Check the photo.
the blu-white cable is the end of the green one.
Marco
Original comment by [email protected]
on 29 Dec 2012 at 11:47
from gsm-shield-arduino.
Hi guys, here is the complete procedure to use the OLD GSM shield with an
Arduino Mega:
1) change the code to switch to Arduino Mega as explained in the
Instructions.txt file that come with the GSM/GPRS Librery v304;
2) Hardware switch on SW using pins 4 and 5 for Rx and Tx (to be set in the
GSM.cpp file);
3) connect with a jumper wire the pin D5 on the GSM shield to the pin 18 (Tx1)
on the Mega board;
4) connect with a jumper wire the pin D4 on the GSM shield to the pin 19 (Rx1)
on the Mega board.
N.B.: you don't have to isolate physically the pins on the shield
Original comment by [email protected]
on 1 Feb 2013 at 10:07
from gsm-shield-arduino.
This issue section is not longer supported.
Please check the support page www.gsmlib.org
Original comment by [email protected]
on 6 Jul 2013 at 11:27
from gsm-shield-arduino.
Related Issues (20)
- GSM_GPRSLibrary_SMS prints blank received SMS
- real-time-arduino-gps-tracker with your library??
- gsm does not power on
- Problems compiling the library HOT 1
- httpGET() always returns empty array, even though data has been read. HOT 1
- Patch for /branches/GSMSHIELD/GSM.cpp
- httpGET() sends wrong header info HOT 1
- DTMF detection problem ?
- sms.DeleteSMS((int)pos); didn't work as well
- Gboard problem..SIM900 doesn't answer. HOT 2
- GPRS/SMS Shield notable to control relay HOT 3
- "GetSms" & "ReadSms": Not Working, but the start it's ok HOT 1
- Problem switching library from Arduino ONE to Arduino Mega 2506 HOT 2
- get long sms
- SIM900, erro ao salvar manipular SMS(mensagem)
- Receive calls with GSM SHIELD and let me listen
- build errors
- getIMEI() doesnt work with ICOMSAT V1.1
- From a beginners perspective it would be really helpful if PINs 2 and 3 mentioned in the examples.
- GSM-GPRS-GPS-Shield-GSMSHIELD. Example don't compile
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gsm-shield-arduino.