With the rapid development of science and technology, optoelectronic devices are increasingly being used in usability and security in order to improve the vehicle in the car. Vehicle camera is one of the most representative devices, which is widely used in the reversing image, driving record, parking assist system.This paper introduces a design of on-board camera automatic focusing and positioning control system based on AVR.The hardware circuit of vehicle camera automatic focusing and positioning control system is designed by using AVRmegal6microcontroller, THB7128stepping motor driver.The man-machine dialogue interface is designed by using C language as the programming language, and it gets multi-channel data acquisition computer to realize the precise control of vehicle camera table locations. And it uses a hill-climbing searching algorithm as automatic focusing system searching algorithm, to realize the automatic focusing camera. |