I need littlehelp for my project

Good luck.

Yes, cuz

I already provide you everthing code, hand drawn concept schematic now i dont know what you want

Above code in beginning it works fine ok i just want to add simple serial to ir transmitter

In simple words, i want to make serial command ir remote

I will add input command and send side nec code

If you can tell me what can i do to make this its really helpful for me

  • I need the information requested, however, have you looked at this ?

Tell me what you need?

My other circuit working i dont help from that side

I need help to add things in that circuit

You need schematic of how arduino and tx ir connected and what you need more

  • See Post #19.

That’s a lot of faith in me! :slight_smile:
The other contributors in this thread are highly skilled - you should listen to them, they are trying to help.

Can you clarify why you need two different IR Tx ? It’s not because you have two different remotes that the underlying hardware is different. They use an IR led to send a specific code, using possibly a specific encoding. You need to identify the commands from each remote (the library has a sketch to capture raw codes) and then you just need to replay those codes (I think that the library has also code for this).

Use the code in post#8 to receive signal and post here what you get in serial monitor.

@LarryD @J-M-L

IR tx connected to D9 and D8

@J-M-L yes i want to use 2 IR tx cuz some remote hex are same in both devices like brighness selection in celing light and Speed selection in fan thats why i want to use 2 IR tx.

  1. For Sketch check Post# 1
  2. For Schematic Check Post# 28
  3. For How things work Check Post# 10

if you have any question please feel free to ask


Those switches will 'float" when not 'made' and either should have pulldowns or change the logic to active low !

The IRremote library pre-instantiate only one sender

Ideally you use only that sender object but you change the associated send pin based on which "remote" you want to control.

You could have a look at the question

to see how the code uses IRsend::setSendPin() (and possible issue on ESP32 and the solution)

Sorry i forget to mention in schematic