Pages: [1]   Go Down
Author Topic: Arduino, GPRS shield, PACHUBE/COSM  (Read 728 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 548
Posts: 46032
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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".
Logged

Dee Why NSW
Offline Offline
Edison Member
*
Karma: 30
Posts: 1671
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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....
« Last Edit: March 14, 2013, 08:06:18 am by Nick_Pyner » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1]   Go Up
Jump to: