Skip to content
If this is your first visit, please click here to learn about shipping and delivery.
If this is your first visit, please touch here to learn about shipping and delivery.
Miniature round vibration motors with attached leads and adhesive mounting backs

Adding Vibration Alerts: Motor Drivers, Mounting and Recognisable Patterns

A vibration alert is useful when a display is out of sight or a buzzer would disturb everyone nearby. The electronics can be simple, but a motor that buzzes strongly on a bench may feel weak inside a finished enclosure. Reliable results depend on the actuator, its driver and the mechanical path to the person holding the device.

The PMD Way miniature vibration motor discs provide a practical example of small, adhesive-backed motors. Their listing gives indicative operating figures, including about 60 mA at 3 V, but does not identify a complete manufacturer specification. Confirm the actual motor's allowable voltage and duty before committing a design. Explore the vibration motor collection with those requirements in mind.

Identify the actuator before choosing the driver

An eccentric rotating mass, or ERM, motor creates vibration by spinning an unbalanced weight. A linear resonant actuator, or LRA, moves a mass back and forth and requires an appropriate alternating drive. Both can arrive in flat, round packages. A coin shape alone does not identify the electrical operating principle.

A simple brushed ERM can be switched from a suitable DC supply. An LRA needs a driver suited to its resonance and electrical limits. Some brushless assemblies include electronics and have different control requirements again. Precision Microdrives explains these distinctions in its vibration motor comparison guide. Establish the type before selecting a tutorial or applying PWM.

Use the GPIO as a control signal

Do not power an unidentified vibration motor directly from a microcontroller pin. A series resistor does not make this a sound general design: motor current changes during starting and operation, while the controller has both per-pin and total current limits. Use a suitable transistor stage or motor driver so the GPIO controls the load rather than supplying it.

For a conventional low-side N-channel MOSFET circuit, the motor connects between the positive motor supply and the MOSFET drain; the source connects to the common return. A gate pull-down keeps the switch off while the controller starts. Select a MOSFET whose on-resistance is specified at the available gate drive, rather than relying on its threshold voltage.

A flyback diode across a brushed DC motor provides a current path when the switch turns off. In this arrangement its cathode faces the positive motor supply and its anode faces the switched motor terminal. Check current, voltage and switching requirements for the actual design. Precision Microdrives' discrete driver application note illustrates the underlying circuit choices.

Allow for starting and supply disturbances

A running-current figure is not a guaranteed starting-current limit. Choose the supply, switch and wiring using the manufacturer's starting or stall information where available, and measure the assembled prototype. Do not intentionally hold a miniature motor stalled to discover its limits.

Keep the motor-current return from sharing a long, thin path with sensitive analogue measurements. Fit supply decoupling appropriate to the driver and layout. If a controller resets when vibration begins, measure the supply at the controller as well as at the source. A battery reading taken with the motor disconnected can conceal a poor connection or excessive voltage drop under load.

Make the enclosure part of the experiment

The motor has to transfer motion into something the user can feel. Try candidate positions on a representative enclosure before finalising the board or moulding. A motor attached to a loose internal plate may mainly create a rattle. A position near the user's normal grip may be much more effective, even with the same electrical input.

For each trial, keep the supply and alert pattern constant. Change one mechanical detail at a time: mounting position, supporting surface or attachment method. Record perceived strength, audible noise and whether surrounding components touch. This turns an informal impression into a comparison that another team member can repeat.

Clean the mounting surface using a method compatible with its material and the adhesive. Provide strain relief for the fine motor leads, leaving enough flexibility for assembly. Do not pull on the wires to remove an adhesive-backed motor. Check that enclosure ribs, batteries and screw tips cannot crush the motor or trap its leads when the cover closes.

Create a small set of recognisable patterns

Start with a single pulse that is long enough for the particular motor to become perceptible. Then compare two pulses separated by a clear gap. Very short commands may produce little movement because a rotating motor needs time to accelerate; closely spaced pulses may merge because it takes time to slow down.

For a handheld classroom timer, an initial trial might use one acknowledgement pulse and a separate two-pulse completion pattern. These are categories to test, not universal timing specifications. Ask users to identify the patterns without looking at the display, holding the finished enclosure in its normal orientation.

Limit the pattern vocabulary. If every minor interface action vibrates, meaningful alerts become harder to recognise. Provide a way to reduce or disable feedback when appropriate. A vibration signal should also have a visible equivalent where missed feedback would confuse the user.

PWM is a control method, not a voltage exemption

PWM can adjust a suitable ERM's behaviour through its driver, but a low duty cycle does not automatically authorise supply pulses above the motor's ratings. Starting reliability also changes at reduced drive. Test operation across the intended battery range and temperature conditions, and use only operating modes supported by the motor and driver documentation.

Specialised haptic drivers may offer braking and waveform features. Their presence does not remove the need to configure them for the correct actuator. Avoid copying an LRA configuration into an ERM project, or assuming an automatic calibration routine can compensate for an unsuitable motor.

Check the finished device

  1. Confirm that power-up, reset and disconnected control signals leave the motor in the intended state.
  2. Run repeated alerts and check the motor, driver and enclosure for unexpected heating or loosening.
  3. Test with the weakest permitted battery condition and with other loads operating simultaneously.
  4. Repeat the feel test after closing the enclosure and securing all cables.
  5. Record the actuator, drive settings, mounting method and pattern timings together.

If the alert is weak, first distinguish electrical under-drive from poor mechanical coupling. If it rattles, inspect the assembly before increasing drive. A documented, repeatable mounting and test process usually improves a small haptic project more than adding another dozen software patterns.

Previous article Battery Power for Arduino Projects: Voltage Range, Runtime and Regulator Heat