Show Posts
Pages: 1 ... 3 4 [5] 6 7 ... 33
61  Using Arduino / Project Guidance / Re: Problem with gsm remote control sketch on: April 14, 2014, 12:05:06 pm
You need to bear in mind that when it refers to 'data transmission', this could mean basic communication with the mobile / cell phone network. It's up to you but all the modem cards for Arduino recommend 2 amp power supplies. I use a three amp and run the Arduino and peripherals from the one supply.

Anyway, it would appear that you are trying to communicate with the shield using pins 0 & 1, whereas the shield is expecting you to communicate via pins 2 & 3!

Try adding the line 

Code:
SoftwareSerial GSM(2, 3);

 after

Code:
#include <SoftwareSerial.h>

and then change every instance of 'Serial.' to 'GSM.' and then try it.
62  Using Arduino / Project Guidance / Re: Problem with gsm remote control sketch on: April 14, 2014, 09:44:45 am
Which Arduino board are you using?
63  Using Arduino / Project Guidance / Re: Problem with gsm remote control sketch on: April 14, 2014, 09:41:15 am
Products > Shields > GSM Shield

Power requirements

It is recommended that the board be powered with an external power supply that can provide between 700mA and 1000mA. Powering an Arduino and the GSM shield from a USB connection is not recommended, as USB cannot provide the required current for when the modem is in heavy use.


The modem can pull up to 2A of current at peak usage, which can occur during data transmission. This current is provided through the large orange capacitor on the board's surface.
64  Using Arduino / Project Guidance / Re: Problem with gsm remote control sketch on: April 14, 2014, 07:54:01 am
The modem will draw about 2amps momentarily when in use. That is more than six times the maximum capacity of the power supply in your photo. Even with the capacitor on the shield acting as a reservoir you are trying to draw way more than it will supply.

Load your code into the IDE. Press Ctrl+T (or find auto format in the menu). Then copy the code and paste it to the forum in code tags. There is a sticky about how to use the forum at the top of the page.
65  Using Arduino / Project Guidance / Re: Problem with gsm remote control sketch on: April 14, 2014, 06:37:41 am
Having just taken a look at the photo... You are using a suitable power supply for the modem aren't you, and not the one in the foreground? And won't the shield and the Arduino go any closer?
66  Using Arduino / Project Guidance / Re: Problem with gsm remote control sketch on: April 14, 2014, 06:29:24 am
1) Can you modify your original post to use code tags please? And use Ctrl+T to auto format it. It makes it a lot easier to read.
67  International / Fran├žais / Re: Envoi de sms SIM900 on: April 11, 2014, 08:48:49 am
Have you tried using SerialRelay to make sure it's connected correctly? (See my link below if not)

I would also remove the PIN number until you get it working, it just adds a layer of complication.

I have never had to use a centre number to send an SMS.

Unfortunately I'm not home again until Sunday so I can't post an example.
68  International / Fran├žais / Re: Envoi de sms SIM900 on: April 11, 2014, 08:00:25 am
Which Arduinio?
Which shield?
Have you managed to communicate with it using SerialRelay?
69  Using Arduino / Programming Questions / Re: RTC1307 - Set a custom date/time on: April 11, 2014, 05:11:30 am
From the gcc 'manual':

__DATE__This macro expands to a string constant that describes the date on which the preprocessor is being run. The string constant contains eleven characters and looks like "Feb 12 1996". If the day of the month is less than 10, it is padded with a space on the left.
If GCC cannot determine the current date, it will emit a warning message (once per compilation) and __DATE__ will expand to "??? ?? ????".

__TIME__This macro expands to a string constant that describes the time at which the preprocessor is being run. The string constant contains eight characters and looks like "23:59:01".
If GCC cannot determine the current time, it will emit a warning message (once per compilation) and __TIME__ will expand to "??:??:??".

70  Using Arduino / Displays / Re: LCD 20x4 to arduino uno on: April 11, 2014, 04:15:58 am
At times like this a good, clear photo of your wiring is worth a thousand words! Try keep the image file size to a sensible limit too.
71  Using Arduino / Programming Questions / Re: Sending AT commands through serial monitor on: April 11, 2014, 02:10:17 am
Could you tell us what the problem was for future reference?
72  Products / Arduino GSM Shield / Re: GSM Shield Problem AT%13%Not connected on: April 10, 2014, 02:38:37 pm
Unfortunately I don't have an official shield, and it doesn't look as though I'm going to get one soon for a sensible price! So all I can suggest are the usual suspects:

Remove the pin number from the sim card.
Check that the sim card works in a phone, and where appropriate has credit on it.
You are using a substantial (2amp) external power supply for the shield?

Use a program like SerialRelay to try communicate with the shield, just get it to reply to an AT command before trying to send or receive anything.
73  Products / Arduino GSM Shield / Re: GSM Shield Problem AT%13%Not connected on: April 10, 2014, 08:57:13 am
Have you followed the instructions here? http://arduino.cc/en/Guide/GSMShieldLeonardoMega
74  Products / Arduino GSM Shield / Re: GSM Shield Problem AT%13%Not connected on: April 10, 2014, 08:47:17 am
Which GSM shield? The Official Arduino one?
75  Using Arduino / Programming Questions / Re: Sending AT commands through serial monitor on: April 10, 2014, 06:44:46 am
Digital pins 0 & 1 to are used by the Arduino to communicate with your computer (Serial.). Use SoftwareSerial and two other pins to talk to the modem.
Pages: 1 ... 3 4 [5] 6 7 ... 33