In this tutorial we’re going to make temperature monitoring system using Xively server and WIZnet WizFi250-EVB
Step 1: H/W
- Temperature Sensor : TMP36
- TMP36 Datasheet : http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Sensors/Temp/TMP35_36_37.pdf
- Low voltage operation(2.7V to 5.5V)
- Calibrated directly in ℃
- 10mv/℃ scale factor
- ±0.5℃ linearity
- Pin Description
- Picture of Hardware
Step 2: Create Xively ID and Add Device
For using xively cloud server, you have to create xively ID and add device as below.
Step 3: Create Xively Channel and Check your FeedID & APIKey
After Step2, If you click device, You can add Channel ID which is monitoring value from temperature sensor.
I want to check temperature data. So I added ChannelID to “TempC”.
And then you have to memory your FeedID, API Key, and ChannelID because packet which WizFi250&Arduino send needs this information.
Step 4: WizFi250 Arduino Library Download
You can download WizFi250 Arduino Library in GitHub. If you did download complete, you can see Xively Client Example.
You have to use this example.
Step 5: Source Code and Demonstration
This picture is my demonstration board. Component of demonstration board are Arduino Uno, WizFi250-EVB and TMP36.
And TMP36 is connected to 5V, GND, A0 port in WizFi250-EVB
You can download this example on the following link; https://github.com/Wiznet/Arduino_WizFi250/tree/master/Software/WizFi250/Examples/WizFi250XivelyClient.