Show Posts
Pages: [1] 2 3 ... 57
1  Community / Bar Sport / Re: New, shiny things on: Today at 03:54:53 pm
They have turned upon the official list of products.

http://arduino.cc/en/Main/ArduinoMateria101

I presume all the mods have been sent a complimentary one so that they can answer the queries that will start to emerge shortly?  smiley-twist
2  Using Arduino / Installation & Troubleshooting / Re: GSM shield or sim issues: cant connect even with TestGPRS on: Today at 03:27:58 pm
I don't have the hardware datasheet to hand, but the network led blinking once per second usually means that it is trying to acquire a connection to the network. Once connected it drops to once every five seconds.

Load a copy of Serial Relay to your Arduino, and then try AT+CSQ to get the signal strength. Follow this with AT+CGATT? to see if you have a GPRS connection. 1 means you are attached. 0 means you are not.
3  Using Arduino / Programming Questions / Re: My first design. on: Today at 02:22:58 pm
Just a couple of things:

1) When posting code use the code (#) icon, not the quote one (the one next to it!).

2) In Setup configure the ledpin pinmode to OUTPUT.

Code:
pinMode(ledPin, OUTPUT);

and see if that makes a difference?
4  Using Arduino / Networking, Protocols, and Devices / Re: Arduino GSM shield code on: Today at 03:36:29 am
Lots of examples on the internet.
5  Using Arduino / LEDs and Multiplexing / Re: How to send the state of an LED via SMS on: October 18, 2014, 10:00:26 am
Send a text/SMS and watch what happens to buffer_pos. You may need to send more than one to fully appreciate what is happening.

Once you have worked out what the problem is then there are a few different ways to resolve it. That choice is up to you.
6  Using Arduino / Networking, Protocols, and Devices / Re: please help to solve strange Problem with gps and arduino interface on: October 18, 2014, 09:49:39 am
Check line 43 of your code, and that the yellow wire is correctly attached.

Seriously, how can we possibly offer any assistance based on what you have posted so far? Post your code, and links to the shields you are using, and any other pertinent information.
7  Using Arduino / Installation & Troubleshooting / Re: GSM shield or sim issues: cant connect even with TestGPRS on: October 17, 2014, 03:09:47 pm
Opinion, not fact.

Throw that sim card away, get a pay in advance one (PAYG, or whatever it is in your country) and try that.

The shield is very good.
8  Using Arduino / Networking, Protocols, and Devices / Re: Connecting GPS Module on: October 17, 2014, 02:59:50 pm
What makes you think that you can't? Not that I'm saying you should?
9  Community / Products and Services / Re: whether it is the original disc from the official distributor? on: October 17, 2014, 02:42:41 pm
http://arduino.cc/en/Main/ArduinoBoardUno
10  Using Arduino / Project Guidance / Re: Connecting a Locosys GPS to a Arduino Uno on: October 16, 2014, 02:55:47 pm
The maximum current available from the 3.3v pin is 50mA, so if peak power consumption is near that it could pull the voltage down. Does it draw more than the nominal rating on occasions, ie when first acquiring signals? (No, I've not downloaded the data sheet)
11  Using Arduino / Project Guidance / Re: Need help with data logging on a web server using the Arduino GSM/ GPRS shield. on: October 16, 2014, 07:07:48 am
Code:
GPRS.print("AT+HTTPPARA=\"URL\",\"http://www.somewebsite.com/cgi-bin/datalogger.php?This=1&That=2\"\r");
12  Using Arduino / LEDs and Multiplexing / Re: How to send the state of an LED via SMS on: October 16, 2014, 06:59:02 am
I know why it's not working. I left that for you to figure out. I've taken the sketch I posted earlier and added even more debug output to assist you.

Code:
#include <SoftwareSerial.h>

SoftwareSerial SIM900(7,8); // RX, TX

int led13 = 13;
char buffer[9]; // eight char plus null terminator
char secret_code[] = "20!4#a0";
char incoming_char=0; //Will hold the incoming character from the Serial Port.If the command becomes bigger than 8 bits, try use char16_t
byte buffer_pos=0;

void setup() {               

  pinMode(led13, OUTPUT);
  digitalWrite(led13, LOW);  // Set led to LOW

    Serial.begin(19200); // set the baud rate
  SIM900.begin(19200); // for GSM shield
  delay(5000);  // give time to log on to network.
  SIM900.print("ATE1\r");
  SIM900.print("AT+CMGF=1\r");  // set SMS mode to text
  delay(100);
  SIM900.println("AT+CNMI=2,2,0,0,0\r");
  delay(100);
  Serial.println("Finished Setup Section");
}

void sendSMS(byte led_status){               //SEND SMS

  //SIM900.print("AT+CMGF=1\r");                     // AT command to send SMS message
  //delay(1000);
  SIM900.println("AT + CMGS = \"+447751xxxxxx\"");  // recipient's mobile number, in international format
  delay(1000);
  if (led_status==0)
  {
    SIM900.println( " LIGHT STATUS: OFF");
  }
  else
  {
    SIM900.println( " LIGHT STATUS: ON");
  }
  delay(1000);
  SIM900.println((char)26);                        // End AT command with a ^Z, ASCII code 26
  delay(1000);
  SIM900.println();
  Serial.println("Message sent");
  delay(5000);     // give module time to send SMS 
}

void loop()
{
  if (SIM900.available()>0)
  {
    Serial.print("Reading incoming data: ");
    incoming_char=SIM900.read();
    Serial.print(int(incoming_char));
    Serial.print(" ");
    Serial.println(incoming_char);
    if (incoming_char=='?')
    {
      Serial.println("Got a ?");
      delay(100);
      while (SIM900.available())
      {
        delay(100);
        incoming_char=SIM900.read();

        Serial.print("Reading incoming data in loop: Buffer_pos = ");
        Serial.print(buffer_pos);
        Serial.print(" ");
        Serial.print(int(incoming_char));
        Serial.print(" ");
        Serial.println(incoming_char);


        buffer[buffer_pos]=incoming_char;
        buffer_pos++;

        if (buffer_pos==7) // Already incremented
        {
          //Print it out
          buffer[buffer_pos]='\0';

          Serial.write(buffer);
          Serial.println();
          if (strcmp(buffer,secret_code)==0)
          {
            Serial.println("It's a match!"); 
            digitalWrite(led13, HIGH);
            int led_status=digitalRead(led13);
            Serial.print ("LED status = ");
            Serial.println(led_status);  // prints status on serial terminal
            sendSMS(led_status);

            delay(1000);              // wait for a second
          }
          buffer_pos=0;
        }
      }
    }
  }
}
13  Using Arduino / Project Guidance / Re: TinyGPS simple question on: October 15, 2014, 12:35:10 pm
Where are you? Near Kczewo?
14  Using Arduino / Project Guidance / Re: Radio Transmissions & Tracking Systems on: October 15, 2014, 12:21:30 pm
Arduino shields using the SIM908 aren't that common yet (not as common as the SIM900 based ones anyway), but it avoids any potential pin conflicts.
15  Using Arduino / Project Guidance / Re: Radio Transmissions & Tracking Systems on: October 15, 2014, 10:59:40 am
Why didn't you get a SIM908 based shield. GPS & GSM/GPRS all in one.
Pages: [1] 2 3 ... 57