![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
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 |
|
|
|
|
|
(permalink) |
|
Moderator
|
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.
__________________
search engine for electronic partsJunebug USB PIC programmer kit., USB Bit Wacker, Homepage The 15 Minute Printed Circuit Board! (+drill time) |
|
|
|
|
|
(permalink) |
|
Experienced Member
|
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 |
|
|
|
|
|
(permalink) |
|
Experienced Member
|
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.
__________________
Curiosity killed the cat; That's why they have nine lives.
|
|
|
|
|
|
(permalink) |
|
Experienced Member
|
__________________
Gayan Forum Supporter |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| Need help to make simple scoreboard with LEDs | rydad | Electronic Projects Design/Ideas/Reviews | 10 | 14th April 2008 08:45 AM |
| How to make a 12 hour clock | IlordrossI | Electronic Projects Design/Ideas/Reviews | 13 | 27th June 2007 12:11 AM |
| Car Adapter for Laptop-How to make? | Bill_activist | Electronic Projects Design/Ideas/Reviews | 4 | 1st April 2005 07:36 AM |
| ps/2 keyboard to usb adapter, how to make | bd13 | Electronic Projects Design/Ideas/Reviews | 3 | 7th October 2004 08:52 AM |
| Merkle-Korff motor and tachometer | andrey8 | Datasheet/Parts Requests | 5 | 11th November 2003 02:39 AM |