Show Posts
Pages: 1 2 3 [4] 5 6 ... 54
46  Using Arduino / Project Guidance / Re: Help. Please Help on: September 22, 2014, 12:19:43 pm
I picked one at random and there is example code on the link given?
47  Products / Arduino GSM Shield / Re: arduino uno with GSM Shield plugged on: September 22, 2014, 10:02:10 am
Obviously you can't use the pins you are using to communicate with the shield, and avoid pins 0 & 1 as they are used for serial communication, but yes, you can use any other pins. Personally I would avoid using 13 if possible because of the internal connection on the board to make the led blink!

One thought does occur to me though. I believe that according to the standards it can take up to five days for an SMS to be delivered. We all know from experience that normally it is virtually instantaneous but I have had SMS that take twenty minutes or more to be delivered.
48  Using Arduino / Programming Questions / Re: Auto SMS Sender. Need help with codes on: September 19, 2014, 02:37:58 am
I'm not in a position to test it but you might want to try the following (note brackets):

Code:
void loop()
{
  int val = analogRead(A0);
  if(val >43)
  {
    Serial.println("Connected!");
    delay(45);
    sms.beginSMS(remoteNumber);
    sms.print(message);
    sms.endSMS();
  }
}

However, think about it for a moment. Every time through the loop it will check A0 and if it meets the criteria it will send a text message / SMS. Are you sure? Every time through the loop?
49  Using Arduino / Programming Questions / Re: Help regarding Ardino Uno with SIM900A to send SMS. on: September 18, 2014, 02:57:27 am
Please mark your code up using code tags, it makes it easier to read (# button, you can edit your post.)

Does the SIM900 send a message without all the string read code at the start of the loop? I'm not certain what you are expecting to happen with the following code in any case.

Code:
        str = mySerial.readString();
       Serial.print(str);
       int data=str.indexOf("hello");
      mySerial.println(str);
50  Using Arduino / Displays / Re: 2.2" TFT Module for Arduino from dx.com on: September 17, 2014, 03:54:45 am
If you have connected a 3.3 volt board to a 5 volt supply you may have already caused irreparable damage, especially if it was connected long enough to get hot.
51  Using Arduino / Project Guidance / Re: interfacing sim 900 with atmega328 without using gsm shield on: September 17, 2014, 03:27:15 am
SIM900 requires a supply voltage of 3.4V - 4.5V. I wouldn't recommend 5 volts.
52  Using Arduino / General Electronics / Re: Novice needs Help for GPS and GSM shields on: September 16, 2014, 03:57:56 pm
Try looking for a shield based on the SIM908. It is combined GPS &  GSM/GPRS. However, I personally have no experience of the device...
53  Using Arduino / General Electronics / Re: What I can do with this breadboard shield? (Apprentice) on: September 16, 2014, 08:18:12 am
It's been discussed before:

http://forum.arduino.cc/index.php/topic,154992.0.html
54  Using Arduino / Programming Questions / Re: Sending an SMS through GSM without serial monitor on: September 16, 2014, 02:42:04 am
The code I posted above works. Uno R3, official Arduino GSM/GPRS shield.
55  Using Arduino / Networking, Protocols, and Devices / Re: sending SMS via gprs unit on: September 15, 2014, 03:57:07 pm
Yes. It's the same as sending an SMS from your phone. Ok, a little more complicated as the phone makes it easy for you, but yes, you can send a text to anywhere in the world. And at the risk of being pedantic, it's the GSM standard you would use, not GPRS, which is internet connection.
56  Using Arduino / Programming Questions / Re: motor with romeo all in one on: September 15, 2014, 03:06:47 pm
Holmes4, you need to put the closing bracket at the end of the URL.

57  Using Arduino / Programming Questions / Re: Sending an SMS through GSM without serial monitor on: September 15, 2014, 12:40:45 pm
Code:
#include <GSM.h>

GSM gsmAccess;
GSM_SMS sms;


void setup()
{
  char remoteNumber[20] = "+447751123456";
  char message[100] = "Hello!";
 
  Serial.begin(9600);
 
  bool notConnected=true;
 
  while(notConnected)
  {
    if(gsmAccess.begin("")==GSM_READY)
      notConnected = false;
    else
    {
      Serial.println("Not connected");
      delay(1000);
    }
  }
  Serial.println("Connected!");
 
  sms.beginSMS(remoteNumber);
  sms.print(message);
  sms.endSMS();
}

void loop()
{
}
58  Using Arduino / Programming Questions / Re: Crash debugging - RAM dump on: September 15, 2014, 08:34:46 am
If the cause is caused by the software 'locking up' (entering an infinite loop), then I came across this:

http://www.megunolink.com/how-to-detect-lockups-using-the-arduino-watchdog/

I've not tried it and obviously it requires an understanding of assembler.
59  Using Arduino / Programming Questions / Re: Sending an SMS through GSM without serial monitor on: September 14, 2014, 02:49:53 pm
You might want to try prefixing your number with the international dialing code for your country rather than 0.
60  Using Arduino / Project Guidance / Re: RFID triangulation feasability on: September 14, 2014, 05:27:12 am
I'll be the first to admit that I don't know a great deal about RFID cards and readers, but my understanding is that the reader will detect a card when it is in close proximity and read (and write) any information stored on that card. When it is out of range (depending on the frequency they operate on, ~100mm) it cannot detect the card.

This seems completely at odds with the scheme you are proposing, which is why I asked.
Pages: 1 2 3 [4] 5 6 ... 54