measureing time of travel
I am working on a project and I am using Boe Bot robot and basic stamp Micrcntroller
I·want to use ·Whiskers to measure the time the robot has travelled without hitting an obsticle·.
And I am ·thinking·how to write the code·...
I want to avoid relying on a for lop counter to measure the time.
So I thought of using the methode COUNT
I appreciate any help or suggessions
Thanx
Post Edited (Jeena99) : 11/22/2009 8:13:57 AM GMT
I·want to use ·Whiskers to measure the time the robot has travelled without hitting an obsticle·.
And I am ·thinking·how to write the code·...
I want to avoid relying on a for lop counter to measure the time.
So I thought of using the methode COUNT
I appreciate any help or suggessions
Thanx
Post Edited (Jeena99) : 11/22/2009 8:13:57 AM GMT
Comments
If/when the BoE-bot encounters an obstacle it could then read the time and then compare to that of the·previous obstacle/event.
Post Edit -- You could (??) increment a variable (Word)·each time you pass through a servo refresh routine, but that would have a top-end limitation (appx 20 min.)· Still, not real exacting.
Post Edited (PJ Allen) : 11/25/2009 10:04:49 PM GMT
Hook the output of the 555 circuit up to an input pin, then:
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
1uffakind.com/robots/povBitMapBuilder.php
1uffakind.com/robots/resistorLadder.php
What you`ve said is really helpful
Jeena