Go Down

Topic: Arduino, GPRS shield, PACHUBE/COSM (Read 1 time) previous topic - next topic

Hey,

My project requires data to be transmitted from a wireless sensor node, via the GPRS network to a datalogging site like Pachube.com

I am using the arduino uno with the seeedstudio sim900 GPRS/GSM module. I have used the sample code found on the wiki. I have got it to sms and make voice calls.

I am having a problem in sending data through to the pachube api.

the code can be found at the bottom of this page:

http://www.seeedstudio.com/wiki/GPRS_Shield_V1.0#Hardware_installation

an error is thrown when the shield attempts to make a wireless connection and all the AT commands below that throw errors.

Can someone please help me out here.

Thanks

PaulS

Quote
an error is thrown when the shield attempts to make a wireless connection and all the AT commands below that throw errors.

Can someone please help me out here.

Sure. Which way did you come in?

I'm having difficulty believing that the error was "An error was thrown".

Nick_Pyner

#2
Mar 14, 2013, 12:44 am Last Edit: Mar 14, 2013, 02:06 pm by Nick_Pyner Reason: 1
I understand that what you have is fundamentally OK, it is just that you cannot send data to cosm. I assume you want to send data to cosm for graphic display thereon, in the normal manner.

I don't know anything about GPRS stuff - or software serial -  but even the clearly indicated cosm section of your code is incomprehensible, so I believe your problem with cosm is the same as most everybody else's. You are not using the latest libraries - cosm.h and httpclient.h.

You should get these libraries from github and start over again.

I don't suppose cosm knows or cares how the data is sent, so long as it is properly packaged, with the right commands.

You might find this useful  http://community.cosm.com/node/1867
It turned out that his main problem was his SIM running out of credit, and maybe his code is kosher by now....

Hi,
i have bougt also a SEEEduino GPRS V2 and test the same things.

I have found a site where runs.

Look there, i have problems, with starting without computer.

There is a file you can download (GprsTest.zip)

http://www.seeedstudio.com/forum/viewtopic.php?f=10&t=4254&p=16054&hilit=gprs+2+cosm#p16054

pleas post your changes.

Best regards

Go Up