Login

Toggle action to control a vibration coin motor using NodeMCU

Objectives

  • Toggle action (press – motor ON and press – motor OFF)  to control 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!

Vibration coin motors are compact and convenient to use. They integrate into many designs because they have no external moving parts, and can be affixed in place with a strong permanent self-adhesive mounting system.

 

 

Interfacing a vibration coin motor using 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