I am using a 10 bit A/D converter on a 16F877A. The input is from a voltage divider where one of the resistors is the sensing element. What I want to do is determine the dv/dt (frequency) across the sensor and use a set value to trigger an event. All of the examples I have come across have an external frequency source, my application is using the output from the A/D converter (0 t0 1024). I have some code (peak detector) to give me a count and I know this value must be divided by a time period to give me the frequency. Can someone steer me in the right direction?
Bookmarks