Make a Cheap, Generic Smartphone Remote
See how you can make a remote out of your smartphone to control all of the IR devices around your home — all for the cost of a decent restaurant meal.
Join the DZone community and get the full member experience.Join For Free
Recently, I have created tested an IoT project for controlling my IR-based appliances. This Centralized Home IR Appliances Control System is extendable, adaptable, and controls different IR appliances at a very low cost. The system has the following features:
- It is cheap.
- It is generic and one can add any number of IR devices.
- All one has to do to add a new IR appliance is add the IR codes in the form of a property file.
- Works with most of the smartphones (at present only Android phones)
For implementing initial working prototype, I chose:
- A $9 Chip computer as the central control system where the smartphone sends commands. This device is common for all in-home IR appliances (that are on the same Wi-Fi network). Though I chose the $9 Chip computer, one can use a Raspberry Pior any computer that has Python 2.7.
For each IR appliance we want to control, I have put one ESP8266 device to send IR commands (which cost me $2.82). We need to this board for each appliance in case if both appliances are not in the same IR visibility. The wiring to link the ESP8266 to the IR Sender looks like below:
At present, the system controls my TV and set-top-box. In the future, I am going add more devices, like my LG air conditioner.
A brief deployment diagram of the various subsystems (in different devices) looks like this:
I have put the code of these three subsystems (Android-App, Python-Control-Server, and ESP8266-FW-To-Send-IR-Commands) in GitHub:
Published at DZone with permission of Mahadevan Gorti Ss. See the original article here.
Opinions expressed by DZone contributors are their own.