| Electronic Components Datasheet Search |
|
KIT-SEN-ACT Datasheet(PDF) 6 Page - AG Electronica |
|
|
|||||||||||||||||||||||||||||
KIT-SEN-ACT Datasheet(HTML) 6 Page - AG Electronica |
|
6 / 50 page ![]() Arduino KY-002: Modulo Sensor de Vibración Descripción: Este módulo sensor de vibraciones funciona como un switch, al detectar una vibración cierra un circuito lo que genera que el usuario pueda detectar los movimientos. El modulo debe conectarse el PIN 10 del Arduino. Cuando detecta una vibración se enciende el LED conectado al PIN 13. Código: int Led = 13 ;// define LED Interface int Shock = 10; // define the vibration sensor interface int val; // define numeric variables val void setup () { pinMode (Led, OUTPUT) ; // define LED as output interface pinMode (Shock, INPUT) ; // output interface defines vibration sensor } void loop () { val = digitalRead (Shock) ; // read digital interface is assigned a value of 3 val if (val == HIGH) // When the shock sensor detects a signal, LED flashes { digitalWrite (Led, LOW); } else { digitalWrite (Led, HIGH); } } |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |