This tutorial introduces how to upload your data of temperature and humidity to devicebit.com. Follow the instruction, and you will see how simple it can be.
Note: The DeviceBit E-KIT used in this tutorial is a board including an Arduino UNO and W5100. You can use Arduino UNO+W5100 to replace the DeviceBit E-KIT.
You need to have:
1. DeviceBit E-KIT(X1) with quick-plug-shield
2. DFROBOT SHT11 sensor(X1), Purchase link:
http://www.dfrobot.com/index.php?route=product/product&filter_name=sht10&product_id=80#.U2G-5fmSyo0
You need to get these things ready:
1. Add 2 sensors on the website. One is the temperature sensor, and the other is the humidity sensor just below your device “01”, and remember to untick Yes (set your device’s “controllable” to “No”), because we’ll not control our device at this moment. Edit their ID to “temp” and “hum” respectively, for we will need them in our codes later.
2. Download the arduino IDE from www.arduino.cc. Remember to select the version 1.0.5, not the latest version 1.5.0 by now.
3. Plug E-KIT to usb port and installed the drivers using the Arduino UNO .
OK, here comes the tutorial.
1. Download 2 libraries from github.com for free:
Put them to your arduino library directory, such as d:arduinolibraries
2. Open arduino IDE now,
Select File->Examples->DeviceBitHttpClient->Upload_Temperature_Humidity_Using_Sht11;
Replace “YOUR_API_KEY_HERE” with your user key in the user center of DeviceBit My account->Account settings.
3. Connect sht11 data wire to the shield D4(not Analog foot), and clock wire to D5.
4. Upload codes to E-KIT, and plug network cable to E-KIT. Your sensor’s value should on the website now.
More tutorials later.
Tips:
1 You can monitor the data of your temperature and humidity in real-time by visiting m.devicebit.com via your mobile phone.
2 The data of your temperature and humidity can be sent to Twitter, and daily or weekly reports can be sent to your E-mail.
For any questions, please contact DeviceBit Customer Service
xujing@devicebit.com, support@devicebit.com
Tel: 0086-10-52981332
Mobile: 0086-13911890238