Octopus Vibration Sensor(EF04014)
13. Octopus Vibration Sensor(EF04014)#
Vibration Sensor Brick is a module based on vibration trigger switch.
When in the stationary state, the indicator LED is OFF. When subjected to external vibration touch to achieve the appropriate vibration force, or move away from the speed of the appropriate (partial) effort, conductive pin will produce an instant turn-on (ON) state. At that time, electrical characteristics have changed. While if the external force disappear, electrical characteristics will restore OFF state.
|Connection Mode||G-GND，V-VCC，S(test the signal)|
|Pins Definition||V-VCC G-GND S-D3|
|Function||Achieve fun and interactive courses|
13.5. Outlook and Dimensions#
13.6. Quick to Start#
Connect to P1 port as the picture shows.
Take sensor:bit for example
Program as the picture shows#
Show the returned value through P1 pin.
Links: https://makecode.microbit.org/_32DD3C4Lv33u You can also download it directly below:
While vibrating, it shows 1 on the micro:bit, or it shows 0.