Sonsivri

Electronics => Pic C Languages => Topic started by: Pmoshbr on February 15, 2006, 07:07:38 19:07



Title: Tachometer
Post by: Pmoshbr 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


Title: Tachometer
Post by: kcid 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.


Title: Tachometer
Post by: Faros 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


Title: Re: Tachometer
Post by: ph_cabral 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


Title: Re: Tachometer
Post by: Bugman 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.


Title: Re: Tachometer
Post by: Kloswiski 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.