Introduction: Intro to Intel XDK IoT Edition Using a Temperature Display
Welcome back! In this instructable I will be guiding you in making your own digital thermometer with a button-controlled temperature "hold" feature. This instructable uses parts from the Intel Edison IoT Dev Kit, which was very generously given to me from Intel and Instructables. Specifically, the parts used are as follows:
- Intel Edison w/ Arduino Breakout
- Grove Base Shield v2
- Grove RGB Backlight LCD
- Grove Temperature module
- Grove Push-button module
- 3D printed mount (optional)
In my other Instructables, and in many others, people are using the Arduino part of the Edison to do things. This Instructable is written to show the use of Intel's XDK IoT Edition software.
Before going any farther, I want to thank Intel and Instructables for being awesome by selecting me along with 249 others to receive a Dev Kit. That was very surprising to me, and I am very grateful for it. Thank you!
Step 1: Get Connected!
This instructable assumes you already have XDK IoT Edition set up on your computer and Edison. If you do not, check out the tutorial from Intel.
Wiring everything up is simple, and it is explained in one of my other Instructables.
To connect to your Edison through the XDK:
- Turn on your Edison
- Connect to the same WiFi network as the Edison
- In the bottom left of the XDK, pull down the drop-down menu
- Select your Edison (or manually add) (see the first image)
That's it! You should see a popup similar to that in image 2. If you don't, check out what it says and fix what's wrong. The only message I've gotten otherwise was a whitelist issue. It tells you how to do what you need to.
Now you can program it!
Step 2: Write the Code!
I wrote a few other Instructables with this temperature display as the example setup. In them, I had the button activate the backlight for a few seconds. This is slightly different because I have the button "holding" the current temperature. I do not know, and cannot find any references on how to, turn on/off or change the color of the RGB backlight.
Step 3: Upload and Enjoy!
Uploading with the XDK can be done over the network, which makes is very nice. This is one of the great things about the Internet of Things. In the XDK, save the file you are going to be uploading. Then, in the bottom taskbar, click on the hammer icon. This has it "build" the program, then uploads it. After it's uploaded and you want to run it, click on the icon with the green "play" button. To stop the program, click on the icon with the red "stop" button.
That's it! Now you can browse through the demos in the XDK and hopefully make some neat projects!