RC5

Any bugs you encounter with Flowcode should be discussed here.
mnfisher
Valued Contributor
Posts: 2131
http://meble-kuchenne.info.pl
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 171 times
Been thanked: 983 times

Re: RC5

Post by mnfisher »

Just a IR LED on a tiny breakout board...

Something like

https://www.amazon.co.uk/Youmile-Digita ... YXRm&psc=1

medelec35
Valued Contributor
Posts: 2367
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 746 times
Been thanked: 808 times

Re: RC5

Post by medelec35 »

One thing that might or might not be useful
I could not find my RC5 remote and did not have to had a 36KHz IR TX parts or a standard RC5 remote.
I had two options use a universal remote that will have RC5 protocol or in my case I used my mobile phone that has an IR blaster.
Using a remote app, selected PhilTV2, it successfully controlled the RC5 RX module I have, and sent pressed numbers to LCD
Martin

chipfryer27
Valued Contributor
Posts: 2087
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 464 times
Been thanked: 694 times

Re: RC5

Post by chipfryer27 »

Hi

Do mobile phones still have infra-red ports?

In saying that I still have a laptop that controls a HP RF spectrum analyser that not only has IR but 25-pin DIN too :)

Regards

ELECTRONICA67
Posts: 232
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 40 times
Been thanked: 11 times

Re: RC5

Post by ELECTRONICA67 »

Hi,

I am using a PIC12F1840 programmed with Flowcode 11 via the RC5 TX component; the IR LED is rated at 100 mW, and I added a 2N3904 transistor to boost the LED's power. Actually, you don't have to use those specific IR receivers—any other type will work, provided it handles the decoding of the received data. If you have a working IR receiver that you've used successfully, I can adapt my setup to use that one instead. I chose those specific components simply because they are included in Flowcode, which makes programming easier.

Saludos

medelec35
Valued Contributor
Posts: 2367
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 746 times
Been thanked: 808 times

Re: RC5

Post by medelec35 »

Yep, I have Redmi Note 13 Pro.
I believe that mobile was rolled out in January 2024, so not that old.
Has its flaws, but useful if can't find tv remote. :lol:
Martin

chipfryer27
Valued Contributor
Posts: 2087
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 464 times
Been thanked: 694 times

Re: RC5

Post by chipfryer27 »

Hi

I'd be too tempted to take to the pub with me, innocently reading my emails or the like then changing channels during a sporting event or the like.... :twisted:

Regards

medelec35
Valued Contributor
Posts: 2367
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 746 times
Been thanked: 808 times

Re: RC5

Post by medelec35 »

I can't deny that happened, when the tv was too loud and I was playing pool with someone well known on these forums. :lol:
Martin

ELECTRONICA67
Posts: 232
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 40 times
Been thanked: 11 times

Re: RC5

Post by ELECTRONICA67 »

Hi,

As long as an encoded signal can be transmitted and received without reading errors... that’s excellent. It’s just a matter of being able to get them on Amazon, AliExpress, Alibaba, etc.; I’ve designed some PCBs and sent a few out for fabrication to test them.

Saludos
Attachments
PCB1.jpeg
PCB1.jpeg (46.76 KiB) Viewed 204 times

ELECTRONICA67
Posts: 232
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 40 times
Been thanked: 11 times

Flowcode v11 Re: RC5

Post by ELECTRONICA67 »

Hi, I'm like a kid with a new toy;

I found a transmitter and receiver in my Toy box—according to my checks—operate at 38 kHz. I displayed the signal received by the RX when pressing the "0" button on the screen. How can I get the PIC to decode the signal and identify that I'm sending a "0" with the TX :?:

The IR remote and 1838 receiver are inexpensive and very commonly used with Arduino.

I believe I noticed the encoding format was NEC (though I’m not entirely sure), but basically, there shouldn't be any errors in receiving and decoding the number.

Enrique
Attachments
CERO 0 BOTON
CERO 0 BOTON
Captura de pantalla 2026-08-19 220837.png (27.16 KiB) Viewed 170 times
1838.jpeg
1838.jpeg (35.98 KiB) Viewed 170 times

ELECTRONICA67
Posts: 232
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 40 times
Been thanked: 11 times

Flowcode v11 Re: RC5

Post by ELECTRONICA67 »

On this graph, I pressed the numbers 1, 2, and 3, and generated those pulse trains for each number.
Attachments
Captura de pantalla 2026-08-19 223518.png
Captura de pantalla 2026-08-19 223518.png (28.99 KiB) Viewed 181 times

Post Reply