Difference between revisions of "Remote controller kit"
(→Details) |
(→Details) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | == | + | == Introduction == |
Recently, we have developed an open source remote controller which includes LinkNode D1 and Infrared shield. Users can take this remote controller and android APP to control home appliances like TV, air conditioner which can replace the IR controller. | Recently, we have developed an open source remote controller which includes LinkNode D1 and Infrared shield. Users can take this remote controller and android APP to control home appliances like TV, air conditioner which can replace the IR controller. | ||
Line 40: | Line 40: | ||
[[File:Remote controller kit 002.png]] | [[File:Remote controller kit 002.png]] | ||
+ | |||
=== Details === | === Details === | ||
Line 57: | Line 58: | ||
*Open the new created Device and get DeviceID | *Open the new created Device and get DeviceID | ||
+ | |||
[[File:Remote controller kit 004.png]] | [[File:Remote controller kit 004.png]] | ||
+ | |||
*Go to My profile to get your own API key. | *Go to My profile to get your own API key. | ||
+ | |||
[[File:Remote controller kit 005.png]] | [[File:Remote controller kit 005.png]] | ||
+ | |||
'''b. Download the source code from github''' | '''b. Download the source code from github''' | ||
− | *Download the source code from github and put the IRremoteESP8266-master folder to your (Arduino IDE PATH)/libraries directory | + | *Download the source code from github and put the '''IRremoteESP8266-master''' folder to your (Arduino IDE PATH)/libraries directory |
*Open Arduino IDE and make sure you have installed the ESP8266 hardware packages, details you can check [http://www.linksprite.com/wiki/index.php5?title=LinkNode_D1 here] | *Open Arduino IDE and make sure you have installed the ESP8266 hardware packages, details you can check [http://www.linksprite.com/wiki/index.php5?title=LinkNode_D1 here] | ||
*Go to File->Examples->IRremoteESP8266-->LinkNodeRemote and open it | *Go to File->Examples->IRremoteESP8266-->LinkNodeRemote and open it | ||
Line 76: | Line 81: | ||
*Update your own apikey and deviceID | *Update your own apikey and deviceID | ||
+ | |||
[[File:Remote controller kit 007.png]] | [[File:Remote controller kit 007.png]] | ||
+ | |||
*Program this project to LinkNode D1. | *Program this project to LinkNode D1. | ||
− | |||
− | |||
'''c.Download and install Android APP''' | '''c.Download and install Android APP''' | ||
+ | *Download the Android APP file from [https://github.com/YaoQ/LinkNodeRemote github] | ||
+ | *Use your account to sign in linksprite.io | ||
− | |||
− | |||
[[File:Remote controller kit 008.png]] | [[File:Remote controller kit 008.png]] | ||
Line 94: | Line 99: | ||
*After that APP will list the device group which we create before | *After that APP will list the device group which we create before | ||
+ | |||
[[File:Remote controller kit 009.png]] | [[File:Remote controller kit 009.png]] | ||
Line 99: | Line 105: | ||
*Click this device group, and add remote device | *Click this device group, and add remote device | ||
+ | |||
[[File:Remote controller kit 010.png]] | [[File:Remote controller kit 010.png]] | ||
Line 109: | Line 116: | ||
*After all, you can click button on APP to send command to LinkNode D1 via linkspriteIO | *After all, you can click button on APP to send command to LinkNode D1 via linkspriteIO | ||
*LinkNode D1 will resend the infrared signal which is recorded before | *LinkNode D1 will resend the infrared signal which is recorded before | ||
+ | |||
[[File:Remote controller kit 011.png]] | [[File:Remote controller kit 011.png]] | ||
+ | |||
Using this open source Remote controller and APP, the IR controller of home appliance should be completely replaced. | Using this open source Remote controller and APP, the IR controller of home appliance should be completely replaced. |
Latest revision as of 07:51, 22 June 2016
Contents
Introduction
Recently, we have developed an open source remote controller which includes LinkNode D1 and Infrared shield. Users can take this remote controller and android APP to control home appliances like TV, air conditioner which can replace the IR controller.
Features
- LinkNode D1
- Infrared Shield
- Connecting to LinkSpriteIO IoT cloud server
- Learning Infrared encoding
Tutorial
Prerequisites
Hardware
- LinkNode D1 x 1
- Infrared Shield x 1
- One home appliance supporting IR remote control
Software
- Arduino IDE 1.6.8 with ESP8266 Arduino core
Basic working flow
- 1.Login linksprite.io and create a remote device on the platform
- 2.Makers program the reference Arduino project to LinkNode D1 and let it connect to LinkSpriteIO
- 3.APP will connect to LlinkSpriteIO and list the Remote device
- 4.Learn the infrared encoding from your IR remote controller
- 5.Use APP to control your home appliance
Details
a.Login LinkSprite.io
- Go to My devices --> Create DIY device
- Create new device:
- Device Name: any name
- Device Type:00(Custom Device type)
- Group Name : Remote
- Open the new created Device and get DeviceID
- Go to My profile to get your own API key.
b. Download the source code from github
- Download the source code from github and put the IRremoteESP8266-master folder to your (Arduino IDE PATH)/libraries directory
- Open Arduino IDE and make sure you have installed the ESP8266 hardware packages, details you can check here
- Go to File->Examples->IRremoteESP8266-->LinkNodeRemote and open it
- Update your own apikey and deviceID
- Program this project to LinkNode D1.
c.Download and install Android APP
- Download the Android APP file from github
- Use your account to sign in linksprite.io
- After that APP will list the device group which we create before
- Click this device group, and add remote device
- Choose a button on the APP, press it and hold on
- At the same time, press corresponding button on your IR remote controller
- The LinkNode D1 will record this button's infrared encoding, then send a signal to tell APP, it has already get this button's infrared encoding!
- APP will highlight this button. If you want to learn more button, repeat the steps above
- After all, you can click button on APP to send command to LinkNode D1 via linkspriteIO
- LinkNode D1 will resend the infrared signal which is recorded before
Using this open source Remote controller and APP, the IR controller of home appliance should be completely replaced.
Enjoy it!