# Wiring Diagrams

<figure><img src="https://3023198990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnKoHwxC0Q1NBpLowZUmu%2Fuploads%2FSUxqHjsYuJiLGl68cwi3%2Fimage.png?alt=media&#x26;token=969a063c-1d84-4c0c-bb61-8aa1e25c557e" alt=""><figcaption></figcaption></figure>

**Wiring Diagrams** are a visual aid that show where everything is wired in an electrical system. Students can think of them like a map showing the pathways between the Control Hub and each device location.

Right now our testbed uses a very simple wiring set up that's easy to track, but imagine if every motor and servo port was in use. That's 9 devices and sets of wires going across the robot before adding sensors!

Encourage students to create a wiring diagram for their own projects and to update it as they work. A blank template is below that includes the parts for the EDU Kit V2.

{% file src="<https://3023198990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnKoHwxC0Q1NBpLowZUmu%2Fuploads%2FhyVWojb1SnJGPfuObPJz%2FEDU%20Kit%20V2%20Blank%20Wiring%20Diagram.pdf?alt=media&token=d1155c1e-ae60-407f-af7b-f20eba3d6be5>" %}

### Wiring Tips

Along with wiring diagrams, here are a couple additional good practices to make encourage to prevent part damage and confusion while working with the robot.

#### Label Wires

Individual wires or wire pairs (ex: a motor's encoder and power wires), can be labeled using things like printed labels, small pieces of tape, colored zip ties, etc. It's recommended to label both ends for easy identification.&#x20;

Labels may include port numbers, letters, device names, or whichever system works best for your classroom. When using something like colors, letters, or another code these can be added to the wiring diagram for the robot!

#### Wire Paths

While designing a robot or build, it's important to plan ahead where electronics will sit and wires will run. It's best to keep the Control Hub easily accessible and where the lights can be viewed. For wires, consider potential pinch points and moving components where they may become caught or tangled.&#x20;

#### Check Wires for Damage

Damaged wires may lead to parts not working as expected, causing shorts and damage, and pose a safety risk. While the robot is disconnected from power, encourage students to regularly check wires.&#x20;

This should also be a first step while troubleshooting, both to check things are wired correctly, but also securely with proper wires.

<figure><img src="https://3023198990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnKoHwxC0Q1NBpLowZUmu%2Fuploads%2Fogw6A4uilmZxrh5khYjL%2Fimage.png?alt=media&#x26;token=b99574c0-1fb4-48b4-ac79-e6b1e019fde9" alt="" width="406"><figcaption><p>PWM wires with exposed inner metal wiring</p></figcaption></figure>

Wires with exposed metal or fraying should be replaced.
