Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Fletcher said:I have a fan which pulses twice per revolution feeding into the interrupt pin of a 16f877. I work out the rpm using timer1 to count between each pulse. Is it possible to display the real rpm on an lcd display using that method? Or do i have to count pulses?
Fletcher said:Is it possible to display the real rpm on an lcd display using that method? Or do i have to count pulses?
Fletcher said:Ok, sounds promising. I may need some help though.
Currently i have a hex value like #1A7C, converted to decimal - 6780, divide by 0.4us = 16950, divided by 100000 = 0.01695 seconds, inverted = 58.99 * 60 = 3539rpm
Im not sure how to handle small numbers using assembly code.
Fletcher said:Ok, sounds promising. I may need some help though.
Currently i have a hex value like #1A7C, converted to decimal - 6780, divide by 0.4us = 16950, divided by 100000 = 0.01695 seconds, inverted = 58.99 * 60 = 3539rpm
Im not sure how to handle small numbers using assembly code.