vibra – Sonrobots https://sonrobots.com Tienda y Asesoría Sat, 19 Nov 2022 17:39:20 +0000 es hourly 1 https://wordpress.org/?v=6.9 https://sonrobots.com/wp-content/uploads/2025/02/PopsocketsSR-100x100.jpg vibra – Sonrobots https://sonrobots.com 32 32 39789093 Sensor HDX vibración https://sonrobots.com/producto/sensor-vibracion-tilt-hdx/ https://sonrobots.com/producto/sensor-vibracion-tilt-hdx/#respond Sat, 02 Jan 2021 21:08:16 +0000 https://sonrobots.com/producto/sensor-vibracion-tilt-hdx/ Sensor switch de vibración AETHDX

Similar al SW520

Actúa como interruptor normalmente abierto

Interruptor se cierra ante cualquier vibración

Fácilmente detectable y utilizable por Arduino, PIC, Raspberry, y mas.

Incluso utilizable directamente con LED o tiras LED, lamparas, motores, etc. para activarlos ante cualquier movimiento.

 

int sensor;

int redLight = 2;

void setup() {

Serial.begin(9600);

pinMode(redLight, OUTPUT); }

void loop() {

sensor = analogRead(A0);

if (sensor<1023) {

digitalWrite(redLight, HIGH);

Serial.println(«Vibración detectada»);

delay(1000); }

else {

digitalWrite(redLight, LOW);

Serial.println(sensor);

delay(1000);

} }

 

 

]]>
https://sonrobots.com/producto/sensor-vibracion-tilt-hdx/feed/ 0 1450