Xively Demo - WIZ550io, W5500 (WIZnet) + Temperature Sensor (DS18B20) EthernetInterfaceW5500 + LPC11U68 Xpresso v2 used

Dependencies:   DS18B20_1wire W5500Interface libxively mbed

Fork of WIZ550io_Xively_Demo by Bongjun Hur

Xively Demo

Board Pic

LPC11U68 + WIZ550io (WIZnet) + DS18B20 Temp Sensor https://31.media.tumblr.com/d63982be5ee62cb7889cde9e685ee757/tumblr_n8s27sY62b1sama12o1_500.jpg

PC Screenshot

/media/uploads/Bongjun/img135.png

Files at this revision

API Documentation at this revision

Comitter:
Bongjun
Date:
Mon Sep 01 01:48:53 2014 +0000
Parent:
12:2ba0e2e0dc2d
Child:
14:5a9ba3d8c9ca
Commit message:
Update Ethernet Library

Changed in this revision

EthernetInterfaceW5500.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/EthernetInterfaceW5500.lib	Thu Jul 17 07:30:45 2014 +0000
+++ b/EthernetInterfaceW5500.lib	Mon Sep 01 01:48:53 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/teams/EthernetInterfaceW5500-makers/code/EthernetInterfaceW5500/#274fda7476d0
+http://mbed.org/teams/EthernetInterfaceW5500-makers/code/EthernetInterfaceW5500/#a089e591e530
--- a/main.cpp	Thu Jul 17 07:30:45 2014 +0000
+++ b/main.cpp	Mon Sep 01 01:48:53 2014 +0000
@@ -19,6 +19,8 @@
 DS18B20 sensor(P1_25, DS18B20::RES_12_BIT); // Dallas 1-wire
 #endif
 
+//#define _DHCP
+
 /* wifly object where:
 *     - p9 and p10 are for the serial communication
 *     - p25 is for the reset pin
@@ -78,7 +80,7 @@
 
 #else
     // as your env. change to real IP address and so on.
-    int ret = eth.init("222.98.173.212", "255.255.255.192", "222.98.173.254");
+    int ret = eth.init("222.98.173.211", "255.255.255.192", "222.98.173.254");
     if (!ret) {
         printf("Initialized, MAC: %s\n", eth.getMACAddress());
         printf("Connected, IP: %s, MASK: %s, GW: %s\n",
@@ -164,6 +166,6 @@
         // send to xively server
         xi_feed_update( xi_context, &feed );
         printf( "done...\n" );
-        wait( 15.0 );
+        wait( 5.0 );
     }
 }