I'm looking for an appropriate on/off/variable switch for this vibrating motor

I’m new to working with robotics and electronics, so I’m not sure where to start. Basically I am looking for a switch that will allow for variable speeds for this motor: https://www.robotshop.com/en/2mm-mini-vibrating-disk-motor.html?gclid=EAIaIQobChMIzITsoJWI6wIVcQnnCh1ZlAxvEAQYBCABEgJO8PD_BwE&utm_campaign=surfaces_across_google_usen&utm_medium=surfaces&utm_source=google

If anyone has a good starting point for me, that would be awesome. I’m not even sure what to begin searching for.

Hello @cayan and welcome to the RobotShop community,

The speed of the motor will vary with the voltage applied to the motor. With regular motors you would use a motor controller to control the speed by using PWM but as this is a mini vibrating motor you could simply use a potentiometer (variable resistor) in series with the vibration motor. As the resistance is increased, there is a greater voltage drop across the resistor and therefore the voltage at the motor is reduced so it will decrease its speed. You can find many potentiometer options available in the Linear & Rotary Resistors section of the store.

Let us know if you have further questions :smile:

2 Likes

Awesome, this is a great starting point for me. What about something that allows for various patterns of vibration? Also, how do I connect a battery to the motor and potentiometer what type of controller or connector do I need?

1 Like

What do you mean with “patterns”? Are you planning on controlling it manually? remotely? maybe program some “patterns”?

You have to connect everything in series, like this:
image

It would pretty much be the same circuit as this (but with 3.5V instead of 9)
http://www.learningaboutelectronics.com/Articles/How-to-vary-the-volume-of-a-buzzer

Also, how do I connect a battery to the motor and potentiometer what type of controller or connector do I need?

Which battery do you have?

1 Like

Like vibrating in a series like “buzz, buzz, buzz, pause, pause, buzz buzz” or something.

I’d like to control it remotely eventually, but I’m making a first version, where it doesn’t need to be remote just yet.

I don’t have a battery yet, and I’m not sure what type of connectors I need to buy on here to make it all work together. I don’t even know what a battery connector would be called.

I’ll take a look at that link. Thank you.

Ok! Well, if you want to also create sequences you will need a microcontroller to program that, a good option for Beginners is an Arduino. Which you can also use to power your circuit and you will also be able to control the speed of the motor by using PWM. Here’s a great tutorial for that:
https://www.precisionmicrodrives.com/content/how-to-drive-a-vibration-motor-with-arduino-and-genuino/

This is also a better option if you plan to control it remotely in the future.

Could you tell us what your project is for? If it needs to be something small you could use Lilypads.

1 Like

Yes, I’m playing around with a small vibrating oral massager for children and babies.

That sounds interesting!

Are you planning to have the battery, the microcontroller and the motor all in the same device? Or just the motor? If it’s supossed to be an oral massager you’d have to encase everything in a waterproof enclosure.

1 Like

Yes, I’d like to have the battery, the microcontroller and the motor all in the same device. I would encase everything in a waterproof encloser.

Awesome! Then you could use the motor you mentioned, a small microcontroller and a battery.

A nice option would be the Trinket Mini Microcontroller Board, unfortunately the 3.3V version is not available but this one is:

And you could do the PWM trick mentioned in the tutorial I shared to regulate the voltage. Then you would just need the battery and connector. For that microcontroller, you’ll need 5.5-16V so you can choose from a variety of batteries. A simple option is something like this:

And a good idea is using a switch to easily turn it on and off

And you could also get a button or a potentiometer to easily change between the “patterns” once you have programmed them.

1 Like