[Arduino Project]#Remote Monitoring of Ultrasonic Sensor Value Using IoShield-A & Cloud Server

by irinak1 in Circuits > Arduino

4270 Views, 31 Favorites, 0 Comments

[Arduino Project]#Remote Monitoring of Ultrasonic Sensor Value Using IoShield-A & Cloud Server

20140919_150809.jpg

My post explains how to monitor ultrasonic sensor value remotely using Arduino, ioShield-A & Xively Server.

Arduino Uno board is used for controlling whole system and measuring the sensor value. I'm using ioShield-A (which is based of W5500) for processing the TCP/IP connection.

Parts & Program

ioShield-A-Cloud-Server-1.jpg

I drew the schematic at the Fritzing.

Operation Block Diagram

ioShield-A-Cloud-Server-2.jpg

Each node and part operate and communicate as shown in below block diagram.

Method the Using Xively 1/6

ioShield-A-Cloud-Server-3.jpg

Now, I will connect to Xively(cloud service), one of the most popular cloud service in the world.

1. Connect to http://xively.com

Method the Using Xively 2/6

54641792dbf3ec79c800020c.jpeg

2. After log-in, go to “Development Devices”

Method the Using Xively 3/6

자이블리_3.jpg

3. Input the “User Agent”, “Feed ID” & “APIKEY” in the Arduino Sketch

Method the Using Xively 4/6

ioShield-A-Cloud-Server-6.jpg

4. Now, you can remotely monitor the change of the sensor value.

Method the Using Xively 5/6

ioShield-A-Cloud-Server-7.jpg

// replace your Xively api key here

#define APIKEY “YfqMfUI4h9QIZ0dL8JQTpqfhIfaeXwGOc7qrpPeoFHecVPEI”

// replace your feed ID#define USERAGENT “make fair”

// user agent is the project name

#define FEEDID 863324820

Below code is to turn on the LED if the sensor value is under 10cm.

In case of String dataString = “Ultra,” and dataString += “\nTemperature, “, they must be same with the channel name that you made at the Xively

Method the Using Xively 6/6(video)

The monitoring of sensor using the xively version 2

The monitoring of sensor using the xively(HW - WIZ550io +Arduino uno)

Attached file

  1. dht11.zip : temperature library
  2. XivelyClientString_temperature.zip : arduino source code.

Please refer to attached video.