Go Back   PICAXE Forum > Finished User PICAXE Projects > User Projects - Miscellaneous
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Links: PICAXE Website PICAXE Manual Datasheets Online Store Software & Drivers

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 04-06-2010, 14:36   #4
hippy
Technical Support
 
Join Date: Jan 1970
Location: UK
Posts: 13,539
Default

There are a number of other projects which have dealt with measuring speed as an object passes between two points. A Forum Search will help there, with one thread I could find which will be useful being -

http://www.picaxeforum.co.uk/showthread.php?t=4863

In my code you don't have to really worry about turning the timer on and off, it's more a counter of pulses which only occur when the clock signal is routed through to the timer acting as a counter. You'd use the two timing points to make the connection and then break it, the count during that time is then used to determine the speed.

I am not sure the code will simulate well as it relies on the physical hardware of the chip which the simulator cannot emulate.
hippy is offline   Reply With Quote
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:05.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
(c) Revolution Education Ltd 2007