Introduction: How to Make LinkNode D1 Connected to the Cloud Platform

Picture of How to Make LinkNode D1 Connected to the Cloud Platform

This instruction will tell you how to connect to Linksprite.io with LinkSprite D1

Step 1: ​Material Preparation

LinkNode D1 x 1

Step 2: Login Linksprite.io ,and Record the “Device ID” and “API Key”

Picture of Login  Linksprite.io ,and Record the “Device ID” and “API Key”

1. Register www.linksprite.io and Login this account

2. My Profile -> API key

3. My device->Create DIY Device

Enter Device Name,Device Type , Group Name , the device number is 00, device name and device grouping can be any.
Note: Device Type must be selected 00(Custom device type) . Now you can see “test” in My Devices, Click “test” and record the Device ID.

Step 3: Download and Run the Code

Picture of Download and Run the Code

1. Download the source files?

git clone https://github.com/delongqilinksprite/LinkSpriteI...

2. Put the code in the following directory(examples under Arduino installation directory )

3. Open the Arduino IDE, File -> Example -> LinkSpriteIO-> LinkSpriteIO.ino

4.Modify the “deviceID” and “apikey” with your own

5. Configure LinkNode D1 Engineering Environment

6. compile and run the code

Results
Open the serial port and www.linksprite.io to observe phenomena. serial port

Here we can see communication of LinkNode D1 and linksprite.io.

Note: The first use of LinkNode D1 need to connect the WiFi, the specific operation, please refer to the linksprite wiki Tutorial 4 .

Comments

seamster (author)2016-08-09

Thanks for sharing! :)

Alvin_Jin (author)seamster2016-08-09

:)

About This Instructable

496views

3favorites

License:

More by Alvin_Jin:VNC to PcDuino8 Uno Through USB-OTGUse LinkNode to Control a Servo Through LinkSpriteIOOpen Source Home Automation System
Add instructable to: