CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

CCP and speed sensor

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
karth
Guest







CCP and speed sensor
PostPosted: Tue Mar 04, 2003 9:15 am     Reply with quote

Anyone wrote any code to capture a speed sensor input?
___________________________
This message was ported from CCS's old forum
Original Post ID: 12327
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

Re: CCP and speed sensor
PostPosted: Tue Mar 04, 2003 1:24 pm     Reply with quote

:=Anyone wrote any code to capture a speed sensor input?
---------------------------------------------------------

You're probably looking for examples of tachometer projects.

This one, PicTacho, has sample code in CCS:
http://home.t-online.de/home/042073629-0001/homepage.htm

Edited to add:
The link above is dead. However, the Pictacho.zip files can be
downloaded from the link below. Look about half-way down this page:
http://www.rcgroups.com/forums/showthread.php?t=205136&page=4&pp=15


This one has source code in ASM:
http://www.rc-scale.com/anglais/_elec/project_tacho.html

The little 8x2 LCD is available from http://www.mouser.com
It's made by Hantronix.

Here is my method of extending Timer1 to 24 bits, which
allows you to use only one CCP pre-scaler for all RPM ranges.
http://www.ccsinfo.com/forum/viewtopic.php?t=906
___________________________
This message was ported from CCS's old forum

---------------
Edited to fix broken links.


Last edited by PCM programmer on Wed Feb 22, 2006 1:37 pm; edited 1 time in total
Guest








PostPosted: Tue Mar 02, 2004 6:01 pm     Reply with quote

I'm about to start.

It should be easy enough, using reed switches simply count the number of times the switch is turned on, then just do simple multiplications.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group