DuaneDegn:
Most of these sort of problems are caused by not enough power getting to the servo.How are you powering the servo?
Do you have a link to the servo you're using?
I supply servo separately with Power (5V,10A), it still vibrates. However, when I add sample code to test servo from Arduino forum It works normally.
Receive code
#include <Servo.h>
#define BT_SERIAL_TX 10
#define BT_SERIAL_RX 11
SoftwareSerial BluetoothSerial(BT_SERIAL_TX, BT_SERIAL_RX);
Servo myservo;
int i;
int val;
int array[2];
void setup()
{
Serial.begin(9600);
BluetoothSerial.begin(9600);
}
void loop()
{
myservo.attach(7);
int incoming = BluetoothSerial.read();
if (BluetoothSerial.available()>0){
array[0]= BluetoothSerial.parseInt(); // read the data
array[1]= BluetoothSerial.parseInt();
Serial.println(array[0]);
myservo.write(array[0]); // write value to servo
}
}