All pages
Powered by GitBook
1 of 1

Loading...

Wiring Actuators

DC Motors

Let's start by taking a look at the ports on the HD Hex Motor and Core Hex Motor:

Each motor has a power and encoder port. Encoders are a form of sensor built into the motor that can send information back to the Control Hub to be used during programming. Specifically, these motors use incremental encoders, which count the number of revolutions or "ticks".

Power Wires

Red provides power while black serves as the ground. These wires are keyed, meaning they are meant to only attach to the motor and Control Hub one way as dictated by the clip on the connector.

In the event a power wire is connected backwards, the motor will spin the opposite expected direction!

Encoder Wires

Similarly to the power wires, red provides power while black serves as ground. The blue and white wires transmute signal between the motor and the Control Hub. These wires can be used with various sensors, not just motor encoders. The wires are keyed with the intention of only connecting one way.

Connecting the Wires

When connecting the wires to both the motor and the Control Hub it should be a snug fit. Giving a small, light tug is a recommended practice to help wires are seated correctly.

On the servo end, the needed wire is already built-in. Unlike the motor wires, the power and ground are both black while white is the signal wire. On the Control Hub, signal is labeled as S.

These wires are not keyed meaning students will have to be careful which direction they are connecting them. While reversing the wire is unlikely to damage the servo, it will prevent it from working as expected.

Often times there may be a need to extend the built-in wire of the servo. To do so we can use a standard PWM cable.

The PWM wires available within the EDU Kit V2 are red for power, black for ground, and white for signal. When connecting a PWM cable to the servo's built-in cable, its easiest to focus on lining up the white signal wire to ensure the correct orientation.

Motor ports are located on the left side of the Control Hub and servo ports along the bottom.

For motors, each port pairs a power connector, the more square option, and an encoder connector, the more rectangular option.

The servo ports include a label to help with orienting the cable while connected since these are often not keyed.

When completing the , we tell the Control Hub what is connected and where.

It is NOT able to autodetect or correct once parts are wired meaning which port a motor is connected to DOES matter and should match the configuration.

For the testbed, the wiring layout is below:

Port
Actuator

After wiring your testbed, you will need to create a configuration before starting programming. Give this a try or review the section!

Recall that device names should be easily recognizable even, when creating test configs, to reduce future confusion. The names used from curriculum are below:

Actuator
Name

Motor Port 0

Core Hex Motor

Motor Port 1

HD Hex Motor

Servo Port 0

Core Hex Motor

coreHex

HD Hex Motor

ultraHex

Smart Robot Servo

Servos

PWM Wires

On the Control Hub

Testbed Wiring

configuration process
Creating a Configuration

Smart Robot Servo

servo