Available upon request
Available upon request
Provided upon request
Available for purchase
Provided through our website and community forums
Ordering Information
To place an order or request more information, please contact our sales team or visit our website.
Coin Type Micro Vibration Motor DocumentationOverviewThe Coin Type Micro Vibration Motor is a compact, low-power vibration motor designed for use in IoT devices, wearables, and other small form factor applications. It provides a gentle, subtle vibration feedback and is ideal for applications such as haptic feedback, notifications, and gaming.Technical SpecificationsOperating Voltage: 1.5V - 3.6V
Operating Current: 50mA - 100mA
Vibration Amplitude: 0.5G - 1.5G
Frequency: 100Hz - 200Hz
Dimensions: 10mm x 3.5mm x 2.5mmPinoutThe Coin Type Micro Vibration Motor has three pins:VCC: Positive power supply
GND: Ground
VIB: Vibration control pinCode Examples### Example 1: Simple Vibration Control using ArduinoThis example demonstrates how to control the vibration motor using an Arduino board.Hardware RequirementsArduino Board (e.g., Arduino Uno)
Coin Type Micro Vibration Motor
Breadboard and jumper wiresSoftware RequirementsArduino IDE (version 1.8.x or later)Code
```cpp
const int vibPin = 2; // Vibration control pin connected to digital pin 2void setup() {
pinMode(vibPin, OUTPUT);
}void loop() {
// Vibrate for 500ms
digitalWrite(vibPin, HIGH);
delay(500);
// Stop vibration
digitalWrite(vibPin, LOW);
delay(500);
}
```
In this example, the vibration motor is connected to digital pin 2 of the Arduino board. The `setup()` function sets the vibration control pin as an output, and the `loop()` function toggles the vibration motor on and off every 500ms.### Example 2: Voltage-Controlled Vibration using ESP32This example demonstrates how to control the vibration motor using an ESP32 board and variable voltage levels.Hardware RequirementsESP32 Board (e.g., ESP32 DEVKITC)
Coin Type Micro Vibration Motor
Breadboard and jumper wires
Potentiometer (optional)Software RequirementsESP32 Arduino Core (version 1.0.x or later)Code
```cpp
const int vibPin = 25; // Vibration control pin connected to digital pin 25void setup() {
pinMode(vibPin, OUTPUT);
}void loop() {
int voltageLevel = analogRead(A0); // Read voltage level from potentiometer (optional)
int vibrationLevel = map(voltageLevel, 0, 4095, 0, 255);
// Set vibration level using PWM
ledcSetup(0, 50, 8); // Channel 0, 50Hz, 8-bit resolution
ledcAttachPin(vibPin, 0);
ledcWrite(0, vibrationLevel);
delay(20);
}
```
In this example, the vibration motor is connected to digital pin 25 of the ESP32 board. The `setup()` function sets the vibration control pin as an output, and the `loop()` function reads the voltage level from a potentiometer (if used) and maps it to a vibration level between 0 and 255. The vibration motor is then driven using pulse-width modulation (PWM) to achieve the desired vibration level.Note: The above examples are for illustration purposes only and may require modifications to suit your specific use case. Always ensure proper power supply and motor control to avoid damage to the motor or other components.