graphic to be displayed. LABEL in the SHOWPIC statement holds the line label where the graphic file is stored.
I would not have attempted this graphics-intensive
project with any other compiler. I have not found another
development platform in BASCOM’s price range that has
such a rich set of graphic tools and other features. Using
BASCOM-AVR put the fun back in programming.
Using the Timer/Counter
Ease of use was a design goal for the timer/counter
that was achieved with the use of a single pushbutton for
function control. Figure 3 shows the unit ready for action
with its simple layout. The timer/counter found its way
into a small plastic toolbox. The rugged design worked
well to keep the electronics safe from my not so careful
Research and Development Team (Figure 3).
To use the unit, you simply place the timer/counter in
a safe area near the racetrack, but not in the path of the
speeding cars. The sensor cable length used for this project was two feet. The timer/counter could be located further from the action with a longer sensor cable, but I have
not experimented with this. If a longer distance were needed, I would recommend a CAT5 type cable with its eight
wires tied together to form two conductors of four wires
each. The combined conductors will reduce wire resistance
while the CAT5 cable will lower interference problems.
The laser module is placed on the opposite side of
the track with its beam crossing it and focused on the
phototransistor. I typically used a distance of five feet
between the laser and sensor, but longer distances are
possible with higher quality lasers. The mounting method
of the sensor in the wooden block (Figure 4) makes the
alignment process easy by providing a positive target.
NUTS & VOLTS