Ingo Lohs
Published © GPL3+

Grove - Introduction in a Vibration Motor - only for adults

Beginner-Example

BeginnerProtip1 hour802
Grove - Introduction in a Vibration Motor - only for adults

Things used in this project

Hardware components

Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
×1
Seeed Grove Base Shield
×1
Seeed Grove - Vibration Motor
×1

Software apps and online services

Arduino Web Editor
Arduino Web Editor

Story

Read more

Code

Vibration Motor - Example

C/C++
Original code by Seeedstudio
int MoPin = 5;    // vibrator Grove connected to digital pin 5

void setup()  {
    pinMode( MoPin, OUTPUT );
}

void loop()  {

    digitalWrite(MoPin, HIGH);
    delay(1000);

    digitalWrite(MoPin, LOW);
    delay(1000);
}

Credits

Ingo Lohs

Ingo Lohs

85 projects • 116 followers
I am well over 40 years and come from the middle of Germany.

Comments