Method and device for controlling camera rotation
A camera and control module technology, applied in the field of control, can solve problems such as uncertainty, waste of power resources, loss of motor mechanical performance, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0061] figure 1 A first implementation flow of the method for controlling the rotation of a camera provided by Embodiment 1 of the present invention is shown; for the convenience of description, only the parts related to the present invention are shown.
[0062] In this embodiment, the method is applied to user equipment with a rotatable camera, including but not limited to mobile terminals such as mobile phones, tablet computers, and iPads. Wherein, in the rotatable camera, the camera is arranged on a rotatable device, and the rotatable device is located on the side of the mobile terminal; a magnet is arranged on the rotatable device, and the magnet deviates from the rotatable device The digital hall sensor is arranged on the main body of the mobile terminal, and is arranged opposite to the magnet, and is used to sense the change of the magnetic field caused by the rotation of the magnet with the rotatable device, so as to determine the current offset angle of the camera. f...
Embodiment 2
[0079] Figure 4 The specific implementation process of step S102 in the method for controlling the rotation of the camera provided in the second embodiment of the present invention is shown. For the convenience of description, only the parts related to the present invention are shown.
[0080] like Figure 4 As shown, step S102 includes:
[0081] In step S401, when the absolute value of the initial output value of the digital Hall sensor is less than or equal to a preset value, the camera is controlled to rotate in a direction of increasing angle at a preset rotational angular speed.
[0082] Preferably, the preset value is preferably 10. Therefore, when the absolute value of the initial output value of the digital Hall sensor is less than 10, the image 3 It can be known that the offset angle of the camera cannot be accurately obtained according to the output value of the digital Hall sensor, and at this time, the camera is controlled to rotate in the direction of increasi...
Embodiment 3
[0095] Figure 5 The specific implementation process of step S103 in the method for controlling the rotation of a camera provided in Embodiment 3 of the present invention is shown; for the convenience of description, only the parts related to the present application are shown.
[0096] like Figure 5 As shown, step S103 includes:
[0097] In step S501, when the absolute value of the initial output value of the digital Hall sensor is greater than the preset value, the camera is controlled to rotate by the preset angle in the direction of increasing the angle.
[0098] Preferably, the preset value is preferably 10. Therefore, when the absolute value of the initial output value of the digital Hall sensor is greater than 10, the image 3 It can be known that the offset angle of the camera can be accurately obtained according to the output value of the digital Hall sensor. At this time, the camera is controlled to rotate by a preset angle in the direction of increasing angle at a...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


