Libelium is offering new technical support channels, to contact with de Technical Support team to solve any issue our doubt please contact with your sales agent or visit our contact site



Post a new topicPost a reply Page 1 of 2   [ 12 posts ]
Go to page 1, 2  Next
Author Message
 Post subject: Arduino Uno & SIM900 not working
PostPosted: Tue May 27, 2014 10:13 am 

Joined: Tue May 27, 2014 10:07 am
Posts: 7
Hello,

I've recently bought an Arduino Uno & a SIM900 (http://www.cooking-hacks.com/gprs-quadb ... or-arduino). In the SIM900 i have placed a new (activated) sim card and an antenna (http://www.cooking-hacks.com/internal-4 ... sm-antenna).

The jumpers are in the following position:
https://drive.google.com/file/d/0B8o-1z ... sp=sharing

Ive tried the first code of step 5, sending a text message, but nothing is working: http://www.cooking-hacks.com/documentat ... and-sim900




Can anybody help me, or tell me what I am doing wrong?


Top
 Profile  
 
 Post subject: Re: Arduino Uno & SIM900 not working
PostPosted: Wed May 28, 2014 7:32 am 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11366
Hi mick,

When you upload a sketch to your Arduino, you need to put the jumpers in ARD position.

Regards.


Top
 Profile  
 
 Post subject: Re: Arduino Uno & SIM900 not working
PostPosted: Sun Jun 01, 2014 4:30 pm 

Joined: Tue May 27, 2014 10:07 am
Posts: 7
Hello,

Is it possible to help me out more?
Is it required to have an external adapter (I do have this, if this is needed).

Without an external adapter I need to set the EXT to "Arduino 5V", with an Adapter I need to put it on "V ext".

For uploading the sketches I need to put the serial jumpers on "Arduino" mode. But nothing is happening.
If I put the jumpers on "USB Gateway" it still isn't working.

Any tips or help!?


Top
 Profile  
 
 Post subject: Re: Arduino Uno & SIM900 not working
PostPosted: Sun Jun 01, 2014 5:01 pm 

Joined: Tue May 27, 2014 10:07 am
Posts: 7
Extra notation:

I now have the following setup:
- No external adapter (only usb)
- V in Ext to Arduino 5v
- Serial com jumpers to USB Gateway

In the serial monitor I am typing this:
- AT // the response is OK
- AT+CMGF=1 // the response is OK
- AT+CMGS="+316xxxxxxxx" // It now is possible to typ an message
- After that, nothing is happening.


Top
 Profile  
 
 Post subject: Re: Arduino Uno & SIM900 not working
PostPosted: Mon Jun 02, 2014 9:45 am 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11366
Hi mick,

mick wrote:
Is it required to have an external adapter (I do have this, if this is needed).


Yes, you need to use an external power supply.

mick wrote:
Without an external adapter I need to set the EXT to "Arduino 5V", with an Adapter I need to put it on "V ext".


No, you have to use always "Arduino 5V", you will only use "V ext" if you connect the external power to the GPRS.

mick wrote:
For uploading the sketches I need to put the serial jumpers on "Arduino" mode. But nothing is happening.
If I put the jumpers on "USB Gateway" it still isn't working.


To upload a sketch you need to put the jumper in "USB" then, to run the code, you need to put the jumpers in ARD.


Regards


Top
 Profile  
 
 Post subject: Re: Arduino Uno & SIM900 not working
PostPosted: Tue Jun 03, 2014 7:45 am 

Joined: Tue May 27, 2014 10:07 am
Posts: 7
Thanks for the help. This worked a lot, and got more response out of the Arduino.

I still get a error. Maybe you know why.

Image
Image

The error outputted on the serial monitor is the last 'error' one in the script.


Top
 Profile  
 
 Post subject: Re: Arduino Uno & SIM900 not working
PostPosted: Tue Jun 03, 2014 8:14 am 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11366
Hi mick,

Can you try with:

answer = sendATcommand("", "OK", 40000);??

Regards.


Top
 Profile  
 
 Post subject: Re: Arduino Uno & SIM900 not working
PostPosted: Tue Jun 03, 2014 8:27 am 

Joined: Tue May 27, 2014 10:07 am
Posts: 7
Hmm.. this shutted my Macbook down (purple screen!)


Top
 Profile  
 
 Post subject: Re: Arduino Uno & SIM900 not working
PostPosted: Tue Jun 03, 2014 9:16 am 

Joined: Tue May 27, 2014 10:07 am
Posts: 7
Other question: I also checked out similar problems.

I use the Arduino EDE. In the serial monitor I put the following commands:

AT
AT+CSCA?
AT+CMGF=1
AT+CMGS="*********"
> Here I write a message (without CR / LF)


But how do I send it? : CTRL+Z / 0x1A (hex input)
The Arduino EDE doenst have a hex input.


Top
 Profile  
 
 Post subject: Re: Arduino Uno & SIM900 not working
PostPosted: Wed Jun 04, 2014 7:52 am 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11366
Hi mick,

You can't send hex in the Arudino IDE, you need to use other serial monitor like CUTECOM.

Try and tell us.

Regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 2   [ 12 posts ]
Go to page 1, 2  Next


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Libelium theme based on 610nm Style by Daniel St. Jules of http://www.gamexe.net


© Libelium Comunicaciones Distribuidas S.L. | Terms of use.