Hakachukai
New Member
Hi.
How do I set up a 16F628A to measure the pulse width of a digital signal between 0 and 20khz, and then output the measurement in Hz, or some other useful format? I need it to work in real time, so it must be able to measure them very quickly (around 100 time per second would be nice). Also, I would like to run on the internal oscilator (I want to use the least amount of componets possible)
I'm new to PIC's, but I understand the concept.
I've done x86 assembly, and C programming. Have basic electronics knowlege.
I just dont' know how to use this PIC (I have read some tutorials).
Thanks in advance for your help.
PS. I've Googled for a while now, and haven't found anything that seemed helpful.
How do I set up a 16F628A to measure the pulse width of a digital signal between 0 and 20khz, and then output the measurement in Hz, or some other useful format? I need it to work in real time, so it must be able to measure them very quickly (around 100 time per second would be nice). Also, I would like to run on the internal oscilator (I want to use the least amount of componets possible)
I'm new to PIC's, but I understand the concept.
I've done x86 assembly, and C programming. Have basic electronics knowlege.
I just dont' know how to use this PIC (I have read some tutorials).
Thanks in advance for your help.
PS. I've Googled for a while now, and haven't found anything that seemed helpful.