How to read PWM Signal without CCP timer.
Discussion in "Project Help" started by designAAA Jan 30, 2016.
Sat Jan 30 2016, 02:30 pm
Hello,
I am building the dotmatrix display, where I get the input through the 74hc165.
signals are A,B,C,D,E,F of 7segment and up & Down arrow.
the arrow input is sometime pulsating and some times continious.
when signal is pulsating the arrow must scrol when its continious the arrow must be standby, since I have used esternal capture pic of timer 2 for other pupose. my hardware is ready and i need to sense the Pulsating output with software code..
please help
I am building the dotmatrix display, where I get the input through the 74hc165.
signals are A,B,C,D,E,F of 7segment and up & Down arrow.
the arrow input is sometime pulsating and some times continious.
when signal is pulsating the arrow must scrol when its continious the arrow must be standby, since I have used esternal capture pic of timer 2 for other pupose. my hardware is ready and i need to sense the Pulsating output with software code..
please help
Sat Jan 30 2016, 03:33 pm
I have used to timer 2 external pin for other purpose.
I want to differentiate the inputs of arrow between pulsating (7Khz) and continious, How please help
I want to differentiate the inputs of arrow between pulsating (7Khz) and continious, How please help
Tue Feb 02 2016, 05:44 am
Which micro controller are you using ?.
Does it have any interrupt pins available ?.
Is the 7KHz signal a square wave ?.
One simple method is to connect the signal to a normal pin.
In the test routine note the level on the pin.
Wait for 80 micro seconds (for a square wave) or until it changes.
If the level changes in that time it must be pulsing.
I have to say, I don't understand why you are monitoring the display.
Does it have any interrupt pins available ?.
Is the 7KHz signal a square wave ?.
One simple method is to connect the signal to a normal pin.
In the test routine note the level on the pin.
Wait for 80 micro seconds (for a square wave) or until it changes.
If the level changes in that time it must be pulsing.
I have to say, I don't understand why you are monitoring the display.
Powered by e107 Forum System