Arduino Vibration Sensor | Shock Sensor | SW-420 | Arduino Tutorial

preview_player
Показать описание

#CircuitsDIY

Today In This Video Tutorial I am going to show you Step by Step

How to interface vibration sensor sw420 with Arduino

You, Will, Find Full Project Description & All Useful Material Including

• Circuit Diagram / Schematic
• Hardware / Component List
• Codes / Algorithm
• Datasheet
• Pin Configuration Etc

Thank You for Watching.

Please LIKE this video & SUBSCRIBE to our channel ( CIRCUITS-DIY )

↪ For Any DIFFICULTY or RECOMMENDATION's Please Comment Below.

――――――――――――――――――――――――――――――――――――――――――
❖ Please Subscribe / Like Facebook Page ❖
――――――――――――――――――――――――――――――――――――――――――

―――――――――――――――――
❖ Audio Credits ❖
―――――――――――――――――

Music: Elektronomia - Shine On (Instrumental)

⚡ Elektronomia
Рекомендации по теме
Комментарии
Автор

hello sir it is possible to measure vibration intensity using sw-420

viraldigital
Автор

Hey I've tried your code from the website but the software is telling me " 'ctsPin' was not declared in this scope". Is there any way to solve this issue?

jasonlim
Автор

Hi I came to your video looking for information on the sw-420 sensor because I would like to understand if I could make anti-theft sensors to be installed in a fence. What do you think about it?

giannironchietto
Автор

int ledPin = 13;

void setup()
{
Serial.begin(9600);
pinMode(ledPin, OUTPUT);
pinMode(ctsPin, INPUT);
}

void loop()
{
int ctsValue = digitalRead(ctsPin);

if (ctsValue == HIGH)
{
digitalWrite(ledPin, HIGH);
Serial.println("TOUCHED");
}
else
{
digitalWrite(ledPin, LOW);
Serial.println("not touched");
}
delay(0.9);
}

evanaragon
Автор

hey sir
i'd like to know which units are used in the graph that you showed us in the beginning of the video

radouanecroft
Автор

Hi! May I know how you convert the digital reading to graph? Thanks

hazghaz
Автор

Sir, I ordered this sensor in amazon 20 days ago but still, it doesn't arrive can you suggest an alternate website to buy this sensor

anandseemakurthi
Автор

is this sensor suitable to design earth quake meter?

manofmesopotamia
Автор

This started out so good, then you started that music and quit explaining what you were doing. It would have been a lot less work and much more informative to have simply told us how the interface and software works. It was nearly useless as you presented it. But, I do truly appreciate your effort. Thanks....anyhow.

ronjones
Автор

can I use atmega for this sensor? thanks

mayrienjoybalilo
Автор

That wasn't very useful at all. Why didn't you walk through the sketch? Hooking up the hardware is the easy bit with a simple sensor like this.

joshuarosen
Автор

Sir the you have shown in the video is a blank code
Please let me explain that

anirbanmandal
Автор

misleading title, the sensor is a completely different one

drippeter
visit shbcf.ru