Miniature Vibration Motor 1027: 두 판 사이의 차이
잔글편집 요약 없음 |
잔글편집 요약 없음 |
||
| 1번째 줄: | 1번째 줄: | ||
{{#seo:|title= | {{#seo:|title=ArduWiki: Arduino Mini Vibration Motor 1027 Guide|title_mode=append|keywords=Arduino, Computer Science, Maker Education, Performance Assessment, Mini Vibration Motor 1027, Arduino Project, Capstone Project, Arduino Example Code|description=How to control a mini vibration motor 1027 using Arduino (basic info, circuit, and sample code). Useful for computer science and maker classes.}} | ||
[[ | [[파일:진동모터대표이미지.jpg|center|class=coders100]] | ||
This is a miniature motor that generates vibration in a manner similar to DC motors. | This is a miniature motor that generates vibration in a manner similar to DC motors. | ||
2025년 3월 27일 (목) 18:25 기준 최신판

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