2 added 317 characters in body
source | link

You cannot. You will need an Arduino at the servo end to generate the PWM signal from serial instructions sent over Bluetooth.

Since PWM is (typically) 8-bit and serial is (typically) 8-bit you could simply have each byte as a 1:1 mapping to a PWM value.

One the transmit end:

bluetoothSerial.write(pwmValue);

On the receive end:

if (bluetoothSerial.available()) {
    analogWrite(9, bluetoothSerial.read());
}

You cannot. You will need an Arduino at the servo end to generate the PWM signal from serial instructions sent over Bluetooth.

You cannot. You will need an Arduino at the servo end to generate the PWM signal from serial instructions sent over Bluetooth.

Since PWM is (typically) 8-bit and serial is (typically) 8-bit you could simply have each byte as a 1:1 mapping to a PWM value.

One the transmit end:

bluetoothSerial.write(pwmValue);

On the receive end:

if (bluetoothSerial.available()) {
    analogWrite(9, bluetoothSerial.read());
}
1
source | link

You cannot. You will need an Arduino at the servo end to generate the PWM signal from serial instructions sent over Bluetooth.