(GSM)-GPRSBee and SeeeduinoStalker

Had someone luck and got the GPRSbee http://www.gprsbee.com/#!stalker/c159h with the Seeeduino Stalker
Seeeduino Stalker v2.3 | Seeed Studio Wiki working?

I powered the Stalker vie USB but disconnected all pins beside V+ and GND after uploading the FTP example sketch GPRSbee/examples/test_ftp at master · SodaqMoja/GPRSbee · GitHub because there was an advice. But I do not really understand why I have to do this! Isn't SoftSerial for this case to avoid conflicts between USB RX/TX and other devices?

Nothing also on the test sketch http://www.gprsbee.com/#!test-sketch/c10sq it is not working--with or without disconnected USB.

It seems the GPRSBee is not switched on by the sketch: No LED lightning, nothing. When I press the button on the GPRSBee the LED is flashing, sometimes 3x up to 7x but after this nothing happened.

The both other example codes in the "quality code"-Lib are also poorly. They do not compile and need other libs, but nothing documented. :frowning:

Can someone say how I can debug this stepp by step. I have no glue what the problem could be. I think pins are ok because this lib is recommended and designed for this board and GPRSBee. SIM has also worked in an other device and pin is disabled. I wonder in the FTP example why the lib has only #define APN and no user and pw. there is only something for the FTP server.

I'm using IDE 1.5.5 can this be the problem? I thought there was something with SoftwareSerial?

I got some information from the support (inline), it has helped a bit but it is still not running :frowning:

I connected the GPRSBee and the Seeeduino Stalker as described on the page http://www.gprsbee.com/ > Examples > Connecting the GPRSbee to the Stalker board. But power only via USB, no LiPo.

BUT I did NOT wire Arduino D6 to XBee 9/DTR.

Then I connected the Seeeduino Stalker as described here:
Seeeduino Stalker v2.3 | Seeed Studio Wiki to the computer's USB port.

GPRSBee -Support wrote:

  1. DTR
    To swithc the GPRS on in software you have to wire a digital line to the
    DTR port of the bee slot. In the example we have used pin 6

If you have the dtr line wired, you can switch it on by software, otherwise
you have to switch it on manually.

Did I get this right I have to solder a wire from XBee 9/DTR to Arduino D6?? I am really surprised about that because I thought GPRSBee was assembled especially for the Stalker and now I need flying wires to get the most basic thing--switching on--done! I would have expected a out of the box working unit. Pfff, interesting! I had now a look at the Seeduino Eagle files and really nearly no pin from the XBee socket is connected to any Arduino pin. I don't understand this. You could work with solder bridges to make it flexible if you not like to use it but in this case it is odd.

So I took a piece of wire and mad a physical connection. Now really software "switching on" is possible, wow! But the next headache came:

void GPRS_software_on_off(){
digitalWrite(PWR,HIGH);
delay(2500);
digitalWrite(PWR,LOW);
}

means not to switch the SIM900 on, if it is already running it is a "off switch" instead of "on". Should I simply check with AT > OK if GPRS is still running? Or is there a better way?

I thought about using Arduino's pin D5, on the Stalker it is prepared to switch VCC for the XBee socket, you can enable it with a solder bridge:

By default EN is connected to VCC to always power xbee. If you want to control the xbee power with digital pin 5(PD5) of microcontroller, just put a solder blob between EN and PD5. Conversely, if you want xbee is always available default to be powered, cut the solder you had put.

But in this case the GPRSBee has to be on as it gets powered and has not to wait for DTR to start. Can I program the GPRSBee / SIM900 to react in this case. This would be also a super default setting so annoying "switching on problems" would not appear.

Here are a couple of hints:

  1. The RX/TX pin of the Stalkerboard are shared with the UART programming
    port (pin 0 and 1). This means that you can not use the uart interface for
    debugging, but rather should you use a software serial.

(in the above sketch we use pin 7 and 8).

Sorry, nothing happened! Hardware setting as described above. I use the sketch http://www.gprsbee.com/ > Examples > Test Sketch.

If the LED flashes the GPRSbee is on. You can then send AT commands to it,
to which it should respond.

LED is flashing, means GPRSBee is ready, or?

just sending AT should echo an OK.

Note that the first AT command you send should be in capitals (we normally
use capitals for all AT commands).

I open the Arduino's serial monitor, baud rate is same as in the sketch and I type "AT" but I get no "OK", no other feedback! No ""GPRS on/off".

  • Are the pins ok for the Stalker? There are limitations for the Mega:
    http://arduino.cc/en/Reference/SoftwareSerial
  • Do I have to specify the linebreak? do I have to enter something like \n?
  • can an IDE >= 1.0 can this be the problem?? I used 1.5.5
  • Do I need to wire additional pins? In your lib there is use of the CTS pin, Do I use solder this or any other pin?

Do someone have any idea? I do not understand why it is not working while it is "Compatible with Seeedstudio Stalker" and I really use only the provided code, no modifications, no tweaks ...

hi there,
i was thinking to buy one of those stalker and gprsbee kit.. and since i check your post i am not so sure now... did you solve this issues ?

I did not get the FTP example running but hardware seems to be ok. I thought powering via USB is good idea but--as I remember, it was a time ago--USB power is not sufficient. you have to power the GPRSBee via Seeeduino's LiPo! This is the case for all SIM900 modules. The annoying thing is that LED blinking and so on indicates a working module with USB power but is is not enough for transmitting data.

As described above make sure you have connected the two GPRSbee pins DTR (GPRSBee pin 9) for software on/off and
CTS pin (GPRSBee pin 12) for power status with two Seeeduino pins. This is obligatory in case you will not switch the GPRSBee on by hand! Leaving this hardwire connection out means you have allways switch the module on by hand (default it off after powering!)
I had this not expected. :wink:

Over all the library situatin is not too good for the SIM900. I'm under the impression that the official Arduino GPRS shield is better maintained but unfortunately the code is not compatible to the SIM900 module. On the other hand the GPRSBee is really tiny and optimized for power saving so the "official" GSM board is no alternative for power saving projects.

Thank you
annoying .... i understand that quite well ... Its kind of frustrating when we start digging around arduino projects ..
i just want a pcb with gprs/gsm that really works but i took a few examples .. Gboard, stalker, atwin or sodaq / gprsbee (from the same team) and there is always someone (being kind) attesting that the pcb does not work particularly well..
it´s all a bunch of crap around arduino and gprs/gsm as i can see..

i start to think that this people just wanna show off their "high" skills around circuit draws and thats it .. something to buy and to put in the wall like a painting ... or maybe they are just a few ignorant people trying to prove their stupidity to the world ..
even a simple statement to prove that the pcb works ends on a moon trip .. and never works .. at least as they say it works..
i´m not an engineer and ive been into economics all my life... maybe its just my ignorance on this subjects..

Thank you Clemens

Have still serious problems to get the GPRSBee and the Stalker running. The problem is that the most SIM libs using softserial for communication with the SIM900 module and the hardwired serial for debugging.

Tried to use the http://www.gsmlib.org/ and connected the GPRSBee over wire (TX/RX) but got it not working.

GPS Bee with Mini Embedded Antenna: http://www.elecfreaks.com/store/gps-bee-with-mini-embedded-antenna-p-518.html