Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

Sending Samsung TV RAW IR-codes

$
0
0

Hello, 

I have studied these two manuals for the arduino and I have tried to implement this with the msp430g2533.
 

http://as3breeze.com/arduino-sending-samsung-ir-codes/

 

http://arduinostuff.blogspot.de/2011/06/samsung-remote-ir-codes.html

 

I have similar codes dumped with irrecvdump demo.

 

 

In IRremote.cpp i commented this out:

 

  //pinMode(TIMER_PWM_PIN, OUTPUT);
 //digitalWrite(TIMER_PWM_PIN, LOW); // When not sending PWM, we want it low
 
IR-LED PIN ist connected to P2_3 and GND.
 
/*
 * IRremote: IRsendDemo - demonstrates sending IR codes with IRsend
 * An IR LED must be connected to Arduino PWM pin 3.
 * Version 0.1 July, 2009
 * Copyright 2009 Ken Shirriff
 * http://arcfn.com
 */

#include <IRremote.h>

unsigned int powerOn[68] = {4500, 4500, 600, 1600, 600, 1650, 600, 500, 650, 500, 550, 550, 600, 500, 600, 1650, 600, 500, 600, 1650, 600, 1650, 600, 500, 600, 500, 600, 1650, 600, 500, 600, 1650, 600, 500, 600, 1650, 600, 500, 600, 550, 550, 550, 600, 500, 600, 550, 600, 500, 600, 500, 600, 550, 600, 1600, 600, 1650, 550, 1650, 600, 1650, 600, 1650, 550, 1650, 650, 1600, 600};

IRsend irsend;

void setup()
{
  Serial.begin(9600);
}

void loop() {
   
  irsend.sendRaw(powerOn,68,38);
  digitalWrite(11, LOW); //sometimes IR LED stays on??
        delay(4000);
       // irsend.sendRaw(powerOn,68,38);
       
}

The IR LED is flashing but it is not recognized by the TV,

What is going wrong?

 

Has anyone got a hint?

 

 

Edit:

 

Added Datasheet for IR-LED LD217

 

How should this be wired correctly? Do i need a transistor?

Attached Files


Viewing all articles
Browse latest Browse all 2077

Trending Articles