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.


event2

188 posts

Master Geek


#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
Aredwood
3885 posts

Uber Geek


  #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.







event2

188 posts

Master Geek


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

hi,

I have tried both vodafone and 2d.

Cheers



event2

188 posts

Master Geek


  #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



Niel
3267 posts

Uber Geek

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!


richms
28175 posts

Uber Geek

Trusted
Lifetime 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

Niel
3267 posts

Uber Geek

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





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

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



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.