Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

How to make a tachometer

Status
Not open for further replies.

timoteo_mendes

New Member
hello,

I am tring to make my on tachometer using a pic 16f628 with internal oscillator and a lcd display.
until now i could put the text for speed in the first line and in the second with rb3 i put a count of the pulses i have...
I know there are lots of way to resolve the same problem, here i would like to know a sugestion how to resolve this.
basicaly what i need is to count the number of pulses in rb3 divide that value by the sample time and multiply by 60 to have it in rpm.
I can use CCP or timers with interrupt is true? the problem is that i don't know how to do it...
any help or sugestion is well came.

Thanks
Tim
 
Also take a look at "frequency counters" as they are pretty much the same except in RPM, they are reading in cycles/second. Multiply by 60 to get cycles/minute.
 
The internal oscillator isn't going to give you very accurate results. Frequency counters should run off a decent voltage regulator and a crystal oscilator.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top