We’re showing to you how to use vibration motor with Arduino on tinkercad.
Gravity: Vibration Motor Module For Arduino – DFRobot
hello and welcome in this episode we’re showing to you how to use vibration motor with arduino if you didn’t yet subscribe please subscribe to get our latest videos on the channel
here is the vibration motor that is used in the smartphones and in all applications that make feedback to the user like keyboards or any other devices like kids devices that give feedback to the user
if you want to make an application that makes vibration as an indication to the user you can use this small vibration motor
in the past it has been made of a small motor but nowadays it’s a closed module like this but it still makes small vibration and you can also power it from the arduino power supply because it draws small current than the normal motor
but you still cannot drive it from arduino microcontroller because arduino microcontroller pins cannot supply the current to that motor anyway
you can see the data sheet or that motor if you bite and see how much current it draws for supply
let’s see the circuit it’s a simple circuit that uses a transistor as a switch you can use any npn transistor as a switch and here is the pin number three in arduino
you can use it to switch the vibration on and off through a resistor one kilo ohm to the base of the transistor and the emitter is connected to ground of arduino the collector is connected to the negative terminal of the vibration motor and the positive terminal of the vibration motor is connected to the five volts of arduino here that vibration motor is supplied from the arduino power supply source but you still need to check the data sheet of his vibration motor to see how much current it draws from its source let’s go to the code it’s a simple code just like the blink example that links an led on and off first we define the pin mode as an output pin then we use the igital right too high and we use the delay on and then we make digital right low and then we repeat the delay again here we need to see something about that vibration motor there are some types one type that makes the vibration when it’s connected to the volt and other type of vibration motor that makes the vibration only when the pin voltage is alternating between high and low in the first type in which you can make vibration when the oltage is connected you can use long delay intervals like this one second but in the second type of vibration motor where you need to make fast alternations between high and low you can make this delay smaller you can make something like 100 milliseconds or 10 milliseconds that makes that vibration motor alternates fast between high and low that depends on your type of vibration motor so let’s start simulation and see it it’s just like the blink the led blink example we start the simulation as we can see here the vibration motor is vibrating in one second interval you can use it in any application that uses vibration as a feedback for the user
for the code and the schematic click here
Recent posts
- The “Secretary of War” and the Beast: Why the Doomsday Plane Just Landed at LAX
On January 8, 2026, the Boeing E-4B Nightwatch, known as America’s “Doomsday Plane,” made a rare appearance at Los Angeles International Airport. It transported Secretary of War Pete Hegseth during his “Arsenal of Freedom” tour, aimed at reviving the defense industrial base, sparking debate over its high operational costs amidst its significant Cold War legacy. - Build a Pinguino Egypt: A PIC-Based Arduino Clone (Complete Guide + Resources)
I wanted to build my own Arduino. Here’s a project where you can build Arduino Compatible with your favorite Microchip PIC Microcontroller. - Why I Built This App: Stepping Away From Screens to Come Back to Ourselves
Lately, I’ve been spending time reading posts on Reddit. Not the funny ones or the viral threads—but the honest ones. People talking about how isolated they feel. How unproductive. How days blur together behind screens. How they feel connected to everyone and no one at the same time. What struck me wasn’t laziness or lack… Read more: Why I Built This App: Stepping Away From Screens to Come Back to Ourselves - US ‘Doomsday Plane’ Spotted Today: What It Is, Why It Matters, and What We Know So Far
The U.S. Air Force E-4B “Doomsday Plane” was sighted landing at LAX, attracting public attention due to its rare visibility. Designed as a National Airborne Operations Center, it ensures military command during crises. However, today’s appearance likely reflects routine operations rather than an emergency, emphasizing its role in military preparedness. - Why Arduino Ultrasonic Sensor Gives Random Values ? (And 3 ideas to Fix It)If your Arduino ultrasonic sensor gives random, unstable, or jumping distance values, you are not alone. This is one of the most common Arduino beginner problems, both in real hardware and even in Tinkercad simulation. In this article, we’ll explain: What “Random Values” Really Means When people say random values, they usually mean: These symptoms… Read more: Why Arduino Ultrasonic Sensor Gives Random Values ? (And 3 ideas to Fix It)
- The Advantages and Disadvantages of Quantum AIrtificial Intelligence (AI) has already changed the way we live, work, and solve problems. But when you combine AI with quantum computing, a new frontier opens — one that could transform industries at a speed and scale we’ve never imagined. This powerful combination is called Quantum AI. Like any disruptive technology, Quantum AI carries both… Read more: The Advantages and Disadvantages of Quantum AI
- How to Save Money with AI: A Practical Guide
Artificial Intelligence (AI) is transforming not only industries but also personal finance. Beyond hype, AI tools can directly help you save money, cut waste, and make smarter everyday decisions. Here are seven practical ways to use AI for financial savings: 1. Smarter Shopping AI-powered apps and extensions automatically find coupons, discounts, and cheaper alternatives online.… Read more: How to Save Money with AI: A Practical Guide - My Experience at the First Alexandria Quantum Hackathon
Today, I had the incredible opportunity to attend the first Alexandria Quantum Hackathon — a landmark event in Egypt and the wider region dedicated to quantum computing education and innovation. The event was hosted at the iconic Bibliotheca Alexandrina, making it even more inspiring to witness the future of computing being discussed in such a historic place… Read more: My Experience at the First Alexandria Quantum Hackathon
