Design of track timer for laboratory based on MCU

2021 
To ensure the fairness of the smart car competition, conveniently and accurately record the time it takes for the smart car to run a lap, a smart car track timer for the laboratory is designed. Through laser detection, when the vehicle passes, the wheels block the light signal of the laser, which causes the laser receiving tube to generate a low-level signal when it is received. The single-chip computer scans the program through the interface to identify the signal, and the single-chip starts the internal timer 0. So it starts to count, and reloads the initial value in the overflow interrupt of timer 0. And the time displayed on the digital tube is changed to record the time it takes for the car to drive one lap on the runway. In addition, there is an independent module on the upper computer. When the single-chip microcomputer reads the effective falling edge signal, it can record the number. The traffic volume has important practical significance.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []