i am using Arduino IDE 1.05
I use the latest GSM library 3.05 Google Code Archive - Long-term storage for Google Code Project Hosting.
The status led blinks at the rate of 64ms On/3000ms Off, no PIN for my SIM card. I am from Romania , Cosmote network so the shield should cover the network frequency, right?
I have tested the crowduino with some examples and it works fine. I just cant seem to get this shield to do anything.
With the GsmScanNetwork example code I get: GSM networks scanner, thats it , i waited for a while and nothing happened.
// libraries
#include <GSM.h>
// PIN Number
#define PINNUMBER ""
// initialize the library instance
GSM gsmAccess(true); // include a 'true' parameter to enable debugging
GSMScanner scannerNetworks;
GSMModem modemTest;
// Save data variables
String IMEI = "";
// serial monitor result messages
String errortext = "ERROR";
void setup()
{
// initialize serial communications and wait for port to open:
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only
}
Serial.println("GSM networks scanner");
scannerNetworks.begin();
// connection state
boolean notConnected = true;
// Start GSM shield
// If your SIM has PIN, pass it as a parameter of begin() in quotes
while(notConnected)
{
if(gsmAccess.begin(PINNUMBER)==GSM_READY)
notConnected = false;
else
{
Serial.println("Not connected");
delay(1000);
}
}
// get modem parameters
// IMEI, modem unique identifier
Serial.print("Modem IMEI: ");
IMEI = modemTest.getIMEI();
IMEI.replace("\n","");
if(IMEI != NULL)
Serial.println(IMEI);
}
void loop()
{
// scan for existing networks, displays a list of networks
Serial.println("Scanning available networks. May take some seconds.");
Serial.println(scannerNetworks.readNetworks());
// currently connected carrier
Serial.print("Current carrier: ");
Serial.println(scannerNetworks.getCurrentCarrier());
// returns strength and ber
// signal strength in 0-31 scale. 31 means power > 51dBm
// BER is the Bit Error Rate. 0-7 scale. 99=not detectable
Serial.print("Signal Strength: ");
Serial.print(scannerNetworks.getSignalStrength());
Serial.println(" [0-31]");
}
With the SendSMS example i get this on my serial monitor: SMS Messages Sender. nothing else.
I need help that is certain
Hi,
thank you for your reply....
one more thing i wanna know how can i Access internet if m directly connecting the board to PC, i.e i wanna take net in PC using GSM modem.
Hi
The code runs through the SMS part but I receive no SMS on my phone? How do I know that I have connection with the SIM908? I have GPRS on a "Sim908-C EVB v1.0 DESIGNED BY UNV" with no documentation. I don't know which connections to make. Like on yours I'm testing 7 and 8. TX to 7 and RX to 8. It docent work so I test the other way around... docent work!? I know the SIM908 have contact with the mobile net (blinks every 3 sec.) I only have GPRS TX and RX, GPS TX and RX and GND and VCC to connect to the Arduino.
Any ideas on what to do? I would be glad just to be able to send a AT command and get a response back.