osoloco3
Newbie
Greetings :
I turn to you in order to see if you can advise me on the implementation of a circuit with PIC. I have done small projects, but in this circuit I would like some guidance on how to create the program:
The case is as follows:
I require that a PIC simultaneously generate 2 pulse signals of different frequencies (example 1khz and 2khz) and these go to infrared emitters and at the same time the same PIC in other 2 pins has 2 infrared receivers that receive it, in such a way that If one of the signals is interrupted, tell me which of the 2 it was. It is mandatory that the frequencies be different.
I thought about using PIC with 2 PWM modules to generate the frequencies but the idea of monitoring them simultaneously is a bit complicated for me.
Also, I don't know if you could do the same with smaller PICs without using PWM.
Thanks in advance to anyone who could help me
A big greeting !!
I turn to you in order to see if you can advise me on the implementation of a circuit with PIC. I have done small projects, but in this circuit I would like some guidance on how to create the program:
The case is as follows:
I require that a PIC simultaneously generate 2 pulse signals of different frequencies (example 1khz and 2khz) and these go to infrared emitters and at the same time the same PIC in other 2 pins has 2 infrared receivers that receive it, in such a way that If one of the signals is interrupted, tell me which of the 2 it was. It is mandatory that the frequencies be different.
I thought about using PIC with 2 PWM modules to generate the frequencies but the idea of monitoring them simultaneously is a bit complicated for me.
Also, I don't know if you could do the same with smaller PICs without using PWM.
Thanks in advance to anyone who could help me
A big greeting !!