I'm halfway building this so there are the parts needed :-
- Arduino (I'm using a breadboard version, see the photos on my blog for details)
- IR detector/receiver ( get those 3 pins ones, they have digital output )
- Sharp Range Sensors ( GP2D12 10-80mm or similar )
- LCD Module 2x16 ( to display the function activated ), use the LiquidCrystal library.
- 4 or 5 IR transmitter LED + 220R resistors
- breadboard or protoboard shield + minibreadboard
- 4 tactile switches to test the IR functions
Optional : LM35 temp sensors
Use the IR remote library to record the codes from your remote controllers.
http://www.arcfn.com/2009/09/arduino-un ... d-and.htmlAs I do not want to place the Arduino across the living room to send the IR codes, I plan to wire the few IR transmitter directly to the electrical appliance IR receiver (TV,Astro, DVD,AVR )..
Still work in progress but I guess the codes are pretty simple, just detect the range for 1 or 2 seconds (e.g. distance is between 40-50mm, turn ON the TV or something, range is reducing, turn down the volume on TV... ) and display the activated function on the LCD module...
It is up to your creativity on what functions you want to program to send the IR codes...
Optional :- If temp is very hot (30C), turn on the aircon automatically...
Will post more updates when I made some progress...