Control TV With Any Phone (Even Phones Without IR Blaster) Using Arduino

Control TV With Any Phone

Control TV With Any Phone











Do you want to control your TV and several other gadgets that are IR controlled? Ya but my phone doesn’t support it because it doesn’t have an IR blaster.Don’t worry here a gadget that gives IR control to any phone and the thing it needs is bluetooth!! YES!! bluetooth!! The gadget also increases the range of your control!! As it covers the distance range of bluetooth as well as infrared!! It was made in very less budget and requires some components including arduino uno and bluetooth module! Basically the phone sends signal to HC-05 (bluetooth module) and further bluetooth module sends the characters to arduino’s serial port and arduino sends particular IR signal decoded from your remote!! It works with all TV remotes!!I etched the circuit on PCB to make it more efficient and useful!! Here ‘s a demo video of it but I’ll publish full tutorial on making it soon..

Step 1: LibrariesLibraries












You’ll require to install IrLib master library that is attached below. Unzip it and then copy the files to libraries folder of arduino IDE. Either you can install it by directly opening IDE and under sketches install zipped libraries.

Step 2: Things Required

Things Required 1 (1)












You’ll need :-

  • Arduino UNO
  • HC-05 (bluetooth module)
  • IR L.E.D
  • IR Receiver
  • 2N2222 NPN Transistor
  • 470 ohms Resistor
  • 1 Kilo ohms resistor X 3 (Either you can use 1 kilo ohms resistor and 2 kilo ohms resistor)
  • Copper Clad Board
  • Photo Laser Paper
  • Thin Drill Bit usually 0.8 mm to 1.2 mm
  • Printer Cable (Arduino Cable)
  • Ferric Chloride
  • Male Headers
  • Female Headers
  • Breadboard
  • Jumper Wires
  • Soldering Iron
  • Solder
  • Laser Printer
  • Non-Metallic Container
  • Acetone
  • Scissors

Step 3: Receiving Raw SignalsReceiving Raw Signals












Take IR receiver and connect its :-

  • Signal —— Digital Pin 11
  • Gnd —— Gnd
  • Vcc —— 5v

And then open Irrecvdump example from IrLib master library and the code is attached below also!!

Upload the code and serial monitor.

Step 4: Decoding












After opening the serial monitor press any button of your TV remote in front of IR receiver.You’ll see the decoded data on the serial monitor.Don’t close the serial monitor until you note down data of all buttons of your remote.

Step 5: Getting Useful DataGetting Useful Data












Note down the value and the number in bits mentioned in serial monitor for every unique button.See pictures and screenshots for help.Value might be in numbers or alphabets like A90,2CE9 etc. And the value in bits be 12,15 etc.Note only the ones which you want to use via your phone means only the most useful ones.

Step 6: Circuit (Please Ignore Resistance Values in Fritzing Image)












Please refer to circuit in the pictures above,If you are using Arduino Leonardo then connect the resistor wire to Digital Pin 11.Sorry because the resistance value is not 220 ohms it is 470 ohms with transistor and all other are of 1 kilo ohms resistance.Collect all required things and get on to work again.

Step 7: Circuit

The Digital Pin 3 is PWM output that means Pulse Width Modulation.The transistor further corrects the output and 470 ohms resistor helps to reduce current!! Don’t fry your bluetooth module.I added a voltage divider circuit to prevent HC-05 from getting damaged!!


Vcc to 5v

Gnd to Gnd

Tx to Digital Pin 0 or Rx

Rx to resistors

Read more: Control TV With Any Phone (Even Phones Without IR Blaster)

Leave a Comment

Your email address will not be published. Required fields are marked *