Skip to content

cobookman/Arduino-IR-Blaster-for-Comcast-DTA-STB-with-Web-Interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Arduino-IR-Blaster-for-Comcast-DTA-STB-with-Web-Interface

Arduino IR Remote Controll with Web Interface (for comcast DTA STB)

This code is part of an Arduino Tutorial which can be found here: http://colinbookman.com/arduino_ir_blaster/

This code uses the following components from sparkfun:

This code uses IR code for the comcast DTA remote which is 38Khz XMP IR Protocol.
(AKA: http://www.easypctutorials.com/wp-content/uploads/et_temp/photo2-1104078_958x340.jpg)

Please refer to the Schematic for pin layout. Not listed is the IR Receiver, which has:
VCC -> +5v
CTL -> Pin 4
GND -> GND

To get the on/off times for the IR, I used ladyada raw IR decoder.
Her tutorial can be found here: http://www.ladyada.net/learn/sensors/ir.html
And the IR Decoder is found: https://github.com/adafruit/Raw-IR-decoder-for-Arduino

Instructions on using the IR Decoder.

  1. Hook up IR detector/receiver to arduino.
  2. Open Serial Monitor on the Arduino, and gently/swiftly press down the key on the remote you wish to capture.
  3. Copy/Paste your on/off times (the 2 digit numbers) into respective rows/columns on excel.
  4. Repeat step 2-3 at least 2 times.
  5. Average the numbers together, and subsequently multiply them by 10 (for micrseconds).
  6. Find or create the relevant chan*() function, and Copy/replace the on times into the pulseIR(...) function, and the off times into the delayMicroseconds(...) function. You must maintain the order from your excel spreadsheet.

For clarification purposes,
If the ir dump program outputs the following for the up arrow:
34, 74
32, 158
32, 61

then the code would look like:
void chanUP()
{
pulseIR(340);
delayMicroseconds(740);
pulseIR(320);
delayMicroseconds(1580);
pulseIR(320);
delayMicroseconds(610);
}

About

Arduino IR Remote Controll with Web Interface (for comcast DTA STB)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%