Page 1 of 4
Modulo Ky-022 Sensor Receptor Infrarrojo Ir Pic
Posted: Fri Jul 10, 2026 7:57 am
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
Re: Modulo Ky-022 Sensor Receptor Infrarrojo Ir Pic
Posted: Fri Jul 10, 2026 8:12 am
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
Re: Modulo Ky-022 Sensor Receptor Infrarrojo Ir Pic
Posted: Fri Jul 10, 2026 8:45 am
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
Re: Modulo Ky-022 Sensor Receptor Infrarrojo Ir Pic
Posted: Fri Jul 10, 2026 11:20 am
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?
Re: Modulo Ky-022 Sensor Receptor Infrarrojo Ir Pic
Posted: Fri Jul 10, 2026 5:53 pm
by ELECTRONICA67
Hi,
Okay, thanks. I think I'll order 10 pieces. The taxes are more expensive than the component itself

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)
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
Re: Modulo Ky-022 Sensor Receptor Infrarrojo Ir Pic
Posted: Fri Jul 10, 2026 9:31 pm
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
Re: Modulo Ky-022 Sensor Receptor Infrarrojo Ir Pic
Posted: Fri Jul 10, 2026 9:56 pm
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.
Re: Modulo Ky-022 Sensor Receptor Infrarrojo Ir Pic
Posted: Sat Jul 11, 2026 4:50 am
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
Re: Modulo Ky-022 Sensor Receptor Infrarrojo Ir Pic
Posted: Sat Jul 11, 2026 4:53 am
by ELECTRONICA67
This is the rest of the compilation error.
Re: Modulo Ky-022 Sensor Receptor Infrarrojo Ir Pic
Posted: Sat Jul 11, 2026 6:48 am
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