<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ko">
	<id>https://arduwiki.com/html/index.php?action=history&amp;feed=atom&amp;title=Vibration_Sensor%28SW-420%29</id>
	<title>Vibration Sensor(SW-420) - 편집 역사</title>
	<link rel="self" type="application/atom+xml" href="https://arduwiki.com/html/index.php?action=history&amp;feed=atom&amp;title=Vibration_Sensor%28SW-420%29"/>
	<link rel="alternate" type="text/html" href="https://arduwiki.com/html/index.php?title=Vibration_Sensor(SW-420)&amp;action=history"/>
	<updated>2026-04-28T15:39:04Z</updated>
	<subtitle>이 문서의 편집 역사</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://arduwiki.com/html/index.php?title=Vibration_Sensor(SW-420)&amp;diff=1736&amp;oldid=prev</id>
		<title>ArduWiki: /* Overview */</title>
		<link rel="alternate" type="text/html" href="https://arduwiki.com/html/index.php?title=Vibration_Sensor(SW-420)&amp;diff=1736&amp;oldid=prev"/>
		<updated>2024-08-09T06:10:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Overview&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2024년 8월 9일 (금) 15:10 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l9&quot;&gt;9번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;9번째 줄:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== 1. Vibration Detection Structure ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== 1. Vibration Detection Structure ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It uses a mechanical switch that contains a metal ball inside. The metal ball is positioned between two electrodes within the sensor, and when external vibrations or shocks occur, the ball moves to make or break contact between the electrodes.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It uses a mechanical switch that contains a metal ball inside. The metal ball is positioned between two electrodes within the sensor, and when external vibrations or shocks occur, the ball moves to make or break contact between the electrodes.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== 2. Operating Principle ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== 2. Operating Principle ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key arduwiki:diff::1.12:old-1735:rev-1736 --&gt;
