===
In this lesson, you configure your Intel Edison device with an operating system, set up your development environment, and deploy an application to Intel Edison.
There are three parts:
A: Download Intel Edison drivers
B: Configure and test your device
C: Install Nodejs and required libraries
A: Download Intel Edison drivers
-
Download Intel Edison drivers based on your host PC, available here:
Windows users
Mac users
Linux users
B: Configure and test your device
-
Get started with Intel Edison
If this is the first time you use your Intel Edison board, you will have to follow some steps to assemble it.
Please follow steps 1-3 of the instructions.
Step 1: Assemble boards and sensors.
Step 2: Run setup tools.
Use the setup tool to flash the latest firmware on the Intel® Edison development board via a convenient wizard. The setup tool also lets you enable SSH and Wi-Fi* connectivity to your board, as described in the steps to follow.
- Step 3: Download development environment.
Download Intel® XDK cross-platform integrated development environment
-
Verify and upload your onBoardBlink project to Intel Edison
Creating your project
1. Launch the Intel XDK.
2. Follow the on-screen instructions to log in to your Intel® XDK account or sign up for a new Intel XDK account.
3. From the Projects tab, click Start a New Project in the bottom left. The Start a New Project page opens.
4. In the Internet of Things Embedded Application list on the left, click Templates. A list of templates are displayed on the right.
[caption id="" align="aligncenter" width="287"] Templates[/caption]
5. Select the Onboard LED Blink template, then click Continue.
6. If desired, type or browse for the folder you want to store your projects in the Project Directory field.
7. In the Project Name field, type a name for your project.
[caption id="" align="aligncenter" width="558"] Project[/caption]
8. Click Create. Your project is created.
- Connecting to the board
1. From the IoT Device drop-down list in the bottom left, select your development board. The Connect to your IoT Device dialog box opens.
[caption id="" align="aligncenter" width="768"] IoT Device[/caption]
If your development board is not included in the drop-down list, you must connect to your board manually. Select Add Manual Connection and supply your board's IP address in the Address field.
2. If you have created a user name and password to log in to your board, type them in the User Name and Password fields. Otherwise, leave the default values.
3. Click Connect.
4. If you see a message saying that your daemon is out of date, update the daemon. This will disconnect from the board, as the daemon has to be restarted, so follow the instructions to reconnect when prompted.
5. If you see a message about the clock on your board and the Intel XDK IoT Edition being out of sync, click Sync.
6. A confirmation message appears, displaying the connection status and IP address of your development board. Click Dismiss. Your board is now connected.
- Upload and run the project
1. From the top of the application window, click the Develop tab. Look for the IoT toolbar at the bottom of the window.
[caption id="" align="aligncenter" width="600"] Develop[/caption]
2. Click the Upload icon to upload your project to the board.
3. Now click the Run icon to run your code. You should see an LED on your board flashing on and off.
Click the Stop icon to stop the LED.
Congratulations, you have run your first IoT app using the Intel XDK IoT Edition!
C: Install Nodejs and required libraries
-
Open a terminal application on your computer and connect to Intel Edison.
-
Install the latest nodejs
root@Edison:~# opkg update
root@Edison:~# opkg install nodejs
- In next lesson will install QIoT Suite and connect to NAS by sample code.Lesson 2 Install QIoT Suite Lite.
Please visit QNAP github for QIoT Suite Lite sample code
"QNAP-Github"
留言列表