Comments: RETIRED - MG2639 Cellular Shield Hookup Guide
Looking for answers to technical questions?
We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.
If you've found an issue with this tutorial content, please send us your feedback!
-------------------- Tech Support Tips/Troubleshooting/Common Issues --------------------
Super Friend's Button
For a tutorial of the SparkFun Super Friend's Button that was used in the demo video [ https://youtu.be/9ONgjK8cAIk ], try looking at Shawn's Hackter.io tutorial here => [ https://www.hackster.io/ShawnHymel/super-friends-button-722c4e ].
Serial Communication Issues
Certain Arduino IDE versions can be incompatible. I heard from another support representative that the software serial baud rate had some compatibility issues with Arduino IDE v1.6.9 and above. This will create issues when trying to communicate with the MG2639 cellular shield. Try using Arduino v.1.6.3 like the tutorial, 1.6.5, or v1.6.6. Otherwise, you would need to go into a library and manually change the baud rate.
You can also try to change the MG2639's baud rate and using a modified AltSoftSerial by checking out this post in StackExchange for Arduino [ https://arduino.stackexchange.com/questions/18509/mg2639-arduino-uno-not-gps-ing ].
Arduino IDE Compatibility?
I had a case where the MG2639 cellular shield was not working on an Arduino Uno and the Arduino IDE v1.8.1. They had this error:
By downgrading to Arduino IDE v1.6.5, they were able to get the shield working with the example code. It's possible that the latest Arduino IDE has some bugs causing it not to work with the MG2639 shield and Arduino Uno.
2G
Looking at the user manual [pg 10 - https://cdn.sparkfun.com/datasheets/Cellular/MG2639_V3%20Module%20Hardware%20Design%20User%20Manual_V1%202.pdf, it appears that the MG2639_V3 uses the GSM850/EGSM900/DCS1800/PCS1900 band with a maximum theoretical downlink of 85.6kbps . Checking against the speed of the different generations [ http://www.speedguide.net/faq/what-are-the-actual-speeds-of-gprs-edge-umts-hspa-366 ], it looks like the MG2639 is using 2G:
bboyho, would you mind explaining how/where to manually change the baudrate? I'm worried I'll break everything...
(I've looked through the main .h and .cpp files in src but not sure whether to unwrap autobaud() or delete and replace entirely. What would you recommend?)
When I try the simple example "MG2639_GetInfo" I get this warning during building "WARNING: Category '' in library SparkFun MG2639 CellShield is not valid. Setting to 'Uncategorized'"
Then, when I upload the sketch and start the program by sending some chars on the serial line, the MG2639 RSSI led blink quickly during 2-3 sec then stay OFF and I get the following message "Unable to communicate with shield. Looping".
Im using using the last Arduino IDE version, with a RedBoard, external 9V power, standard SMA antenna for the GSM. Exactly like in the hookup guide.
Does anyone have an idea?
Has anybody gotten the GPS to work?
Would the minimum connection requirements to the Arduino board, when not stacking, be those listed above: VIN, Ground, Cell UART TX, Cell UART RX? This is assuming manual BOOT using the button on the shield.
For Jimbo: Could the MG2639 Cellular Shield be configured to be a wifi hub? How many devices could be connected? I would like to use it to connect a few electric imp boards accessing the network at different times.
In the supplying power section, should it be cellular shield instead of lipo shield in the caption? "LiPo batteries are a perfect power supply for the LiPo shield"