IR transmition forTV is not recognized by the signal receiver

The TV is not recognized by the signal receiver
The transmitter does not control any device, whether TV, air conditioner, or any other devices

i connect ir transmition in pin 3 and middel in vcc and last in GND

my code is :#include <IRremote.h>
#include <LCD.h>
#include <LiquidCrystal_I2C.h>
// Power ON/OFF
const unsigned int S_pwr[67]={4600,4350,700,1550,650,1550,650,1600,650,450,650,450,650,450,650,450,700,400,700,1550,650,1550,650,1600,650,450,650,450,650,450,700,450,650,450,650,450,650,1550,700,450,650,450,650,450,650,450,650,450,700,400,650,1600,650,450,650,1550,650,1600,650,1550,650,1550,700,1550,650,1550,650};
#define BACKLIGHT_PIN 3
#define I2C_ADDR 0x27
#define En_pin 2
#define Rw_pin 1
#define Rs_pin 0
#define D4_pin 4
#define D5_pin 5
#define D6_pin 6
#define D7_pin 7
LiquidCrystal_I2C lcd(I2C_ADDR,En_pin,Rw_pin,Rs_pin,D4_pin,D5_pin,D6_pin,D7_pin);
IRsend irsend;
void setup() {
Serial.begin(9600);
lcd.setBacklightPin(BACKLIGHT_PIN,POSITIVE);
lcd.setBacklight(HIGH);
lcd.home ();
lcd.begin(16, 2); // start the library
lcd.setCursor(0,0); // Col, Row
lcd.print("IRCracker 2.0");
delay(2000);
lcd.clear();
pinMode(3, OUTPUT);
}

void loop() {
lcd.setCursor(0,0);
irsend.sendSAMSUNG(0xE0E0A05F,32);
lcd.print("samsung tv off");
delay(50000);
lcd.clear();
}

i use irsend.sendRaw(S_pwr,68,38) put also not work

can give me any solution

Welcome to the forums. Please read this: How to get the best out of this forum - Using Arduino / Installation & Troubleshooting - Arduino Forum
and edit your post so your code is within code tags.

Also, request a moderator to move your post to a more appropriate forum such as Programming Questions

That code may or may not work for your TV.
When I made my remote control I added an IR receiver so I could learn commands from any remote control and repeat them with mine.

Can you put the code here so that I can find out the solution, I put the receiver and sender together so that it will be recognized automatically but the code did not work

Start with learning how to record incoming IR codes:

This is the path I took to begin with as well. There's a lot more than just code on that page.

Your post was MOVED to its current location as it is more suitable.

I understood reception and made a device and it succeeded in receiving and knowing hexa numbers
But the transmitter put the code, it does not recognize the Samsung TV, although all the connections are correct, maybe the codes are wrong
I want a radical solution to the problem

Can't give a solution without knowing the problem. There can be many reasons for "not work". Could be the wrong code. Could be the wrong protocol. Could be bad wiring. Could be a bad IR-LED.

If you look at the IR-LED through a webcam or cellphone camera, do you see it blink when it is supposed to be sending? If not, that would explain why it isn't sending.

Thanks for replay

I will reConnection IR led because not work

I think i have some mistakes in connection wire

I make connections wire new and get some signal for my led To ir receive sensor

Put ir transmission not go long space .i see tomorrow result