Glad you have it working. I did not want do explain diodes, that is a separate video in itself. Just remember: Always put a diode across the motor negative side pointed to the positive voltage. 👍😃
The cathode (the side with the stripe) goes to the motor's positive terminal (the red wire). But on your build I think you connected it in reverse. Is that right or am I making a mistake? Thank you! 5:37
If you mean that the diode needs to be with the cathode the the positive side, also called reversed biased then you are right. That is the way it should be.
@@kmtsvetanov I checked it, and it is difficult to see on the video. But I'm pretty sure that the cathode is going to the supply rail. I made it bit worse to not use properly coloured wires. For me, that is lesson learned!
I ordered the two vibrating devices that you featured in this video. Thank you for putting the Alibaba Express links in the description. I will be using them with a brand new Arduino UNO R4 Wifi device. The 8 octave (8x12 matrix) that is on that development board will work as a preliminary mock-up for the MIDI note indicators. Later, I will add a strip of addressable RGB LEDS and later a matching one of haptic devices - and maybe one of the two types that you suggested will be on that haptic strip. Thanks again.
Sounds very cool! Looking forward to see the result somewhere. I liked the second motor better for haptic feedback. But my guess is it will heavily depend on where and how you mount the motor how good the haptic feedback will work. Beyond this video I have not done anything with thee motors, but the idea of using this with a screen is still alive. So thanks for bringing this to my attention again. Need to do some more experimenting :D
the diode across the motor will help absorb the collapsed back emf after the forward drop is overcome, but does all the energy flow through the diode, current will follow least resistance path some might enter the collector also.
Yes correct. But if implemented correctly not enough to destroy your transistor. But still think about the size of the collapsed EMF and choose you diode and even your transistor to not be destroyed.
The black things. You can mean the transistors (with three legs) or the diode (with two legs.) If you look an 4:04 It Q1 (Transistor or D1 the diode) Hope this helps.
Awesome info! Much appreciated! Tried to work on this for a while! Would if we want to use several motors? Is the wiring more challenging for that? Thank you for sharing!
Thank you, no problem! For this simple application will do, but preferred are Schottky diodes. Because they have a lower forward voltage drop and will react faster when reversed biased. Something in the 1N58xx is fine for this.
Thank you very much for this beautiful video, but I want to ask you something because I am an Egyptian student and I am working on a scientific project and I will use these. What is the difference between using ESP or Arduino and which is better? Why did you use diode? Why did you use a transistor? Are they very important and indispensable? Is there any way to control the frequency? For example, I want a period of 50 Hz and a period of 250 Hz. Can I in any way control that? Thank you very much for your help I would be very grateful if you would reply to me
Just a normal 1N004. Depending on hirger currents you good go with the 02 or 03. But the diode is more important than the type of diode. 2n22222 will also work fine. So will a 1N4148.
How can i mount a circuit to connect this motors to work with an Audio Signal? In my case i need to connect this motors on parallel so they could work all with the same audio signal
Depending on the voltage level of the audio signal you can connect it directly yo the audio signal. If you are afraid there is a mismatch or generally a better way is create a motor driver with a steady 5V using a transistor and an OpAmp buffer to not load down the audio signal. The simplest way is in this circuit, change the signal from the microcontroller and plug in the audio signal.
@@DustinWatts I've just found a mini custom audio amplifier for sale, it's rated at 12V and 10W of maximum power, it comes with a potentiometer so the power is adjustable, do you think this could work?
@@SoyDavidYT Ifyou keep the voltge around 3V3 or 5V , I forgot what voltage these motors require, I would look up the listing below you are fine. They use very little urrent so 10W is a lot but you an start of with the lowest voltage and see where they work as you want it to. And as you get a bag full of them, destroying one is not a big disaster :)
@@DustinWatts I'm working on a device that when laying (any part of the body) on one of these motor types, it can buzz the person and move that body part from 4.4 to 12.2 micrometers. I liked how you said that the piezo actuator was more violent. Thanks again.
I've been curious about using some similar vibration devices to trigger the recording of a car dashcam when in 'parking mode'. They will wake up and record with a sudden impact when parked, but there are a multitude of scenarios I'd like to capture that may not set off the g sensor when in parking mode. For this, I plan to use the car alarms siren as a trigger (mine only gives audio feedback when triggered, not when locking/unlocking), as well as a dual stage proximity sensor. This should cover my worries, which include people getting too close/prying inside my tinted windows. Previously I thought of using a timer relay to give the dash cam 12v on its Ignition input, thinking that the vehicle is turned on and immediately recording. But if the alarm triggered a recording I have no way of knowing it occurred and the dashcam could record over said clip. By triggering the gsensor in parking mode instead, all parking mode clips get saved to a different file that can't be recorded over, and the dash cam warns yousomethjng happened when turning the vehicle on.
There is no direct way to specify the frequency. But depending on the voltage you can influence the RPM which will have a slight effect on the frequency. But these are not made to change the frequency. They do exists though, but are a lot more expensive.
My intention is to use a vibrator and ESP to trick the electronic park disc to think you’re driving. So I can reset the time since parked by sending a sms😊
There are some links in the description. But if you search on AliExpress for"Haptic Feedback Motor" you will find loads. But I recommend the affiliate links 😛
I used a simple on/off piece of code, like you would blink an LED. Using digitalWrite(PIN, HIGH) for on or digitalWrite(PIN, LOW) for off. You can also use analogWrite() to drive the MOSFET using PWM.
Thank you very much for this beautiful video, but I want to ask you something because I am an Egyptian student and I am working on a scientific project and I will use these. What is the difference between using ESP or Arduino and which is better? Why did you use diode? Why did you use a transistor? Are they very important and indispensable? Is there any way to control the frequency? For example, I want a period of 50 Hz and a period of 250 Hz. Can I in any way control that? Thank you very much for your help I would be very grateful if you would reply to me
Hi @Beau400! That is a lot of questions :) 1. An ESP and an Arduino a both boards with a micro controller. I like the ESP32 better because it has Bluetooth (also Bluetooth Low Energy, BLE) and WiFi. 2. The diode is to protect the transistors from the high voltage spike that can occur when using a motor. This spike now has a place to go (trough the diode and motor) instead of destroying our transistor. 3. The transistor is there so I can use a higher voltage and higher currents then an ESP32 pin can provide. I connect it to 5V. Which I cannot do directly to the ESP32 because it is a 3V3 device. 4. So no, they are not indispensable. 5. In the code you can change the frequency of the PWM signal that is connected to the base of the of the transistor. However I would change the duty cycle to get lower or higher frequencies. That is much easier. (there are a lot of tutorials on TH-cam how to do that). Thanks you for your comment and for watching my video! I hope you got something out of it!
I built this circuit over the weekend. It works perfectly! I had to watch several videos about diodes but I finally get it thanks to you!
Glad you have it working. I did not want do explain diodes, that is a separate video in itself. Just remember: Always put a diode across the motor negative side pointed to the positive voltage. 👍😃
The cathode (the side with the stripe) goes to the motor's positive terminal (the red wire).
But on your build I think you connected it in reverse. Is that right or am I making a mistake?
Thank you!
5:37
If you mean that the diode needs to be with the cathode the the positive side, also called reversed biased then you are right. That is the way it should be.
@@DustinWatts yas thank you. It's just that on the video i think that it was reversed
@@kmtsvetanov I checked it, and it is difficult to see on the video. But I'm pretty sure that the cathode is going to the supply rail. I made it bit worse to not use properly coloured wires. For me, that is lesson learned!
@@kmtsvetanov I can't really tell. But even if I made a mistake, do as I say, not as I do... lol
I ordered the two vibrating devices that you featured in this video. Thank you for putting the Alibaba Express links in the description. I will be using them with a brand new Arduino UNO R4 Wifi device. The 8 octave (8x12 matrix) that is on that development board will work as a preliminary mock-up for the MIDI note indicators. Later, I will add a strip of addressable RGB LEDS and later a matching one of haptic devices - and maybe one of the two types that you suggested will be on that haptic strip. Thanks again.
Sounds very cool! Looking forward to see the result somewhere. I liked the second motor better for haptic feedback. But my guess is it will heavily depend on where and how you mount the motor how good the haptic feedback will work.
Beyond this video I have not done anything with thee motors, but the idea of using this with a screen is still alive. So thanks for bringing this to my attention again. Need to do some more experimenting :D
the diode across the motor will help absorb the collapsed back emf after the forward drop is overcome, but does all the energy flow through the diode, current will follow least resistance path some might enter the collector also.
Yes correct. But if implemented correctly not enough to destroy your transistor. But still think about the size of the collapsed EMF and choose you diode and even your transistor to not be destroyed.
very helpful! Thanks for showing both the motors working!
Now you have to see how it sounds stuck to the inside of the case. I find the visual feed back is ok for me, as i drive the screen functions with it.
The black things. You can mean the transistors (with three legs) or the diode (with two legs.) If you look an 4:04 It Q1 (Transistor or D1 the diode) Hope this helps.
I recently had haptic vibration motor which is circular one
Yeah! They come in all shapes and sizes.
Awesome thanks for sharing!
You are very welcome Mic!
Vibration motors are super interesting, aren’t they?
may I ask ? For the vibration motor, what are the black things that you use to connect it to the breadboard ?
1:26 bro really said:💃💃💃💃💃🕺🕺🕺🕺👯♀️👯♂️👯♂️👯♀️
???
The second motor (the coin one) looks like its from a cell phone. don't know if it actually is or not but still pretty cool.
I think they use motors that are much smaller. And the motor you are talking about vibrates pretty heavily.
Awesome info! Much appreciated! Tried to work on this for a while! Would if we want to use several motors? Is the wiring more challenging for that? Thank you for sharing!
No not really… the wiring is the same for each motor. Don’t need to do anything else…
You can connect them to the same wires
Thanks. Great idea. For people that not know very well electronics, which kind of diode are you using?
Thank you, no problem! For this simple application will do, but preferred are Schottky diodes. Because they have a lower forward voltage drop and will react faster when reversed biased. Something in the 1N58xx is fine for this.
Thank you very much for this beautiful video, but I want to ask you something because I am an Egyptian student and I am working on a scientific project and I will use these.
What is the difference between using ESP or Arduino and which is better?
Why did you use diode?
Why did you use a transistor?
Are they very important and indispensable?
Is there any way to control the frequency? For example, I want a period of 50 Hz and a period of 250 Hz. Can I in any way control that?
Thank you very much for your help I would be very grateful if you would reply to me
I already responded to this reply, but there where two the same and now my response is gone 🤔
@@DustinWatts Oh, I made a mistake and wrote the comment twice. I'm sorry about that 🤦♀️🤦♀️
@@Beau400 No Problem!
Have you done this with PWM pin? Can you show code for that? Great video.
4:55
What kind of diod I should use?
Just a normal 1N004. Depending on hirger currents you good go with the 02 or 03. But the diode is more important than the type of diode. 2n22222 will also work fine. So will a 1N4148.
How can i mount a circuit to connect this motors to work with an Audio Signal?
In my case i need to connect this motors on parallel so they could work all with the same audio signal
Depending on the voltage level of the audio signal you can connect it directly yo the audio signal. If you are afraid there is a mismatch or generally a better way is create a motor driver with a steady 5V using a transistor and an OpAmp buffer to not load down the audio signal. The simplest way is in this circuit, change the signal from the microcontroller and plug in the audio signal.
@@DustinWatts thanks ♥️
@@DustinWatts I've just found a mini custom audio amplifier for sale, it's rated at 12V and 10W of maximum power, it comes with a potentiometer so the power is adjustable, do you think this could work?
@@SoyDavidYT Ifyou keep the voltge around 3V3 or 5V , I forgot what voltage these motors require, I would look up the listing below you are fine. They use very little urrent so 10W is a lot but you an start of with the lowest voltage and see where they work as you want it to. And as you get a bag full of them, destroying one is not a big disaster :)
@@DustinWatts yeah, actually I just noticed, this amplifier supports voltage imput from 3 volts, all around 12 V
Great video. Thank you.
Thank you for your compliment! You are welcome!
@@DustinWatts I'm working on a device that when laying (any part of the body) on one of these motor types, it can buzz the person and move that body part from 4.4 to 12.2 micrometers. I liked how you said that the piezo actuator was more violent. Thanks again.
@@surfviewgardens2396 I'm glad my experience helped!
Is there a way to program the vibration to make it like a hearthbeath?
Yeah sure that would be possible...
May need a circuit to fire the motor at the correct timings, Recommend using an arduino for prototyping then making a custom circuit when finished
@@stoobidthing Sure any micro-controller will work. Just use PWM the base of a BJT or the gate of a MOSFET and you can do anything you want.
Great video!
I need to develop a system for swimming kids that warns when is getting close to end
I've been curious about using some similar vibration devices to trigger the recording of a car dashcam when in 'parking mode'.
They will wake up and record with a sudden impact when parked, but there are a multitude of scenarios I'd like to capture that may not set off the g sensor when in parking mode.
For this, I plan to use the car alarms siren as a trigger (mine only gives audio feedback when triggered, not when locking/unlocking), as well as a dual stage proximity sensor. This should cover my worries, which include people getting too close/prying inside my tinted windows.
Previously I thought of using a timer relay to give the dash cam 12v on its Ignition input, thinking that the vehicle is turned on and immediately recording. But if the alarm triggered a recording I have no way of knowing it occurred and the dashcam could record over said clip.
By triggering the gsensor in parking mode instead, all parking mode clips get saved to a different file that can't be recorded over, and the dash cam warns yousomethjng happened when turning the vehicle on.
Sounds like you did a good job! Congrats and thanks for sharing! :D
very helpful sir! Thanks :)
You are welcome! Glad it helped!
Can we specify the frequency?
There is no direct way to specify the frequency. But depending on the voltage you can influence the RPM which will have a slight effect on the frequency. But these are not made to change the frequency. They do exists though, but are a lot more expensive.
You can use PWM tho
Very good, thank you
You are welcome! :D
My intention is to use a vibrator and ESP to trick the electronic park disc to think you’re driving.
So I can reset the time since parked by sending a sms😊
how to bay this motor
There are some links in the description. But if you search on AliExpress for"Haptic Feedback Motor" you will find loads. But I recommend the affiliate links 😛
Hi,Can I ask you what kind of diode?
Can I use 1N4004-T in the case?
Pretty much any diode will do.
@@DustinWatts Ok!I will go try for it. Thanks a lot!
Hello please is it possible to send me the code or put with the link that you put below the video
The code is in the video it self. It is really basic. Just pause the video, take a screenshot and type :)
Cool stuff
can you show us the code?
I used a simple on/off piece of code, like you would blink an LED. Using digitalWrite(PIN, HIGH) for on or digitalWrite(PIN, LOW) for off. You can also use analogWrite() to drive the MOSFET using PWM.
no wonder why is my sister keep asking me to make a massager
Buzz bozzz
;)
EHH EHH EHH EHH EHH EHH EHH EHH EHH EHH EHH EHH
Are you trying to replicate the buzzer sound?
I say that whenever something moves around rapidly in a killer fashion
EEH EEH EEH EEH EEH EEH EEH EEH EEH EEH EEH EEH
I HAVE THIS MOTOR BERY STRONG VIBRATOR
Yes... I like these motors too!
Finally\ i\
can\ 6jmake\ 6jmy\
gf\ happy!
Thank you very much for this beautiful video, but I want to ask you something because I am an Egyptian student and I am working on a scientific project and I will use these.
What is the difference between using ESP or Arduino and which is better?
Why did you use diode?
Why did you use a transistor?
Are they very important and indispensable?
Is there any way to control the frequency? For example, I want a period of 50 Hz and a period of 250 Hz. Can I in any way control that?
Thank you very much for your help I would be very grateful if you would reply to me
Hi @Beau400! That is a lot of questions :)
1. An ESP and an Arduino a both boards with a micro controller. I like the ESP32 better because it has Bluetooth (also Bluetooth Low Energy, BLE) and WiFi.
2. The diode is to protect the transistors from the high voltage spike that can occur when using a motor. This spike now has a place to go (trough the diode and motor) instead of destroying our transistor.
3. The transistor is there so I can use a higher voltage and higher currents then an ESP32 pin can provide. I connect it to 5V. Which I cannot do directly to the ESP32 because it is a 3V3 device.
4. So no, they are not indispensable.
5. In the code you can change the frequency of the PWM signal that is connected to the base of the of the transistor. However I would change the duty cycle to get lower or higher frequencies. That is much easier. (there are a lot of tutorials on TH-cam how to do that).
Thanks you for your comment and for watching my video! I hope you got something out of it!
@@DustinWatts Thank you sooooo much for your time. I am grateful to you ❤❤
@@Beau400 I am grateful for you watching and that it helped!