Miniature Vibration Motor 1027: 두 판 사이의 차이
(Created page with "{{#seo:|title=아두위키 : 아두이노 소형 진동 모터 1027 가이드|title_mode=append|keywords=아두이노, 정보과학, 메이커학습, 수행평가, 소형 진동 모터 1027, 아두이노 작품, 캡스톤작품, 아두이노 예제코드|description=아두이노로 소형 진동 모터 1027를 제어하는 방법(기본정보, 회로, 예제 코드)을 소개합니다. 정보과학과 메이커수업에 활용가능합니다.}} File:진동모터대표...") |
(차이 없음)
|
2024년 3월 24일 (일) 17:56 판

This is a miniature motor that generates vibration in a manner similar to DC motors.
Specifications
- Recommended Input Voltage: 3V
- Operating Current: 70mA
Example Required Hardware
- Arduino board
- Vibration motor
Connection
| Arduino | vibration motor |
| GND | connected |
| D6 | connected |

Example Code
The example triggers the vibration motor to vibrate briefly three times.
const int VIBRATION = 6;
void setup() {
for (int i = 0; i < 3; i++) {
analogWrite(VIBRATION, 255 / 5 * 3);
delay(500);
analogWrite(VIBRATION, 0);
delay(500);
}
}
void loop() {
}
Execution Result
Please check the link for the operation video.