Arduino Forum

Using Arduino => Networking, Protocols, and Devices => Topic started by: vmandin on Nov 20, 2012, 12:59 pm

Title: COSM and GSM/GPRS MODULE
Post by: vmandin on Nov 20, 2012, 12:59 pm
Is it possible to use a GSM MODULE, specifically a SIM900D GSM/GPRS, in sending data to Pachube, now named COSM?
Title: Analog Sensor on PACHUBE or COSM
Post by: vmandin on Nov 20, 2012, 01:02 pm
Who is an expert on COSM? I want to know about how it works. If it only works with an Ethernet shield. I want to use GPRS module. SIM 900.
Title: COSM ANALOG SENSOR DATA LOGGER/MONITORING SYSTEM USING GPRS
Post by: vmandin on Nov 20, 2012, 01:07 pm
Can anyone find a related project? Im planning to make a monitoring system that uses GPRS in sending data to a graphing website like COSM. Pls help. I want to use a GSM module instead of a Ethernet shield.
Title: Re: COSM and GSM/GPRS MODULE
Post by: PaulS on Nov 20, 2012, 01:14 pm
Anything is possible. Easy is a different story.

Buying your own domain, and getting is hosted, and sending data only you give a shit about to your self is far simpler.
Title: Re: Analog Sensor on PACHUBE or COSM
Post by: NickPyner on Nov 20, 2012, 02:06 pm
Cosm is a website to which you send information, just like this one, but you do it directly from your Arduino. It may be possible to send a feed from your PC but I can't see the point, and it is made specifically for microcontrollers. You therefore need an Ethernet facility, be it a shield or built-in. I don't know what you are talking about or the devices you allude to but, if you can send data from them to your local display, you can send the same or similar data to cosm.

Cosm displays a graph for each feed. It is typically a variable or an event against time. An example
https://cosm.pachube.com/feeds/83153
The action is not live, the viewer must refresh the screen manually.
Title: Re: COSM and GSM/GPRS MODULE
Post by: nickgammon on Nov 20, 2012, 07:59 pm
Please do not cross-post. This wastes time and resources as people attempt to answer your question on multiple threads.

Threads merged.

- Moderator
Title: Re: COSM and GSM/GPRS MODULE
Post by: Clemens on Nov 21, 2012, 03:27 pm
This is an example for the new (but not yet, 2012-11-21, available) Arduino GSM Shield (see https://bluevia.com/en/page/tech.arduino) to update Cosm feeds:
https://github.com/BlueVia/Official-Arduino/blob/master/examples/GsmCosmClient/GsmCosmClient.ino

I do not know weather the GSM.h library is compatible with other right now available shields, but I do think it will not work.

Nevertheless you can see form line 119 on how the HTTP PUT request is implemented.