Vibration Sensor

From Microduino Wiki
Revision as of 06:57, 19 June 2015 by 1304410487@qq.com (talk) (Created page with "{| style="width: 800px;" |- | ==Purpose== This tutorial will show you how to use Microduino mCookie vibration sensor. ==Equipment== *'''Microduino-CoreUSB''' *'''Micr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

This tutorial will show you how to use Microduino mCookie vibration sensor.

Equipment


  • Other Hardware Equipment
    • USB cable One

Program

Debugging

Step 1: Insert Microduino vibration sensor to D6 pin of Microduino-Sensorhub and Microduino buzzer toD8 pin.


Step 2: Connect your PC with USB cable, download the code and burn it to Microduino-CoreUSB.


Step 3: If the vibration sensor keeps still after programming, then the buzzer should keep silent.


Step 4: Shake the sensor and the buzzer will make sound accordingly.


Result

You can use vibration sensor to detect vibration and watch the intensity via a buzzer.

Video