Skip to content

Commit 9b2e464

Browse files
committed
update article
1 parent 5b913bc commit 9b2e464

File tree

3 files changed

+28
-6
lines changed

3 files changed

+28
-6
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: "Troubleshoot servo motors"
3+
id: 360017053760
4+
---
5+
6+
Learn how to troubleshoot issues when servo motors are not moving or moving erratically.
7+
8+
---
9+
10+
## Quick checks
11+
12+
1. **Check connections:**
13+
14+
* Make sure the connection between the servo and the board is correct. Check the [Basic servo control tutorial](https://docs.arduino.cc/tutorials/generic/basic-servo-control) for a circuit diagram example.
15+
16+
2. **Verify Pin Configuration:**
17+
18+
* Confirm that you've connected the servo to the same pin mentioned in the code. For example, if you are using the [servo library](https://www.arduino.cc/reference/en/libraries/servo/), the code may inlcude a line such as `myservo.attach(9)` to attach the servo to a pin on the board. In this case, the **signal** input on the servo should be connected to the pin 9 on the board.
19+
20+
3. **Power Considerations:**
21+
22+
* Servo motors draw significant power, and the board might not supply enough energy. If you need to drive more than one or two servos, you may need to power them from a separate supply (i.e. not the 5V pin on your Arduino). Make sure the grounds of the Arduino and the external power supply are connected.
23+
24+
![two servo motors connected to the digital pins of an Arduino board, powered through a external battery connected to a breadboard](img/2-servos-set-up-diagram.png)
25+
26+
## Further reading
27+
28+
* <a class="link-external" href="https://www.arduino.cc/reference/en/libraries/servo/">Servo library reference</a>

content/Education and Kits/CTC 101 and CTC UNO/Why-are-the-servos-not-moving-or-moving-erratically.md

Lines changed: 0 additions & 6 deletions
This file was deleted.
48.9 KB
Loading

0 commit comments

Comments
 (0)