The invention discloses a camera module and electronic equipment, and belongs to the technical field of communication equipment, the camera module comprises a module shell, a lens assembly, a circuit board assembly and a driving mechanism; the module shell is provided with an inner cavity; at least part of the lens assembly is located in the inner cavity and is fixedly connected with the module shell; the circuit board assembly comprises a circuit board, a photosensitive chip and a USB data transmission controller, the photosensitive chip, the USB data transmission controller and part of the circuit board are all located in the inner cavity, the photosensitive chip is located on the surface of the side, facing the lens assembly, of the circuit board and electrically connected with the circuit board, the photosensitive chip and the lens assembly are oppositely arranged, the USB data transmission controller is arranged on the circuit board, and the control module is electrically connected with the circuit board; the driving mechanism is located in the inner cavity, the driving mechanism is connected with the circuit board, the driving mechanism drives the photosensitive chip to move along a first plane through the circuit board, and the first plane intersects with the optical axis of the lens assembly. According to the scheme, the problem that the shooting performance of the electronic equipment is poor can be solved.