| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
KIT-SEN-ACT bảng dữ liệu(PDF) 6 Page - AG Electronica |
|
|
|||||||||||||||||||||||||||||
KIT-SEN-ACT bảng dữ liệu(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 |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |