12. Octopus Crash Sensor Brick¶
12.1. Introduction¶
Crash Sensor Brick is a sensor module based on crash switch, simple circuit design, high sensitivity.
12.3. Specifications¶
Item | Parameter :-: | :-: SKU|EF04013 Working Voltage|3.3-5V Connector Type |Digital Pins Definition|1-Signal 2-VCC 3-GND Response|Quick to response with high sensitivity Power Dissipation|ULP Working Temperature|-20-70℃ Circuit|Simple Stability|Stable and durable
12.5. Quick to Start¶
Quick to Start¶
Set the P1 port to a higher level to initialize the module.
After being pressed, the returned value is 0, the digital read P1 pin is 0, then the icon is shown on the screen.
Or it shows a box.
Reference¶
Links: https://makecode.microbit.org/_WMwRtRXFe2tw
You can also download it directly below:
---Result¶
When the sensor is pressed, a rectangle is showing on the micro:bit; while released, an icon is showing on the micro:bit.