Skip to main content
Tweeted twitter.com/StackArduino/status/1430319033187020804
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
deleted 122 characters in body; edited title
Source Link
dda
  • 1.6k
  • 1
  • 12
  • 17

Servo jitter with arduinoArduino

We're complete beginners with Arduino and we're working on a project that moves a pointer based on a color sensor reading.

weWe used two servo motors each: one performs a specific task, the small servo works pretty fine. the The problem is with the larger one.

weWe used this servo motor model: (towardpro MG996R). Arduino UNO, Arduino Uno and a color sensor

because. Because the motor is large we connect it to a 9 V power supply 9v.

butBut when we run the code it just vibratingvibrates in its place and the arm won't move :(

isIs there anything else we need to add to the circuit like a resistor or some thing!

HELP?

#include <Servo.h>
Servo largeServo;

void setup() {
  // put your setup code here, to run once:
largeServo.attach(6);
 
  largeServo.write(0); 
}

void loop() {
  // put your main code here, to run repeatedly:

  largeServo.write(0);
  delay (2000);
  largeServo.write(30);
  delay (2000);
  largeServo.write(60);
  delay (2000);
  largeServo.write(90);
  delay (2000);
}

Servo jitter with arduino

We're complete beginners with Arduino and we're working on a project that moves a pointer based on a color sensor reading.

we used two servo motors each one performs a specific task the small servo works pretty fine. the problem is with the larger one

we used servo motor model: (towardpro MG996R). Arduino UNO and a color sensor

because the motor is large we connect it to a power supply 9v

but when we run the code it just vibrating in its place and the arm won't move :(

is there anything else we need to add to the circuit like a resistor or some thing!

HELP

#include <Servo.h>
Servo largeServo;

void setup() {
  // put your setup code here, to run once:
largeServo.attach(6);
 
largeServo.write(0); 
}

void loop() {
  // put your main code here, to run repeatedly:

  largeServo.write(0);
delay (2000);
largeServo.write(30);
delay (2000);
largeServo.write(60);
delay (2000);
largeServo.write(90);
delay (2000);
}

Servo jitter with Arduino

We're complete beginners with Arduino and we're working on a project that moves a pointer based on a color sensor reading.

We used two servo motors each: one performs a specific task, the small servo works pretty fine. The problem is with the larger one.

We used this servo motor model: (towardpro MG996R), Arduino Uno and a color sensor. Because the motor is large we connect it to a 9 V power supply.

But when we run the code it just vibrates in place and the arm won't move :(

Is there anything else we need to add to the circuit like a resistor or some thing?

#include <Servo.h>
Servo largeServo;

void setup() {
  largeServo.attach(6);
  largeServo.write(0); 
}

void loop() {
  largeServo.write(0);
  delay (2000);
  largeServo.write(30);
  delay (2000);
  largeServo.write(60);
  delay (2000);
  largeServo.write(90);
  delay (2000);
}
Bumped by Community user
Source Link

Servo jitter with arduino

We're complete beginners with Arduino and we're working on a project that moves a pointer based on a color sensor reading.

we used two servo motors each one performs a specific task the small servo works pretty fine. the problem is with the larger one

we used servo motor model: (towardpro MG996R). Arduino UNO and a color sensor

because the motor is large we connect it to a power supply 9v

but when we run the code it just vibrating in its place and the arm won't move :(

is there anything else we need to add to the circuit like a resistor or some thing!

HELP

#include <Servo.h>
Servo largeServo;

void setup() {
  // put your setup code here, to run once:
largeServo.attach(6);

largeServo.write(0); 
}

void loop() {
  // put your main code here, to run repeatedly:

  largeServo.write(0);
delay (2000);
largeServo.write(30);
delay (2000);
largeServo.write(60);
delay (2000);
largeServo.write(90);
delay (2000);
}