The Design and Realization of Tooth Code System Based on VC++ 6.0 and Access

This paper puts forward the function requirements of the tooth code system, and according to them describes a design that based on VC++ 6.0 and Access database. The system software can generate all the code combinations automatically according to the tooth stage head (the depth of the valleys on the key) and the number of teeth (number of the valleys) [1], and it also can remove the codes that you don't need by choosing corresponding conditions. At last, download these codes to the Nan flash on the lower computer and let the MCU control the motor to make keys according to the codes in the Nan flash. This paper lays emphasis on the introduction of the algorithm of the generation of tooth code, the way to operate ACCESS database by SQL language, the import and preservation of the codes, the method of download the codes.