micropython_ir icon indicating copy to clipboard operation
micropython_ir copied to clipboard

Transmitting RC5 encoded IR signal with RPI pico

Open EagleZodiac007 opened this issue 3 years ago • 4 comments

In transmitter.md you have mentioned about two push buttons. Is that each of them is for sending different signal? How should we connect it? I have a requirement of waking up the philips tv from standby, how can i achieve that?what is the value i supposed to transmit? Sorry if it is a basic thing if i'm asking. I'm relatively new to this field. Please let me know if you can help

EagleZodiac007 avatar May 20 '22 09:05 EagleZodiac007

You need to make a receiver as per the docs. Press the "wake up" button on the remote. You will then know the code necessary for the transmitter.

peterhinch avatar May 20 '22 17:05 peterhinch

Hi Peter, I see that, b.append is the function where we add the signal we wanted to encode. My doubt is what is address and data in that function?If i want to send a key code like 0x006c should i update which variable addr or data?

Another doubt is about hardware of transmitter, Is IR LED should be powered with external voltage source or I can power up it by using connecting pico VSYS pin output to IR LED is Anode>? is that sufficient to trigger the signal?

EagleZodiac007 avatar May 23 '22 07:05 EagleZodiac007

Please see the Wikipedia article on RC5. Commands comprise an address and data.

I suggest you use one of the circuits in my doc. Microcontroller pins are not capable of supplying the current that the IR LED requires.

peterhinch avatar May 23 '22 07:05 peterhinch

Hi Peter, I have tried everything as you mentioned in the document. But the signal is generated in IR LED. I have checked the signal coming from gpio pin in Oscilloscope. I was expecting RC6 encoded signal but it's not generated.

EagleZodiac007 avatar May 28 '22 07:05 EagleZodiac007