Sounds like a neat little project...
Breaking a beam of light may work out kind slick...If the beam is low enough to be broke by the tires.
1. Beams would have to be same height.
2. Beams would have to be spaced a certain known distance apart.
When calculating, you will have to use some kind of timer, so that if the beam is broken by accident, it will not measure the speed between two cycles.... Or you can say
if (the second beam is broken) || (Timeout accures) goto reset
I would first see what kind of hardware you have to work with...If you can make a beam work... then PROVE it to yourself. Setup a "test situation" and do a mock test (It doesn't matter if it is accurate to the dots on this i). What matters, is the breaking of a beam, and what signal is given out, when the breaking occures. Then work on writing the software and using your PIC chip to work the data for you.
Dwayne
Ability to Fly:
Hurling yourself towards the ground, and missing.
Engineers that Contribute to flying:
Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute
Pilots that are Flying:
Those who know their limitations, and respect the green side of the grass...
Bookmarks