Vibration Sensor Brick is a module based on vibration trigger switch.
ELECFREAKS Octopus Vibration Sensor
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.
Item | Parameter |
---|---|
SKU | EF04014 |
Working Voltage | 3V-5V |
Connection Mode | G-GND,V-VCC,S(test the signal) |
Pins Definition | V-VCC G-GND S-D3 |
Circuit | Simple |
Function | Achieve fun and interactive courses |
Connect to P1 port as the picture shows.
Take sensor:bit for example
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.