Modulo Ky-022 Sensor Receptor Infrarrojo Ir Pic

For general Flowcode discussion that does not belong in the other sections.
ELECTRONICA67
Posts: 181
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 31 times
Been thanked: 9 times

Flowcode v11 Modulo Ky-022 Sensor Receptor Infrarrojo Ir Pic

Post by ELECTRONICA67 »

Hello, :)

Una duda antes de comprar estos modulos Ky-022 Sensor Receptor Infrarrojo Ir Pic, funcionan a 38 khz con un pulse time de 940, veo en propiedades del componente RC5 que se puede cambiar la frecuencia de 36 khz a 38 khz y el pulse time tambien puede cambiarse a 940, busque en el Foro el modulo pero no hay informacion, alguien me podria informar para saber si puedo comprar estos modulos con la confiansa de que los acepte Flowcode 10 o Flowcode 11 para programarse correctamente :?:

Thanks
Best Regards
Enrique

mnfisher
Valued Contributor
Posts: 2074
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 162 times
Been thanked: 958 times

Re: Modulo Ky-022 Sensor Receptor Infrarrojo Ir Pic

Post by mnfisher »

I'm sure it should be possible to get it to work - it just outputs pulses - and rc5 (and other IR remote) format is fairly easy to decide..

See viewtopic.php?t=1120&hilit=Rc5 for a discussion...

Martin

ELECTRONICA67
Posts: 181
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 31 times
Been thanked: 9 times

Flowcode v11 Re: Modulo Ky-022 Sensor Receptor Infrarrojo Ir Pic

Post by ELECTRONICA67 »

Hello Martin,

Por lo visto las propiedades del componente han cambiado del 2020 a 2026, si se puede cambiar las propiedades, pero si funcionara para comprar unas cuantos modulos :?:

Enrique
Aprecio tu comentario
Attachments
Screenshot 2026-07-10 014006.png
Screenshot 2026-07-10 014006.png (151.76 KiB) Viewed 212 times

mnfisher
Valued Contributor
Posts: 2074
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 162 times
Been thanked: 958 times

Re: Modulo Ky-022 Sensor Receptor Infrarrojo Ir Pic

Post by mnfisher »

I've not tested the new version...

I'm not sure how the IR frequency affects the results - as long as the sensor is correct (maybe some are tunable?)

Worth a try?

ELECTRONICA67
Posts: 181
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 31 times
Been thanked: 9 times

Flowcode v11 Re: Modulo Ky-022 Sensor Receptor Infrarrojo Ir Pic

Post by ELECTRONICA67 »

Hi,

Okay, thanks. I think I'll order 10 pieces. The taxes are more expensive than the component itself :lol: but I'll see if it's compatible with Flowcode 10 or Flowcode 11. I don't have the knowledge to create the component myself. (And it takes 10 days to arrive) :cry:

P.D. Medelec, Ben, hello, I think you're busy, but do you, as the creators of Flowcode 10 and 11, know if the component can be adjusted in the program's properties :?:

Regards
Enrique

ELECTRONICA67
Posts: 181
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 31 times
Been thanked: 9 times

Flowcode v11 Re: Modulo Ky-022 Sensor Receptor Infrarrojo Ir Pic

Post by ELECTRONICA67 »

Hello

I started programming TX for now, but when I compile it, I get an error. It shows the same thing in Flowcode 10 and Flowcode 11.

I selected the three timers (Timer0, Timer1, and Timer2) in the properties, and I didn't change the original frequency or pulse time.

I think it's a bug.

Enrique
Thanks
Attachments
Screenshot2 2026-07-10 142548.png
Screenshot2 2026-07-10 142548.png (178.36 KiB) Viewed 120 times
Screenshot 2026-07-10 142106.png
Screenshot 2026-07-10 142106.png (151.72 KiB) Viewed 120 times

ELECTRONICA67
Posts: 181
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 31 times
Been thanked: 9 times

Re: Modulo Ky-022 Sensor Receptor Infrarrojo Ir Pic

Post by ELECTRONICA67 »

Hello

I swapped the chip to the PIC16F1847 and it compiled fine. Then I switched back to the PIC12F1840 and the error was fixed; it compiled correctly. It only displayed a warning.
Attachments
Screenshot3 2026-07-10 145448.png
Screenshot3 2026-07-10 145448.png (92.59 KiB) Viewed 115 times

ELECTRONICA67
Posts: 181
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 31 times
Been thanked: 9 times

Flowcode v10 Re: Modulo Ky-022 Sensor Receptor Infrarrojo Ir Pic

Post by ELECTRONICA67 »

Hi

I apologize, it might seem like I'm just playing around, but I'm not. I took the published example and made some changes, and it compiles correctly, with two warnings, but it finishes compiling. Now, in a program I've put together, I added the RC5 component, and it again shows an error when compiling. This is the message it displays. Could you check it to see if it's a bug in Flowcode 10 or if I've made a mistake :?:

Enrique
Attachments
Screenshot 2026-07-10 214749.png
Screenshot 2026-07-10 214749.png (214.84 KiB) Viewed 77 times

ELECTRONICA67
Posts: 181
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 31 times
Been thanked: 9 times

Re: Modulo Ky-022 Sensor Receptor Infrarrojo Ir Pic

Post by ELECTRONICA67 »

This is the rest of the compilation error.
Attachments
Screenshot2 2026-07-10 215138.png
Screenshot2 2026-07-10 215138.png (188.61 KiB) Viewed 77 times

mnfisher
Valued Contributor
Posts: 2074
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 162 times
Been thanked: 958 times

Re: Modulo Ky-022 Sensor Receptor Infrarrojo Ir Pic

Post by mnfisher »

Please could you attach your flowchart - saves us re-entering it..

If you use 'full editor and preview ' attachments are just below the edit box (or you can drag and drop the file onto the edit box)

Martin

Post Reply