Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




139 posts

Master Geek
+1 received by user: 1


# 171727 29-Apr-2015 11:02
Send private message

Hi

I have a EFCOM gsm shield  http://www.elecfreaks.com/store/gprsgsm-shield-efcom-shdefcom-p-415.html connected up to Arduino Mega 2560 Via Hardware rx and tx on the gsm shield to the pins 18 and 19 on the Arduino mega.

Sketch used on mega
void setup()
{
Serial.begin(19200);
Serial1.begin(19200);
}

void loop()
{
if (Serial1.available())
Serial.write(Serial1.read());
if (Serial.available())
Serial1.write(Serial.read());
}


I can seen the GSM shield trying to connect to the network but then it looks like it restarts and prints some strange characters (see video here of net and sta lights on shield and serial output https://www.youtube.com/watch?v=ZUgf23aL9Fk) and continues the process over again.

if I enter the following AT+COPS=? I get :

+COPS: (1,"2degrees","2degrees","53024"),(1,"vodafone NZ","voda NZ","53001"),,(0,1,4),(0,1,2)

So it is in some way communicating with gsm networks.

- I have tried using a different carriers sim card.
- Have tired using different power supplys.
- Have checked the IMEI is not black listed here in New Zealand.
- Have re-flashed firmware onto sim900.
- Have tried changing the AT+COPS from Auto mode to manual mode and entered the information for the carrier of the sim card.

I am not sure what else to do, any help would be appreciated :)

Thanks

Richard

Filter this topic showing only the reply marked as answer Create new topic
3885 posts

Uber Geek
+1 received by user: 1757

Subscriber

  # 1293715 29-Apr-2015 16:19

Which networks sim card are you using? Since it is 2G only it won't work with spark or skinny. But should work with 2 degrees and Vodafone.







139 posts

Master Geek
+1 received by user: 1


  # 1293998 30-Apr-2015 08:12
Send private message

hi,

I have tried both vodafone and 2d.

Cheers



 
 
 
 




139 posts

Master Geek
+1 received by user: 1


  # 1297468 4-May-2015 10:10
Send private message

I Got it working !!laughing

Tried shield on another arduino, got the same result as before.

Powered the GSM sheild directly to the Vin and gound pins from an external power source and vola it works beautifully.


I assume the sheild was drawing to much from the Adruinos powersupply and tripping some type of fuse.

Now to figure out how to post data to my webserver from the arduino.undecided

3267 posts

Uber Geek
+1 received by user: 77

Trusted

  # 1297779 4-May-2015 17:13
Send private message

GSM modules can easily draw peak currents of around 2A, it should be externally powered.  They are designed to run directly off batteries (which has a low impedance).




You can never have enough Volvos!


22264 posts

Uber Geek
+1 received by user: 4787

Trusted
Subscriber

  # 1297784 4-May-2015 17:22
Send private message

I had no end of issues with mine losing the network when I was trying one on 2degrees. Never tried vodafone sim in it at that time. But the LED would go back to the looking for network pattern. There is about half bars on a phone inside where I was using it on 2G so should have been fine.

Also getting into some state where AT commands were having no effect. That was on a leonardo so I had it on the inbuilt hardware serial, but when I connected a USB to the computer to have a look at the debug output the leonardo reset and that also seemed to unstick the GSM shield, even tho I didnt see anything different going over the serial connection between the 2 depending on the initial start up and when the sketch was trying to send the SMS's





Richard rich.ms

3267 posts

Uber Geek
+1 received by user: 77

Trusted

  # 1297995 5-May-2015 06:41
Send private message

The USB connection either gave you more power for the peak current or it provided a good GND reference.  Electronics can by tricky, but it is even worse when you add RF.  Add to that the fact that finished products have to pass thorough compliance testing but development boards need virtually no testing so it does not have to meet emissions or immunity standards.




You can never have enough Volvos!


Filter this topic showing only the reply marked as answer Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Huawei's scholarship programme showcases international business to Kiwi undergrads
Posted 22-Jul-2019 17:53


Spark Sport launches across a range of new devices
Posted 22-Jul-2019 13:19


Dunedin selects Telensa to deliver smart street lighting for 15,000 LEDs
Posted 18-Jul-2019 10:21


Sprint announces a connected wallet card with built-in IoT support
Posted 18-Jul-2019 08:36


Educational tool developed at Otago makes international launch
Posted 17-Jul-2019 21:57


Symantec introduces cloud access security solution
Posted 17-Jul-2019 21:48


New Zealand government unveils new digital service to make business easier
Posted 16-Jul-2019 17:35


Scientists unveil image of quantum entanglement
Posted 13-Jul-2019 06:00


Hackers to be challenged at University of Waikato
Posted 12-Jul-2019 21:34


OPPO Reno Z now available in New Zealand
Posted 12-Jul-2019 21:28


Sony introduces WF-1000XM3 wireless headphones with noise cancellation
Posted 8-Jul-2019 16:56


Xero announces new smarter tools, push into the North American market
Posted 19-Jun-2019 17:20


New report by Unisys shows New Zealanders want action by social platform companies and police to monitor social media sites
Posted 19-Jun-2019 17:09


ASB adds Google Pay option to contactless payments
Posted 19-Jun-2019 17:05


New Zealand PC Market declines on the back of high channel inventory, IDC reports
Posted 18-Jun-2019 17:35



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.