RC5

Any bugs you encounter with Flowcode should be discussed here.
ELECTRONICA67
Posts: 225
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 37 times
Been thanked: 10 times

Re: RC5

Post by ELECTRONICA67 »

Hi Martin,

When checking with a multimeter, there is no change upon applying the signal; in tests I have conducted, when a 36 kHz signal is applied to the carrier or base of the component, the component's voltage drops to zero momentarily and remains steady at approximately 4.5 V.

Saludos
Attachments
pic12f1840.jpeg
pic12f1840.jpeg (168.41 KiB) Viewed 101 times

ELECTRONICA67
Posts: 225
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 37 times
Been thanked: 10 times

Re: RC5

Post by ELECTRONICA67 »

The IR LED does emit a signal
Attachments
pic12f1840(1).jpeg
pic12f1840(1).jpeg (31.28 KiB) Viewed 97 times

ELECTRONICA67
Posts: 225
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 37 times
Been thanked: 10 times

Re: RC5

Post by ELECTRONICA67 »

Hi,

At least the TM1637 4-digit display is now working in Flowcode 10 (I tried the suggestion to copy the file into Flowcode 11, but it wouldn't let me—perhaps I did something wrong, but I'll keep trying). Now that I can read a command (number) on the display sent via RC5 transmission, I can run more reliable tests with RC5. I bought a small oscilloscope that arrives tomorrow, but I can start sending data and use an LED and the display to verify that the RC5 signal is being received.

Saludos

chipfryer27
Valued Contributor
Posts: 2079
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 458 times
Been thanked: 685 times

Re: RC5

Post by chipfryer27 »

Hi

Glad to hear you are making progress.

You may need administrator privileges to copy the file. Worth trying.

Regards

medelec35
Valued Contributor
Posts: 2361
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 742 times
Been thanked: 799 times

Re: RC5

Post by medelec35 »

ELECTRONICA67 wrote:
Tue Aug 18, 2026 5:49 pm
I tried the suggestion to copy the file into Flowcode 11, but it wouldn't let me—perhaps I did something wrong, but I'll keep trying
What about placing component in a new folder.
You can set up Flowcode to access it by reading this Wiki page.
I have also given advice here about it.
When I get a chance, I will test the RC5 component.
Martin

medelec35
Valued Contributor
Posts: 2361
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 742 times
Been thanked: 799 times

Re: RC5

Post by medelec35 »

Just tested RC5 component on Flowcode v11 and working for me.

Can you be 100% sure that the infrared transmitter is sending RC5 pulse train?
Mine is and the LCD on my Eblocks3 is showing what button on the RC5 remote was last pressed.

As you are using a DMM, the voltage will be VDD with no key pressed.
If you press and hold down the volume button for example.
If both transmitter and receiver are compatible, the voltage should drop by at least 1V
If there is an hardware issue the voltage remain steady at VDD.
When you use a scope or logic analyser, of course the voltages will vary from 0 to VDD as they will be a train of pulses.
Martin

ELECTRONICA67
Posts: 225
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 37 times
Been thanked: 10 times

Flowcode v10 Re: RC5

Post by ELECTRONICA67 »

Hi,

Okay, let me run a test to verify that we can send and receive data; I'll keep you updated on how it goes. Thanks.
For now, I'm going to run the test using Flowcode 10, since I managed to update the TM1637 4-Digit component there; I still can't update the display in Flowcode 11.

ELECTRONICA67
Posts: 225
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 37 times
Been thanked: 10 times

Flowcode v11 Re: RC5

Post by ELECTRONICA67 »

Hi,

I tested this using Flowcode 11 and connected a display from an earlier version. I am attaching the TX and RX flowcharts. For the RX side, I started by setting the display to show "12," then entered a loop that checks pin RC5 and turns on LED A2 to indicate that the RX check is active; if data is received, it should be shown on the 4-digit TM1637 display. There might be an error in the flowcharts; LED A2 does not light up, and while the display shows "12" at startup, it does not show the received data.

I am also attaching the TX file, which sends the number 55 as data; like the RX side, it might contain a flowchart error. Observing it with a mobile phone camera shows that the IR LED is indeed transmitting a signal.

In Flowcode 10, the TM1637 display issue was fixed, but the digit does not turn off.

I have not yet replaced the TM1637 4-digit component in Flowcode 11.

Thanks
Enrique
Attachments
TX_RC5.fcfx
(9.76 KiB) Downloaded 3 times
DISPLAY_RC5.fcfx
(34.44 KiB) Downloaded 4 times

ELECTRONICA67
Posts: 225
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 37 times
Been thanked: 10 times

Re: RC5

Post by ELECTRONICA67 »

Test Display and RC5
Attachments
Test_TX.jpeg
Test_TX.jpeg (58.43 KiB) Viewed 28 times
Test_Display_RC5.jpeg
Test_Display_RC5.jpeg (59.52 KiB) Viewed 28 times

ELECTRONICA67
Posts: 225
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 37 times
Been thanked: 10 times

Re: RC5

Post by ELECTRONICA67 »

Hi,

I got a small oscilloscope. The signal stays high when the IR transmitter button is pressed, and the signal varies when the RX receiver is not receiving a signal; however, when it *does* receive a signal, LED A2 does not light up (it fails to detect the RX signal), and the display shows no data.
Attachments
SIG1.jpeg
SIG1.jpeg (127.83 KiB) Viewed 26 times
SIG2.jpeg
SIG2.jpeg (122.31 KiB) Viewed 26 times

Post Reply