This project uses an **SW-420 vibration sensor** with the **Raspberry Pi Pico W** and **MicroPython** to detect motion or shocks and trigger the onboard LED.
-
Updated
Oct 28, 2025 - Python
This project uses an **SW-420 vibration sensor** with the **Raspberry Pi Pico W** and **MicroPython** to detect motion or shocks and trigger the onboard LED.
This project demonstrates how to detect **vibration or movement** using the **SW420 vibration sensor** and control an **LED indicator** on the **ESP8266**. When vibration is detected, the LED turns **ON**, providing a simple and visual alert system.
This project demonstrates how to read analog vibration data from an **SW420 vibration sensor** using the **ADC** pin on the **ESP8266** board. The analog output from the SW420 is connected to the **A0** pin and read continuously using **MicroPython**, printing the vibration level on the Thonny IDE console.
A C# Vibration Monitor for the Raspberry Pi and SW420 Sensor
Add a description, image, and links to the sw420 topic page so that developers can more easily learn about it.
To associate your repository with the sw420 topic, visit your repo's landing page and select "manage topics."