Wiznet makers

mason

Published October 05, 2022 ©

82 UCC

13 WCC

28 VAR

0 Contests

0 Followers

0 Following

Original Link

Microduino XivelyClient

Cosm sensor client

COMPONENTS Hardware components

WIZnet - W5500

x 1

Software Apps and online services

Arduino - Arduino IDE

x 1


PROJECT DESCRIPTION

 Cosm sensor client

This sketch connects an analog sensor to Cosm (http://xively.com)
using a Wiznet Ethernet shield. You can use the Arduino Ethernet shield, or
the Adafruit Ethernet shield, either one will work, as long as it's got
a Wiznet Ethernet module on board.

This example has been updated to use version 2.0 of the cosm.com API. 
To make it work, create a feed with a datastream, and give it the ID
sensor1. Or change the code below to match your feed.


Circuit:
* Analog sensor attached to analog in 0
* Ethernet shield attached to pins 10, 11, 12, 13

Documents
  • XivelyClient

Comments Write