¾ÆµÎÀ̳뿡¼ Áøµ¿À» °£ÆíÇÏ°Ô ÃøÁ¤ÇÒ ¼ö ÀÖ½À´Ï´Ù. µðÁöÅÐ Ãâ·ÂÀ» Áö¿øÇÏ¸ç °ÉÀ½°ÉÀÌ ÃøÁ¤, Ãæ°Ý °¨Áöµî¿¡ »ç¿ëÀÌ °¡´ÉÇÕ´Ï´Ù.
Ư¡ µ¿ÀÛ Àü¾Ð : 3.3 ~ 5V 5mm °£°ÝÀÇ 3mm ¸¶¿îÆà Ȧ 1000¸¸¹ø ÃøÁ¤ °¡´É Å©±â : 22 x 30 mm
°ü·Ã ¹®¼
¾ÆµÎÀÌ³ë ¼Ò½ºÄÚµå #define SensorLED 13
#define SensorINPUT 3 //Connect the sensor to digital Pin 3 which is Interrupts 1.
unsigned char state = 0;
void setup()
{
pinMode(SensorLED, OUTPUT);
pinMode(SensorINPUT, INPUT);
attachInterrupt(1, blink, FALLING);
}
void loop()
{
if (state!=0)
{
state = 0;
digitalWrite(SensorLED,HIGH);
delay(500);
}
else
digitalWrite(SensorLED,LOW);
}
void blink()
{
state++;
}
INTRODUCTION
What's the simplest way to check vibration with Arduino? Use a vibration
sensor from DFRobot. You can directly plug it on our IO Expesion Shield V7.
Just vibrate this sensor, Arduino can receive a digital signal. It's easy to
acount and program in Arduino.
Despite it's simple, you can make full use of it with creative thinking,
like step counting, Crash warning light and so on.
Inprovement
¡¤
Wide voltage range
from 3.3V to 5V
¡¤
Standard
assembling structure (Times-of-5mm Center distance between two 3mm mounting
holes)
¡¤
Easily recognitive
interfaces of sensors ("A" for analog and "D" for digital)
¡¤
Icons to simplely
illustrate sensor function
¡¤
High quality
connector
¡¤
Immersion gold
surface
a simple Pedometer device that can count your step
SPECIFICATION
¡¤
IO Type: Digital
¡¤
Switch life: up to
10 million seconds
¡¤
Open circuit
resistance: 10Mohm
¡¤
Supply Voltage:
3.3V to 5V
¡¤
Interface: Digital
¡¤
Size:22x30mm
DOCUMENTS
¡¤
Wiki Page
¡¤
Schematic
SHIPPING
LIST
¡¤
Sensor x1
¡¤
Digital Sensor
Cable (SKU:FIT0011) x1
|