Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 29, 2024, 09:07:35 09:07


Login with username, password and session length


Pages: [1]
Print
Author Topic: Tachometer  (Read 8132 times)
0 Members and 1 Guest are viewing this topic.
Pmoshbr
Guest
« on: February 15, 2006, 07:07:38 19: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, 12:02:51 12: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: 254

Thank You
-Given: 141
-Receive: 178


« Reply #2 on: February 22, 2006, 10:50:11 10: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, 03:37:54 15: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, 11:28:41 11: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, 04:32:22 04: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