Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

The electronics used for this prototype consisted of: An Arduino Uno, Arduino motor shield, 3 jumper wires, and a 360 degree motor.

Figure 13: Electronics Used for Prototype


Arduino code used for constant counterclockwise motion:


#include <Servo.h>
#define Servo_PWM 6
Servo myservo;
int pos= 0;
void setup() {
myservo.attach (6);
}
void loop()
{
myservo.writeMicroseconds (2500);
millis();
}

  • No labels