This tutorial will help you set up your first working Intel Edison experiment. Simply follow these steps as you go.
We will use the nodejs-client-examples/intel/allthingstalk_intel_mraa_example/main.js
of the AllThingsTalk Node.js client as our first example.
The Intel XDK IoT Edition is an Integrated Development Environment (IDE) built especially for Intel IoT
Devices. Its primary use is to make it easier to prototype with hardware controllers and front-end HTML5
apps using an all-in-one solution for development and testing.
Follow this guide from Intel to flash the firmware on your Intel Edison board.
If you’re using a Windows 64 bit machine you can use this neat app Intel has built to make this process a bit easier.
When you Edison is up-to-date with the latest firmware, there is a one-time setup to complete.
configure_edison --setup
and follow the stepsxdk-whitelist --add <your IP address>
xdk-whitelist --add 127.0.0.1
To find your IP address, open a command prompt and enter the following
ipconfig
(Windows)ifconfig
(Linux & Mac)
Make sure you are on the same local network as your computer.
If you run into trouble, the detailed guides for your OS can be found at Intel.
For the Grove sensors and actuators used with each of the experiments in the kit, we need to update the
Grove library.
echo "src mraa-upm http://iotdk.intel.com/repos/1.1/intelgalactic" > /etc/opkg/mraa-upm.conf
opkg update
opkg upgrade
reboot
To check that everything went as planned
For more help setting up your Edison check out the Intel developer resources for Edison:
On the downloads page, download and unzip both the
To open a project, simply browse to it and open the corresponding .xdk
file in the Intel XDK.
This tutorial will help you set up your first working Intel Edison experiment. Simply follow these steps as you go.
We will use the nodejs-client-examples/intel/allthingstalk_intel_mraa_example/main.js
of the AllThingsTalk nodejs client examples
as our first project.
First we need to create our device. Log in to AllThingsTalk Maker and navigate to the ground in which you want to create your device. Next follow these instructions.
If you just created a new account, you will have a default ground called playground setup for you. You can use this ground to create your devices.
We are now ready to upload and run our sketch!
Now we are ready to upload and run our first IoT application! In order to run your code on the Intel Edison you’ll need to upload
your code, build and install the project and then run your code, to do this just click the buttons as listed below
If all went well, you can now watch the values change in AllThingsTalk Maker. Toggle the LED or turn the potentiometer and see what happens.
If all went well you can also see the output of your device on the console. The black box in the XDK!