I have to decode an NEC protocol based IR signal as a part of my academic project. Im using PSoC 3.
Please enlighten me with the ideas of measuring the pulse width.
I have tried everything I could..Timer and Counter in various configurations. I'm new to PSoC, Please help me out..
Thanks in advance!!
Solved! Go to Solution.
Thanks for the link Bob
But im trying to measure pulse width between a falling edge and rising edge continuously and vice versa.
Should I use two counters and configure them separately?
You may do that. There are many different ways to get a solution. When you have a little bit more experience with PSoCs you will find your own balance between hardware components and software solutions. There are a bunch of videos about how to work with PSoCs.
yeah..but i am highly confused.fed up with the trials.Bob, could you please help me with the code?..To decode NEC protocol..using PSoC 3.
I will be very glad for the help.Thank you.
I am trying to implement the same protocol code on PSoC 5LP. Have you succeeded with this problem?
I have neither got a transmitter nor a receiver although I remember I did something like that in the good old PSoC1 times. I used a receiver with integrated amplifier, filter and output stage. Decoding is not too complicated, give it a try: program a PWM and connect its outputs to your discriminator. try to measure frequency and pulse width.