&lt;/table&gt;</summary>
		<author><name>ArduWiki</name></author>
	</entry>
	<entry>
		<id>https://arduwiki.com/html/index.php?title=Vibration_Sensor(SW-420)&amp;diff=1735&amp;oldid=prev</id>
		<title>2024년 8월 9일 (금) 06:09에 ArduWiki님의 편집</title>
		<link rel="alternate" type="text/html" href="https://arduwiki.com/html/index.php?title=Vibration_Sensor(SW-420)&amp;diff=1735&amp;oldid=prev"/>
		<updated>2024-08-09T06:09:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://arduwiki.com/html/index.php?title=Vibration_Sensor(SW-420)&amp;amp;diff=1735&amp;amp;oldid=1734&quot;&gt;차이 보기&lt;/a&gt;</summary>
		<author><name>ArduWiki</name></author>
	</entry>
	<entry>
		<id>https://arduwiki.com/html/index.php?title=Vibration_Sensor(SW-420)&amp;diff=1734&amp;oldid=prev</id>
		<title>ArduWiki: 새 문서: {{#seo:|title=Arduwiki : Arduino Vibration Sensor(SW-420) Guide|title_mode=append|keywords=Arduino, Information Science, Maker Learning, Performance Assessment, Vibration Sensor(SW-420), Arduino Project, Capstone Project, Arduino Example Code|description=This introduces how to control a Vibration Sensor(SW-420) with Arduino (basic information, circuit, example code). It can be used in Information Science and Maker classes.}}  파일:아두이노진동감지센서SW-420대표...</title>
		<link rel="alternate" type="text/html" href="https://arduwiki.com/html/index.php?title=Vibration_Sensor(SW-420)&amp;diff=1734&amp;oldid=prev"/>
		<updated>2024-08-09T06:04:00Z</updated>

		<summary type="html">&lt;p&gt;새 문서: {{#seo:|title=Arduwiki : Arduino Vibration Sensor(SW-420) Guide|title_mode=append|keywords=Arduino, Information Science, Maker Learning, Performance Assessment, Vibration Sensor(SW-420), Arduino Project, Capstone Project, Arduino Example Code|description=This introduces how to control a Vibration Sensor(SW-420) with Arduino (basic information, circuit, example code). It can be used in Information Science and Maker classes.}}  파일:아두이노진동감지센서SW-420대표...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;새 문서&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{#seo:|title=Arduwiki : Arduino Vibration Sensor(SW-420) Guide|title_mode=append|keywords=Arduino, Information Science, Maker Learning, Performance Assessment, Vibration Sensor(SW-420), Arduino Project, Capstone Project, Arduino Example Code|description=This introduces how to control a Vibration Sensor(SW-420) with Arduino (basic information, circuit, example code). It can be used in Information Science and Maker classes.}}&lt;br /&gt;
&lt;br /&gt;
[[파일:아두이노진동감지센서SW-420대표이미지1.jpg|가운데|class=coders100]]&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;개요&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
SW-420 센서는 진동 감지 센서로, 주로 진동이나 충격을 감지하는 데 사용됩니다. 이 센서는 아두이노와 같은 마이크로컨트롤러와 함께 사용하여 다양한 프로젝트에 응용할 수 있습니다.&lt;br /&gt;
&lt;br /&gt;
==== 1. 진동 감지 구조 ====&lt;br /&gt;
내부에 금속 볼이 포함된 기계적 스위치를 사용합니다. 금속 볼은 센서 내부의 두 전극 사이에 위치해 있으며, 외부에서 진동이나 충격이 가해지면 볼이 이동하여 전극 간의 접촉을 형성하거나 끊습니다.&lt;br /&gt;
&lt;br /&gt;
==== 2. 작동 원리 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;정상 상태&amp;#039;&amp;#039;&amp;#039;: 센서가 안정된 상태일 때, 금속 볼은 전극 사이에 접촉하지 않아 출력 신호는 LOW(0V) 상태입니다.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;진동 감지&amp;#039;&amp;#039;&amp;#039;: 외부에서 진동이 발생하면 금속 볼이 이동하여 전극과 접촉하게 됩니다. 이때 출력 신호는 HIGH(5V) 상태로 변하게 됩니다.  이 신호는 아두이노와 같은 마이크로컨트롤러에 전달되어 진동이 감지되었음을 알립니다.&lt;br /&gt;
&lt;br /&gt;
==== 3. 민감도 조정 ====&lt;br /&gt;
SW-420 센서에는 민감도를 조절할 수 있는 가변 저항이 내장되어 있습니다. 이 저항을 조정함으로써 센서가 감지하는 진동의 강도를 조절할 수 있습니다. 즉, 민감도를 높이면 약한 진동도 감지할 수 있고, 민감도를 낮추면 강한 진동만 감지하게 됩니다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;사양&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;전압 범위&amp;#039;&amp;#039;&amp;#039;: DC 3.3V ~ 5V&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;신호 유형&amp;#039;&amp;#039;&amp;#039;: 디지털 출력 (HIGH/LOW)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;출력 전압&amp;#039;&amp;#039;&amp;#039;: HIGH 상태에서 약 5V, LOW 상태에서 0V&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;PCB 크기&amp;#039;&amp;#039;&amp;#039;: 약 32mm x 14mm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;활용 예제&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
=== 기본 회로 구성 ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!아두이노&lt;br /&gt;
!SW-420 진동 감지 센서&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;5V&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|VCC 핀&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;GND&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|GND 핀&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;D2&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|DO 핀&lt;br /&gt;
|}&lt;br /&gt;
[[파일:Sw420기본회로.jpg|가운데|class=coders100]]&lt;br /&gt;
&lt;br /&gt;
=== 1. 진동을 감지하여 시리얼 모니터로 출력 ===&lt;br /&gt;
위 기본 회로를 구성하신 후, SW-420 진동 센서를 손으로 흔들어서 진동 감지 여부를 시리얼 모니터로 확인하는 예제입니다.&amp;lt;syntaxhighlight lang=&amp;quot;c++&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
const int sensorPin = 2; // SW-420 OUT 핀 연결&lt;br /&gt;
int sensorValue = 0;&lt;br /&gt;
&lt;br /&gt;
void setup() {&lt;br /&gt;
    Serial.begin(9600);&lt;br /&gt;
    pinMode(sensorPin, INPUT);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop() {&lt;br /&gt;
    sensorValue = digitalRead(sensorPin);&lt;br /&gt;
    if (sensorValue == HIGH) {&lt;br /&gt;
        Serial.println(&amp;quot;진동 감지!&amp;quot;);&lt;br /&gt;
    } else {&lt;br /&gt;
        Serial.println(&amp;quot;진동 없음.&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
    delay(500);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 실행결과 ====&lt;br /&gt;
[[파일:Sw420예제1시리얼모니터.png|class=coders70]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2. LED와 함께 활용 ===&lt;br /&gt;
진동이 감지되면 LED가 켜지는 예제입니다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== 회로 구성 ====&lt;br /&gt;
LED의 짧은 다리를 저항과 연결하고, 저항을 다시 아두이노 GND 핀에 연결합니다. 저항은 보통 100Ω, 220Ω을 사용합니다.&lt;br /&gt;
&lt;br /&gt;
LED 긴 다리는 아두이노 D13핀에 연결합니다. LED에 대한 자세한 정보는 [[LED(5mm)]] 문서를 참고하세요.&lt;br /&gt;
&lt;br /&gt;
[[파일:Sw420예제2회로.jpg|가운데|class=coders100]]&lt;br /&gt;
&lt;br /&gt;
==== 아두이노 코드 ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c++&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
const int sensorPin = 2; // SW-420 OUT 핀 연결&lt;br /&gt;
const int ledPin = 13;   // 내장 LED 핀&lt;br /&gt;
int sensorValue = 0;&lt;br /&gt;
&lt;br /&gt;
void setup() {&lt;br /&gt;
    Serial.begin(9600);&lt;br /&gt;
    pinMode(sensorPin, INPUT);&lt;br /&gt;
    pinMode(ledPin, OUTPUT);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop() {&lt;br /&gt;
    sensorValue = digitalRead(sensorPin);&lt;br /&gt;
    if (sensorValue == HIGH) {&lt;br /&gt;
        Serial.println(&amp;quot;진동 감지!&amp;quot;);&lt;br /&gt;
        digitalWrite(ledPin, HIGH); // LED 켜기&lt;br /&gt;
    } else {&lt;br /&gt;
        Serial.println(&amp;quot;진동 없음.&amp;quot;);&lt;br /&gt;
        digitalWrite(ledPin, LOW); // LED 끄기&lt;br /&gt;
    }&lt;br /&gt;
    delay(500);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== 실행결과 ====&lt;br /&gt;
진동이 감지되면 LED가 켜지는 모습이며, 1번 예제와 같은 모습의 시리얼 모니터 또한 함께 확인할 수 있습니다.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;coders100&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;youtube&amp;gt; TTHueDfPt3o &amp;lt;/youtube&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;구매 링크&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
[https://gongzipsa.com/shop/1715255545 공집사몰]&lt;/div&gt;</summary>
		<author><name>ArduWiki</name></author>
	</entry>
</feed>