Detailed Information About The Product:
working principle:1.By cylindrical shade to keep out the LED,and photosensitive receiving tube is for detecting RPI-1031 current state.
2.When RPI-1031 rotates to the state shown as the picure one(p1),LED is shadowed by the shade;and two photosensitive receiving triodes cannot receive the light;they will be in off state,output low level;two GPIO ports both output low level.
3.When RPI-1031 rotates to the state shown as the picture two(p2),one of the photosensitive triode was shadowed,the light emitted by LED only can be received by the other one;that means above photosensitive triode is on,and photosensitive triode under side is off;then two GPIO ports output respectively output high level and low level.
4.When RPI-1031 rotates to the state shown as the picture three(p3),the shade does not shadow;the diode will shine,two photosensitive triodes can receive the light;then all of them will be on,both of two GPIO ports output high level.
5.When RPI-1031 rotates to the state shown as the picture four(p4),this state is adverse to description 4;two GPIO ports output level will be intercahnged.
Description:
Based on optics principles,its interior has 1 LED ,2 photosensitive receiving triode; and the other side has one cylindrical shade.
colour: Blue
Material: metal +PC
size: 10x15MM
Package Contents:
1 x RPI-1031 Angle Sensor Module
Only the above package content, other products are not included.
Note: Light shooting and different displays may cause the color of the item in the picture a little different from the real thing. The measurement allowed error is +/- 1-3cm.