13. Octopus Vibration Sensor

13.1. Introduction


  • Vibration Sensor Brick is a module based on vibration trigger switch.

../../_images/V5LWSTa.jpg

13.2. Characteristics


  • 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.

13.3. Specifications


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

13.4. Outlook and Dimensions


../../_images/vw9iSOe.png

13.5. Quick to Start


Connection diagram

  • Connect to P1 port as the picture shows.

Take sensor:bit for example

  • ../../_images/MCfIhfH.png

Program as the picture shows

  • Show the returned value through P1 pin.

../../_images/5qzwCGO.png

Refaerence

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.

13.6. Relevant Cases


13.7. Technique Files