A driving mechanism comprises a fixed housing, a movable housing on which an object to be driven is mounted and a driving motor which is operative to drive the movable housing to move linearly as well as to rotate relative to the fixed housing. The memory is configured to store digital values representative of operating conditions of the optoelectronic transceiver. A final image can be generated based on an initial image captured by each lens.