Login

Run vibration coin motor using NodeMCU

Objectives

  • Run a vibration coin motor using NodeMCU

Things

  1. NodeMCU board (quantity: 1 no.)
  2. Micro USB cable A to B (quantity: 1 no.)
  3. Breadboard (quantity: 1 no.)
  4. Vibration coin motor (quantity: 1 no.)
  5. Push-button (quantity: 1 no.)
  6. 1kΩ resistor (quantity: 1 no.)
  7. Jumper wire – male to male (quantity: 3 no.)
  8. Arduino IDE on your computer

Let’s begin!

A vibration motor is a small motor with an imbalanced weight on the shaft. The imbalance of the weight causes the motor to vibrate while running. The motor is small and is also available in a coin shape and is therefore called a coin motor.

The motor draws a very small current. The NodeMCU can supply sufficient current to run the motor. We use a push-button to control when the motor runs. As long as the push-button is pressed, the motor will run.

Interfacing vibration coin motor with NodeMCU

 

Interfacing vibration coin motor with NodeMCU

 

Final Code

To copy the code, right click on view raw at the bottom of the code, click on open link in new tab and then copy the code.

There you go!

Takeaway

Loader Loading...
EAD Logo Taking too long?
Reload Reload document
| Open Open in new tab

We would love to see what you build out of these learnings!

Click here to submit your projects, share it with the world and stand a chance to be rewarded.

top

Knowledge and Content by Li2 Technologies | © 2021 NASSCOM Foundation | All rights reserved

X