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
 
Thread Tools Display Modes
Old 9th May 2008, 07:56 PM   (permalink)
New Member
timoteo_mendes is on a distinguished road
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   Reply With Quote
Old 10th May 2008, 12:05 AM   (permalink)
3v0
Moderator
 
Blog Entries: 3
3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold
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   Reply With Quote
Old 14th May 2008, 07:25 PM   (permalink)
Experienced Member
crust has a spectacular aura about
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   Reply With Quote
Old 15th May 2008, 12:46 AM   (permalink)
Experienced Member
 
Blog Entries: 1
Sceadwian is a glorious beacon of lightSceadwian is a glorious beacon of lightSceadwian is a glorious beacon of lightSceadwian is a glorious beacon of light
Send a message via AIM to Sceadwian Send a message via Yahoo to Sceadwian
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.
__________________
Curiosity killed the cat; That's why they have nine lives.

Sceadwian is online now   Reply With Quote
Old 15th May 2008, 06:00 AM   (permalink)
Experienced Member
 
Blog Entries: 1
Gayan Soyza is a glorious beacon of lightGayan Soyza is a glorious beacon of lightGayan Soyza is a glorious beacon of lightGayan Soyza is a glorious beacon of lightGayan Soyza is a glorious beacon of light
Default

http://www.geocities.com/ilufa/DST_E.htm
__________________
Gayan
Forum Supporter
Gayan Soyza is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
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



All times are GMT. The time now is 04:18 AM.


Electronic Circuits  |  Radio Controlled
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.