Menu

Simple ESP32CE-DEV IR remote HELP!

#arduino#redditarduino#include#serial#println
Reading 0:00
15s threshold

I have an old LG CRT TV i want to create a custom remote for, simply to turn the TV on/off and switch to AV using a single button.

I purchased a ESP32C3-DEV board, with some cheap IR Modules wired up like this:

ESP32 (GPIO 7) -> IR TRANSMITTER (DAT)

ESP32 (5V) -> IR TRANSMITTER (VCC)

ESP32 (GND) -> IR TRANSMITTER (GND)

In combination with this sketch:

#include <IRremote.hpp> const int IR_SEND_PIN = 8; void setup() { Serial.begin(115200); IrSender.begin(IR_SEND_PIN); Serial.println("LG TV IR test starting..."); delay(2000); // LG power toggle Serial.println("Sending LG power command..."); IrSender.sendLG(0x04, 0x08, 0); delay(2000); // LG TV/AV input selection Serial.println("Sending LG TV/AV command..."); IrSender.sendLG(0x04, 0x0B, 0); Serial.println("Test complete."); } void loop() { }

Which didnt work.

I then used a IR receiver to capture the power signal of my sony sound systems remote, to try emulate something i know works:

#include <IRremote.hpp> const uint8_t IR_SEND_PIN = 7; unsigned long…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.