diff --git a/content/learn/04.electronics/05.servo-motors/assets/servo-knob-circuit.png b/content/learn/04.electronics/05.servo-motors/assets/servo-knob-circuit.png deleted file mode 100644 index 8293825ca9..0000000000 Binary files a/content/learn/04.electronics/05.servo-motors/assets/servo-knob-circuit.png and /dev/null differ diff --git a/content/learn/04.electronics/05.servo-motors/assets/servo-sweep-circuit.png b/content/learn/04.electronics/05.servo-motors/assets/servo-sweep-circuit.png deleted file mode 100644 index 376d3c0bc2..0000000000 Binary files a/content/learn/04.electronics/05.servo-motors/assets/servo-sweep-circuit.png and /dev/null differ diff --git a/content/learn/04.electronics/05.servo-motors/assets/servo_circuit_knob.png b/content/learn/04.electronics/05.servo-motors/assets/servo_circuit_knob.png new file mode 100644 index 0000000000..eb1f01c003 Binary files /dev/null and b/content/learn/04.electronics/05.servo-motors/assets/servo_circuit_knob.png differ diff --git a/content/learn/04.electronics/05.servo-motors/assets/servo_circuit_sweep.png b/content/learn/04.electronics/05.servo-motors/assets/servo_circuit_sweep.png new file mode 100644 index 0000000000..3f0881eee8 Binary files /dev/null and b/content/learn/04.electronics/05.servo-motors/assets/servo_circuit_sweep.png differ diff --git a/content/learn/04.electronics/05.servo-motors/servo-motors.md b/content/learn/04.electronics/05.servo-motors/servo-motors.md index 469d202178..241a6fee42 100644 --- a/content/learn/04.electronics/05.servo-motors/servo-motors.md +++ b/content/learn/04.electronics/05.servo-motors/servo-motors.md @@ -20,19 +20,23 @@ You can also visit the [Servo GitHub repository](https://github.com/arduino-libr ## Circuit -Servo motors have three wires: power, ground, and signal. The power wire is typically red, and should be connected to the 5V pin on the Arduino board. The ground wire is typically black or brown and should be connected to a ground pin on the board. The signal pin is typically yellow or orange and should be connected to PWM pin on the board. In these examples, it is pin number 9. +Servo motors have three wires: power, ground, and signal. The power wire is typically red, and should be connected to positive pole (+) of your power source. The ground wire is typically black or brown and should be connected to the negative pole (-) of your power source. + +The signal pin is typically yellow or orange and should be connected to PWM pin on the board. In these examples, it is pin number 9. + +***Always make sure to power your servo motor with a external power source. Connecting a servo directly to your board will cause your board to behave erratically and can damage your board*** ### Knob Circuit -For the **Knob** example, wire the potentiometer so that its two outer pins are connected to power (+5V) and ground, and its middle pin is connected to `A0` on the board. Then, connect the servo motor to +5V, GND and pin 9. +For the **Knob** example, wire the potentiometer so that its two outer pins are connected to power (+5V) and ground, and its middle pin is connected to `A0` on the board. Then, connect the servo motor as shown in the circuit below. -![The Knob Circuit.](assets/servo-knob-circuit.png) +![The Knob Circuit.](assets/servo_circuit_knob.png) ### Sweep Circuit -For the **Sweep** example, connect the servo motor to +5V, GND and pin 9. +For the **Sweep** example, connect the servo motor as shown in the circuit below. -![The Sweep Circuit.](assets/servo-sweep-circuit.png) +![The Sweep Circuit.](./assets/servo_circuit_sweep.png) ## Examples