【正文】
n, to count the pulse Angle, will count value pared with preset value, can determine moments, attain the precise automatically stops the purpose. USES AT89C51 as main control chip, bining to foreign pulse count ISD4004 output voice pronunciation chip. System consists of pulse detection, pulse count, CPU control and control signals, pronunciation chip, output indicator light ponent. About AT89C51 chip: AT89C51 it mainly consists of for the following parts: 1 eight central processing unit (CPU), piece you in memory, the pieces (Flash RAM, 4 of 8 bits twoway addressable I/O port, 1 fullduplex UART (general asynchronous receiver transmitter) serial interface, 2 16 timer/counters, multiple priority nested interrupt structure, and a piece inside oscillator and clock circuit. In AT89C51 structure, the most striking characteristics of internal contains Flash memory is, while in other aspects of the structure of the Intel corporation, the and the structure of the 8051 no much difference. Main performance: 1. With MCS 51 patible 2. 4K bytes programmable flashing memory Life expectancy: 1000 times to write/wipe cycle Data retention time: 10 years 3. All the static job: 0Hz 24Hz 4. Tertiary program memory lock 5. 128 * 8 bits inside 6. 32 programmable I/O lines 7. Two 16 timers, counter 8. Five interrupt source 9. Programmable serial channels 10. Slice clock circuit oscillator and within The design of pulse detection circuit: The design of the key is that the rotor turn lap count, considering the vehicles will be running in a plex environment, and the hall pos are resistant to vibrate, afraid of dust, grease, water vapor and salt fog the advantages of the pollution or corrosion, so adopt reliable hall element DN6848 as signal acquisition device, again by photoelectric couplers 4N25 input to microcontroller. Photoelectri