Introduction: IR Remote Agent
Check out how we used it to replace our air conditioner:
Step 1: How It Works and What We Need
Seeeduino plays a mailman role in this project. We added an infrared receiver on it, so that Seeeduino can get the command message from the remote. We added a bluetooth module on it, so that Seeeduino can talk with the Android panel we used here. And at last we added a infrared emitter so that Seeeduino is capable of sending IR commands. Besides, to run up all these electricity consumers, we prepared a Lipo rider to handle the battery. You can find how all these devices look like on the first picture and the principle diagram on the second picture.
The whole process can be divided into 3 steps. They are:
1. Pair
Pair the Android device to the serial bluetooth on Seeeduino.
2. Study
Aim the conditioner remote at the infrared receiver on Seeeduino. Press the target key on the remote, for example ON/OFF button, then the Android panel knows how to repeat the command.
3. Send
Now aim the infrared emitter to the conditioner, press "send" button on the screen. The conditioner should be turned on or off.
Part List (including where you can find them and where to download the app and demo code):
1. Seeeduino V3.0
2. Grove - Base Shield
3. Grove - Infrared Emitter
4. Grove - Infrared Receiver
5. Grove - Serial Bluetooth
6. App & Demo Code(available on Github)
7. Arduino lib for IR remote(import this lib before you upload the demo code)
8. An Android Device(only panel now due to the high resolution picture)
Step 2: Pair-up
The panel need to gain approval from Seeeduino before they talk via Bluetooth. That agreement is pair-up.
Open the APP. Click the first button with a Bluetooth logo on, then a note will pop up for you to select device and enter PIN.
The default PIN is "0000", as the second picture.
Step 3: Study
Tap the second button on the screen. After that, point the remote to the infrared receiver. Press the key you want the panel to learn till you find meaage "Got it!" show up on the screen.
Step 4: Try It!
Now you should be ready to use this function.
Point the infrared emitter to the conditioner. Tap the third button on the screen. What happens to the conditioner? If it reacts to your command, congratulations! If not, back to the "Pair-up" step, and have these all over again.
14 Comments
8 years ago on Introduction
Does it keep the commands after pairing a new one?
Reply 8 years ago on Introduction
Only keeps the last command which you learn:)
8 years ago on Introduction
is the Arduino code input to IR receiver?
Reply 8 years ago on Introduction
No, IR receiver just gets the IR signal, and Seeeduino sends command with IR emitter.
8 years ago on Introduction
Just a question, will this only work with android sytems?
Reply 8 years ago on Introduction
Sorry. For now, it is just for Android Tablet.
8 years ago on Introduction
The android app link connects to a "how to buy from china" instructable. Is this an error?
Reply 8 years ago on Introduction
The app link is fixed now:) Thank you so much for pointing out^^
8 years ago on Introduction
Superb instructable, but I can't find the app?
Reply 8 years ago on Introduction
Thank you:) And the link to the app is OK now:)
8 years ago on Introduction
i am using Android app i dont see Seeduino . Where did you find the app?
Reply 8 years ago on Introduction
Sorry for the inconvenience^^ The link to the app is fixed:)
8 years ago on Step 1
The link for the App & Demo Code links to another instructable instead of the code.
I am very interested in this. It looks like just what I need.
Reply 8 years ago on Introduction
Thank you for pointing out, the link is OK now:)