Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 9th May 2008, 08:56 PM   (permalink)
Default How to make a tachometer

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
timoteo_mendes is offline  
Old 10th May 2008, 01:05 AM   (permalink)
Default

This question is asked very frequently. Checkout the may examples of tachs on the web. Start breading the circuits and play with the code. Then if you have question come back and ask.
3v0 is offline  
Old 14th May 2008, 08:25 PM   (permalink)
Default

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.
__________________
www.ps3toothfairy.com -- Full IR control for your PS3
crust is offline  
Old 15th May 2008, 01:46 AM   (permalink)
Default

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.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."
Sceadwian is offline  
Old 15th May 2008, 07:01 AM   (permalink)
Default

http://www.geocities.com/ilufa/DST_E.htm
__________________
Gayan

My Website
http://gsmicro.blogspot.com/
Gayan Soyza is online now  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Need help to make simple scoreboard with LEDs rydad Electronic Projects Design/Ideas/Reviews 10 14th April 2008 09:45 AM
How to make a 12 hour clock IlordrossI Electronic Projects Design/Ideas/Reviews 13 27th June 2007 01:11 AM
Car Adapter for Laptop-How to make? Bill_activist Electronic Projects Design/Ideas/Reviews 4 1st April 2005 08:37 AM
ps/2 keyboard to usb adapter, how to make bd13 Electronic Projects Design/Ideas/Reviews 3 7th October 2004 09:53 AM
Merkle-Korff motor and tachometer andrey8 Datasheet/Parts Requests 5 11th November 2003 03:39 AM



All times are GMT. The time now is 03:44 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker