It’s a IoT experience, run on Arduino Uno + Ethernet Shield, read analog input from A0, send to dweet.io and freeboard.io.
The “dweet.io” is new IoT Cloud service by buglabs.com.
freeboard.io provides the service that enables user to implement Dash board which displays data from various “Internet of Things.
Let’s refer the below media clip for understanding its detailed operation.
like the below image, we can easily monitor the real data sent. In addition, freeboard.io can do the same as well.
You can refer the related Arduino source code at the below link.
- http://arduino-er.blogspot.kr/2015/04/iot-experience-arduino-uno-ethernet.html
- https://gist.github.com/bjnhur/8a7a8646655d1566483b
Main source code is like the below and coming from Modified from Web Client Repeating example (http://arduino.cc/en/Tutorial/WebClientRepeating).
// this method makes a HTTP connection to the server:
void httpRequest() {
// close any connection before send a new request.
// This will free the socket on the WiFi shield
client.stop();
// if there's a successful connection:
if (client.connect(server, 80)) {
Serial.println("connected");
analogVal = analogRead(analogIn);
// Make a HTTP request:
String s = "POST /dweet/for/arduinotest?A0=";
s.concat(analogVal);
Serial.println(s);
client.println(s);
client.println("Host: www.dweet.io");
client.println("Connection: close");
client.println();
// note the time that the connection was made:
lastConnectionTime = millis();
}
else {
// if you couldn't make a connection:
Serial.println("connection failed");
}
}
source : http://arduino-er.blogspot.kr/2015/04/iot-experience-arduino-uno-ethernet.html
Tags : 201504, W5100, Ethernet Shield, Arduino, freeboard.io, dweet.io
For Android you can use Stergrqph application and create dasgbords in it