รายละเอียด
โมดูลวัดแรงสั่นสะเทือน Vibration Sensor
* สัญาณที่ออกเป็น Digital Output 0-1 (ON/OFF) โดยมีโวลุ่มปรับระดับความแรงในการสั่นได้
รายละเอียด
SW-420 using the company's production of normally closed type vibration sensor.
The comparator output, the signal is clean, the waveform, the driving ability to exceed 15mA
Operating voltage 3.3V-5V
The output in the form: Digital switching outputs (0 and 1)
A fixed bolt hole for easy installation
Small board PCB size: 3.2cm x 1.4cm
ตัวอย่าง Source Code ที่ใช้กับ PIN Analog
void setup() { // initialize serial communication at 9600 bits per second: Serial.begin(9600); } // the loop routine runs over and over again forever: void loop() { // read the input on analog pin 0: int sensorValue = analogRead(A0); // print out the value you read: Serial.println(sensorValue); delay(1000); // delay in between reads for stability }
ตัวอย่าง Source Code ที่ใช้กับ PIN DIGITAL
int LED_Pin = 13; int vibr_Pin =3; void setup(){ pinMode(LED_Pin, OUTPUT); pinMode(vibr_Pin, INPUT); //set vibr_Pin input for measurment Serial.begin(9600); //init serial 9600 // Serial.println("----------------------Vibration demo------------------------"); } void loop(){ long measurement =TP_init(); delay(50); // Serial.print("measurment = "); Serial.println(measurement); if (measurement > 1000){ digitalWrite(LED_Pin, HIGH); } else{ digitalWrite(LED_Pin, LOW); } } long TP_init(){ delay(10); long measurement=pulseIn (vibr_Pin, HIGH); //wait for the pin to get HIGH and returns measurement return measurement; }
ขาย Vibration Sensor (วัดความสั่นสะเทือน) ON/OFF ราคา 40.00 บาท ในไทย
40.00 บาท
- จำนวนสินค้า: 4
- รุ่น: Vibration Sensor SW-420
- น้ำหนัก: 3.00g
- SKU: 3083
Product Views: 7771
สินค้าที่เกี่ยวข้อง
ตรวจจับน้ำฝน โมดูลเซ็นเซอร์ตรวจจับน้ำฝน
Rain Sensor MH-RD..
35.00 บาท
infrared sensor module
โมดูลคำอธิบาย
โมดูลเซ็นเซอร์โมดูลปรับตัวให้เข้ากับแสงโดยรอบ,มีคู่ของเปล่งอินฟราเ..
25.00 บาท
โมดูลวัดความชื้นในดิน
Humidity Sensor
ตัวอย่างโค๊ด
// กำหนดพิน LED 1
int ledPin = 2;
// กำหนด..
40.00 บาท
เป็น module Relay สำหรับ Drive ไฟ 220V โดยใช้สัญญาน 5V จากไมโครคอนโทรลเลอร์ โดย module จะมีวงจรป้องกันในตัว
เพื่อไม่ให้ Controler เสียหาย
คุณส..
40.00 บาท
เป็น Relay Module ที่ใช้ไฟเลี้ยงโมดูล 12V และ Input รองรับแรงดัน 5-12V สามาถต่อกับไฟรถยนต์ได้
หรือ ใช้งาน กับ โซลาเซล แบตเตอรี่ 12V โดยสามาถ..
40.00 บาท
Slide Switch SK-12D07VG3
สไลท์ สวิตช์ 9x5 mm
ความยาวปุ่ม 3 mm..
3.00 บาท
รุ่นนี้เป็นแบบกันน้ำได้ พร้อมสายต่อใช้งาน
สาย ยาว 1 เมตร
เซนเซอร์ตรวจจับอุณหภูมิ DS1820 เป็น IC แบบดิจิตอล สามารถวัดอุณภูมิในช่วง -55°C ถึ..
40.00 บาท
สวิตช์ลูกลอย Float Switch
Water level Switch
เซ็นเซอร์ตรวจสอบระดับน้ำ
100%แบรนด์ใหม่
วัสดุ: PP
สัญญาคะแนน(สูงสุด): 10วัตต์
การ..
100.00 บาท