Arduino connected via TCP using SIM900 to Dweet.io - arduino

I am trying to stream some sensor data to Dweet.io using my Arduino connected to a SIM900 GSM/GPRS module. I am able to access internet, load data, check GPRS connectivity etc from my Arduino board. Could someone specifically tell me the syntax to post data onto dweet.io?

Instead of Using the AT commands use this library its easier and Nice https://github.com/amcewen/HttpClient
Dweet.io needs GET commands to send and receive data.

Related

How to program the SCPI protocol in Arduino?

I want to make an Arduino program that only makes requests for voltage measurement of some sensors through the SCPI protocol connected by RS232. I have found several libraries created by users but they have many unnecessary functions for what I want to do.
Specifically, what is the command to be sent by the RS232 to request the desired sensor voltage?
Thanks.
Try using : Arduino SCPIParser Library by LachlannGunn available on GitHub.

how to communicate between openmote and arduino?

I'am working on an IOT project. The goal is to communicate between two openmotes (one is the server and one is the client). When the client receives some data, it is supposed to pass it to an arduino to activate different controllers (like a motor, some leds ...). So, I wanna send data from a openmote to an arduino. The idea is to use a bus. The openmote is the master and the arduino is the slave. Do you have any idea how to do this ? I can't find any documentation fro the open mote part. I thought about using the serial UART but i don't have any idea how to do that.
Thank you !
If anyone is looking for an answer, it is possible to activate the UART 1 on the open mote and to send data to the arduino using that bus. You have to pay attention to the speed you are using on both sides.You can refer to this file to see the functions to use: https://github.com/contiki-os/contiki/blob/master/examples/cc2538-common/test-uart.c

FTDI + ESP8266 [Need to use AT Commands] without Arduino

I am trying to write standalone ESP8266 code so that it can communicate to wifi and change its states. For this, what I want to do is to send some command "AT+CWMODE=1" or "AT+CWMODE=3" to ESP8266 via code and toggle them on push button tap.
So, like in Arduino there is a Serial.write which writes on a serial monitor via SoftwareSerial class.
But when I am sending Serial.write("AT+CWMODE=1") it prints on the monitor as a string rather than changing the wifi state.
Is there a way to send AT commands without using Arduino chip software serial pins?
Thanks.
Sorted out the issue. All those who are new like me to ESP world, I did the serial.write "AT" commands using wifi classes of Esp8266.
You need to connect the board as ESP8266 Generic Module and send/receive data using ESP8266Wifi class, by reading the scanned networks, changing mode, using Serial.read on the connected devices on Access point of Esp8266.
Let me know if someone need help on this future, I will be happy to help.

How to send data to cloud from arduino uno?

I have some sensors connected to my ardunio uno and get periodically data from that sensors now I wanted to send that data to cloud.
I dont have any idea about how should I connect my arduino to Internet using GSM. How should I solve this problem or any alternative is there.
Just get an appropriate shield (like this one) and follow the documents included with it. The linked shield includes some basic service plan as part of the purchase. Once connected, it's just like using any other TCP/IP application.

Arduino + sim900 + xively

I have a problem, I'm new to Arduino and I'm totally a beginner.
I bought a SIM900 Quad-band GSM / GPRS Shield for Arduino (http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=221176159800&ssPageName=ADME:X:RTQ:US:1123) and I have two problems.
(I use the test code that is found in the library)
First
the device does not read every message, but only a few. one read and then 3 does not, then 2 read and then 4 do not read .....
Second
I do not know how to connect to xively, no examples.
I know how to connect and send data via an ethernet shield, but with SIM900 Quad-band GSM / GPRS Shield do not know how.
I download the library from http://www.gsmlib.org/download.html and fix the first problem with sms.
but I do not find a solution to the second problem, and I can not find and I need a simple example to send data to xively.
So if anyone can help I would be grateful
You'll need to learn how to have the SIM900 perform HTTP operations. Study the example shown in Step 8 at this Cooking Hacks tutorial
For posting data to Xively, study this example.
You'll need to merge how you communicate from the SIM900 with the right HTTP sequences in order to upload data to Xively.

Resources