π³
SW-420 Vibration
One tap, one count
Page 48 reads a SW-420 on GPIO17: normally closed at rest, flipping on vibration. The screen shows both the current state and a cumulative count, which separates a one-off knock from continuous shaking.
Sensitivity is set by the trimmer on the module β turn it until it stops false-triggering.
Screen
On-screen interface
A recreation of this page on the 2.41-inch AMOLED display (600 Γ 450). Actual interaction and layout follow the latest firmware.
Count12times Β· last 21:04:12
Stateidle (NC)
PinGPIO 17
Sensitivitytrimmer tuned to avoid false triggers
Health90
Detects vibration only β no amplitude
Screen Β· Page 48
May differ from the actual interface; the screen of the real device is the final reference.
Highlights
Key capabilities
π³
Vibration count
Cumulative hits plus the last timestamp.
π
Adjustable
On-board trimmer sets the threshold.
π
One wire
Only GPIO17 is needed.
π©Ί
Health score
Missing, always-on and never-triggering are distinguished.
Specifications
Technical specs
PinGPIO 17
OutputDigital, NC β flips on vibration
Supply3.3β5 V
Firmware pagePage 48
Use Cases
Typical scenarios
Tamper sensing
Stick it on a drawer or door.
Machine check
Spot abnormal shaking on a fan or motor.
Commands
Related commands
page 48 Open the SW-420 page sw Read state and count
β Boundaries & notes
- Yes/no only β no amplitude or frequency.
- Too sensitive means constant triggering; too dull misses small knocks.
Other feature pages
π Overview Home12-tile quick launch plus everyday toggles β the power-on default, and where everything starts.β‘Dashboard Β· Power & ConsumptionBLE-connected current meter with live voltage/current/power curves at fixed-point 10βΆ precision.πWaveform PanelLive curves for frame rate, heap and task load β spot the bottleneck at a glance.π΅BLE DebuggerBLE scan/connect/service discovery with full GATT tree browsing and read/write.