Introduction: Android/Arduino Tv Remote

Picture of Android/Arduino Tv Remote

Step 1: Part List

Picture of Part List

- Arduino

- Bluetooth modul (HC-05/06)

- IR recever (38kHz)

- IR led (Can use from an old remote control)

- Resistor

- Android phone

Step 2: The Android App

Picture of The Android App

http://ai2.appinventor.mit.edu/

In the app invetor 2 create your remote app, make many buttons as you need to control.

(channels, volume, menu, on/off etc...)

Every button send a word to the arduino.

The app automatically connect to the arduino when started.

Tutorial video on the first page.

Do not forget pair your bluetooth module and phone!

Step 3: The Arduino

Picture of The Arduino

- Download and install the IRremote library (link in the youtube description).

- From the examples, open the IRrecvDump.

This code show, what code send your remote control when push a button.

- Open my arduino code too, place both on screen.

- Connect the IR receiver to the arduino D11

- Upload the IRrecvDump.

- Open this app Serial monitor.

- Push every button on the tv remote control, and copythe resulting codes to the my code in the right place.

If you get "unknown encoding" error, ignore it, push the button again.

- When you push the button, and get different from the "Decoded NEC" line, change in my code every NEC to the received type.

- After done with buttons, upload my code to the arduino, connect the IR led to the D3 pwm pin, connect the bluetooth module.

- Place the IR led very close to the Tv receiver.

Done

Detailed tutorial video on the first page.

Comments

ManrajjitS (author)2015-07-12

getting this error

Arduino: 1.6.1 (Windows 7), Board: "Arduino Uno"

IRrecvDump.ino: In function 'void dump(decode_results*)':

IRrecvDump.ino:47:36: error: 'PANASONIC' was not declared in this scope

IRrecvDump.ino:49:27: error: 'class decode_results' has no member named 'panasonicAddress'

IRrecvDump.ino:52:36: error: 'LG' was not declared in this scope

IRrecvDump.ino:55:36: error: 'JVC' was not declared in this scope

Error compiling.

This report would have more information with

"Show verbose output during compilation"

enabled in File > Preferences.

in compiling arduino

can you help me

RioS3 (author)2015-06-05

may i have your sourcecode ?

can you please send to my email bayakgunung@gmail.com

planetleak (author)RioS32015-06-05

The source code is in the youtube video description.

planetleak (author)2014-05-19

Thanks.

Add speech recognizer upgrade. That fun too.

shin2_d (author)2014-05-19

I also planned to make same project this Summer vacation

anyways great tutorial that would help me

About This Instructable

14,703views

71favorites

License:

More by planetleak:iPhone Touch ID windows loginESP8266 TV remote for HomekitRaspberry Pi 2 Homekit - from zero to Hey, Siri (Updated)
Add instructable to: