Abstract
In today's society under the pattern of rapid development, more and more on the lines of products and various business settings need to automatically count. MCU-based products pose a direct and automatic counters have the advantage of accurate count, is already in the Species commonly used in industry. The digital electronic counter trigger a number of counts, it is from the actual conditions of use and environmental decisions. The use of a mechanical contact the trigger, use electronic sensors to trigger the non-contact, infrared sensors is one of them, it is a non-contact electronic sensors. Using infrared sensors produced by electronic counters. This paper is designed to counter the use of infra-red shading, anti-interference and good, high reliability. The product of extensive and can be used to measure the product lines and the number of defects can check whether products; can also be used to measure the hotels, restaurants, shopping malls, supermarkets, museums, exhibition concept, railway stations, docks, banks and other places of the number of staff The number of staff and circulation, while in no way infringe upon the privacy of individuals tested staff. The circuit's guiding ideology is to use infrared LED fired infrared, infrared receiver of receiving the infrared, and enlarge, a rectifier HIGH signal. When Ren Huo wu blocking the infrared light, not receiving the infrared signal to the receiver, amplifier output will be low, at the same time, the MCU-level signals into the control count, and the drive circuit to decode The numerical digital display. This will be the Ren huo Wu statistics to the number. Key words: automatic counting, infrared detection, SCM, decoding.