Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 11, 2016, 01:14:48 01:14


Login with username, password and session length


Pages: [1]
Print
Author Topic: Tachometer  (Read 4120 times)
0 Members and 1 Guest are viewing this topic.
Pmoshbr
Guest
« on: February 15, 2006, 08:07:38 20:07 »

Somebody can help me!!!
I need a help to build a tachometer with PIC 16F877 using a CCP port, and a square wave frequency is what will determinate the RPM.
i am using th ccs pcwh as programmer.
 
SOrry about my english.:rolleyes: .. i'm a brazilian guy, so if the anwser be in portuguese i will prefer...
 
thanks
   Philip
Logged
kcid
Guest
« Reply #1 on: February 21, 2006, 01:02:51 13:02 »

Hello,

  You can use the Ext Int (rb0) and timer1 to catch the time between pulses, then you have the period for calculate the frequency or rpm.

  I’m by my English, I’m Ecuadorian.
Logged
Faros
Senior Member
****
Offline Offline

Posts: 253

Thank You
-Given: 125
-Receive: 178


« Reply #2 on: February 22, 2006, 11:50:11 11:50 »

Try this link from Microchip

http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1999&ty=&dty=§ion=&NextRow=&ssUserText=tachometer

you find good app_notes on motor control in general, try AN894 in particlar
Logged
ph_cabral
Guest
« Reply #3 on: February 05, 2008, 04:37:54 16:37 »

Ola,

Philip, I am also of Brazil, please send me an email, and perhaps can help you because ja develop a Tachometer before, then I will post the code here too.

Excuse me, my English too
Logged
Bugman
Guest
« Reply #4 on: April 12, 2008, 12:28:41 12:28 »

look at:
        http://www.piclist.com/techref/microchip/tacho.htm

       

Posted on: April 12, 2008, 12:17:37 12:17 - Automerged

you can also get an interesting project at:
          http://homepages.nildram.co.uk/%7Estarbug/files/revcount.zip
hop it will help you.
Logged
Kloswiski
Guest
« Reply #5 on: April 13, 2008, 05:32:22 05:32 »

There is an example already in picc folder of your computer. please check out. it may not be exactly what you wanted but it'll give a kick start.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC