Stufin
Home Quick Cart Profile

Coin Type Micro Vibration Motor

Buy Now on Stufin

Datasheet

Available upon request

Application Notes

Provided upon request

Development Kits

Available for purchase

Online Support

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.

Pin Configuration

  • Coin Type Micro Vibration Motor Documentation
  • Pinout Explanation
  • The Coin Type Micro Vibration Motor has a total of 3 pins, which are used to control the motor's vibration. Below is a detailed explanation of each pin:
  • Pin 1: VCC (Power Supply)
  • Function: Provides power to the motor
  • Voltage: Typically 3V to 6V (dependent on the specific motor model)
  • Current: Typically up to 100mA (dependent on the specific motor model)
  • Connection: Connect to a power source, such as a battery or a voltage regulator output
  • Pin 2: GND (Ground)
  • Function: Provides a reference ground for the motor
  • Connection: Connect to the negative terminal of the power source or ground plane of the circuit board
  • Pin 3: SIG (Signal)
  • Function: Controls the vibration motor's speed and direction
  • Signal Type: Pulse-Width Modulation (PWM) signal
  • Frequency: Typically up to 20 kHz (dependent on the specific motor model)
  • Duty Cycle: 0% to 100% (dependent on the desired vibration intensity)
  • Connection: Connect to a microcontroller's PWM output pin or a dedicated PWM generator
  • Connection Structure:
  • To connect the Coin Type Micro Vibration Motor, follow the below structure:
  • Step 1: Connect the VCC pin to a power source (e.g., battery or voltage regulator output)
  • Step 2: Connect the GND pin to the negative terminal of the power source or ground plane of the circuit board
  • Step 3: Connect the SIG pin to a microcontroller's PWM output pin or a dedicated PWM generator
  • Step 4: Configure the microcontroller or PWM generator to output a PWM signal with the desired frequency and duty cycle to control the vibration motor's speed and direction
  • Important Notes:
  • Ensure the power supply voltage and current are within the recommended specifications for the specific motor model.
  • Use a suitable current-limiting resistor or transistor to prevent excessive current draw from the power source.
  • Implement proper decoupling and capacitive filtering to reduce electromagnetic interference (EMI) and ensure reliable motor operation.
  • By following this documentation, you should be able to successfully connect and control the Coin Type Micro Vibration Motor in your IoT project.

Code Examples

Coin Type Micro Vibration Motor Documentation
Overview
The 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 Specifications
Operating 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.5mm
Pinout
The Coin Type Micro Vibration Motor has three pins:
VCC: Positive power supply
 GND: Ground
 VIB: Vibration control pin
Code Examples
### Example 1: Simple Vibration Control using Arduino
This example demonstrates how to control the vibration motor using an Arduino board.
Hardware Requirements
Arduino Board (e.g., Arduino Uno)
 Coin Type Micro Vibration Motor
 Breadboard and jumper wires
Software Requirements
Arduino IDE (version 1.8.x or later)
Code
```cpp
const int vibPin = 2;  // Vibration control pin connected to digital pin 2
void 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 ESP32
This example demonstrates how to control the vibration motor using an ESP32 board and variable voltage levels.
Hardware Requirements
ESP32 Board (e.g., ESP32 DEVKITC)
 Coin Type Micro Vibration Motor
 Breadboard and jumper wires
 Potentiometer (optional)
Software Requirements
ESP32 Arduino Core (version 1.0.x or later)
Code
```cpp
const int vibPin = 25;  // Vibration control pin connected to digital pin 25
void 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.