Product description
Based on the Optical Principle, There Are 1 One Led and 2 One Photosensitive Receiving Triode inside; There Is One Cylindrical Shadow on the Other Side.
1. Protect Led by Cylindrical Shadow, Photosensitive Receiving Tube Is Used to Detect the Current State of RPI-1031.
2. When the RPI-1031 Is Rotated to the State (P1) as Shown in the Figure, the LED Is Covered by Shadow; the Two Photosensitive Receiving Triodes Cannot Receive Light; They Will Be in the off State and Output Low Level; both GPIO Ports Output Low Level.
3. When the RPI-1031 Is Rotated to the State Shown in Figure 2 (P2), One of the Photosensitive Triode Is Masked, and Only the Light Emitted by the LED Can Be Received by the Other; This Means That the above Photo Transistor Is Turned on, the Photo Transistor on the Side Is Disconnected; Then the Outputs of the Two GPIO Ports Output High and Low Levels Respectively.
4. When the RPI-1031 Is Rotated to the State Shown in Figure 3 (P3), the Lampshade Will Not Shadow; the Diode Will Light up, and the Two Phototriodes Can Receive Light, and Then All Will Light up, two GPIO Ports Output High Level.
5. When the RPI-1031 Is Rotated to the State Shown in Fig. 4 (P4), This State Is Unfavorable to the Description 4; the Output Levels of the Two GPIO Ports Will Be Connected.
1 X RPI-1031 Angle Sensor Quartet Sensor