William Back to work
← Project timeline

Personal robotics project / Operational prototype

Three-wheel swerve drivetrain

I designed and built a three-module swerve drivetrain to study independent wheel drive and steering. The prototype can travel straight, move sideways, and rotate in place. I plan to use it as a platform for depth-camera navigation.

My work included researching coaxial swerve mechanisms, designing the modules, selecting electronics, and assembling the chassis and wiring.

Interactive CAD

Drivetrain assembly

Drag to rotate the model. Scroll or pinch to zoom.

Three-module swerve drivetrain / CAD assemblyDrag to rotate

Optimized 3D preview / about 5.4 MB.

Loading the interactive model...

Physical prototype

The assembled drivetrain

The operational prototype brings the modules, motors, controllers, and wiring together in one chassis, now with the arm installed.

My assembled three-module swerve drivetrain with its arm installed, showing the motors, controllers, and wiring
Working prototype / drivetrain and armCurrent build
Status Assembled and operational Modules Three independently steerable pods Demonstrated Straight, sideways, and turning motion

01

Movement overview

A drive motor spins each wheel to propel the robot. A separate steering motor turns each module to point its wheel in a chosen direction.

Wheel drive

Each drive motor controls its wheel’s speed and direction of rotation, providing the force that moves the chassis.

Module steering

A separate steering motor rotates each module about its steering axis to set the wheel’s travel direction.

Coordinated motion

Coordinating the three wheel speeds and steering angles allows the chassis to translate or rotate. For sideways travel, the wheels align across the chassis; for rotation in place, they align tangent to circles about the chassis center.

02

Design decisions

Component cost and space for future attachments guided the module count, motor selection, and chassis layout.

Three modules instead of four

Three modules reduce the number of motors, drivers, and mechanical parts compared with a four-module layout. The control calculations must account for the position of each module on the chassis.

Brushed DC motors

I selected brushed DC motors to reduce the cost of the prototype. Production cost and manufacturing requirements have not been evaluated.

Chassis layout

I kept the drivetrain compact and left room for an arm and other attachments. The current build includes the arm mounted above the chassis.

03

Mechanical design

I developed a coaxial module with an internal steering disk and an adjustable bearing stack to control axial movement.

Steering disk

The internal disk carries the steering-belt teeth. Flanged bearings contact its two axial faces to constrain movement along the steering axis.

Bearing preload

The bearings mount on a standoff slightly shorter than the disk’s axial thickness. Tightening the fasteners draws the assembly together and adjusts the bearing preload. The standoff length determines the available closure.

Clearance and friction

The preload should limit axial play while allowing the module to steer freely. Excessive preload can increase friction or cause binding. Axial play, friction, preload, and wear have not yet been measured.

Side CAD view of my coaxial swerve pod, showing its wheel, internal steering mechanism, plates, bearings, and standoffs
Module side view / CAD
Exploded CAD render of the swerve module bearing stack, showing the toothed steering disk, flanged bearings, central standoff, washers, and fasteners
Bearing stack / exploded CAD view

04

Electrical and control integration

Unlike my earlier builds with packaged goBILDA and REV electronics, this drivetrain required individual component selection, power distribution, and a custom wiring harness.

Battery source3S LiPo
Drive power

3 × MDD10A

One dual-channel motor driver per module.

Buck branch 01

5.1 V / Raspberry Pi 4B

Dedicated converter output for the Pi.

Buck branch 02

5 V / servos

Separate converter output for servo power.

Buck branch 03

3.3 V / sensors

Separate converter output for sensor power.

5 V ↔ 3.3 V logic-level converterFor signals between the two logic-voltage domains

Power distribution overview; individual wiring connections are omitted.

Controller hierarchy
Raspberry Pi 4BHost computer
RP2040Subordinate controller

The controller task split and communication interface still need to be documented.

Wiring harness

As the build grew, I moved away from solderless breadboards for the current-carrying wiring. I assembled the prototype harness with lever connectors and soldered connections instead.

05

Custom PCB design

I designed a custom PCB to bring the control chips, connections, and power distribution onto one board. I laid out the chips and routed the signals around an integrated power structure, with the goal of simplifying the wiring and making the electronics easier to assemble.

Custom PCB layout showing chip placement, routed signal traces, power connections, and mounting holes
Self-designed PCB / chip layout and power distribution Board layout

06

Testing and next steps

Initial tests confirm basic movement. Steering accuracy, positioning error, and payload capacity still require measurement.

Demonstrated

Operational checks

  • Each module can steer, and each wheel can drive.
  • The robot drives straight.
  • The robot moves sideways.
  • The robot rotates in place.
Pending

Performance measurements

  • Steering accuracy has not been quantified.
  • Positioning error has not been tested.
  • Payload capacity has not been tested.
  • The IMU is awaiting delivery; it is not installed.

Controls and arm

Next, I plan to finalize the initial control software and test handling and payload capacity with the arm installed.

Navigation and electronics

Longer-term plans include depth-camera navigation and integrating the custom PCB. The intended application is transporting payloads between locations.

Test plan

  • Compare commanded and measured steering angles across repeated moves.
  • Record straight, sideways, and rotational paths against a marked floor grid.
  • Increase the arm payload in controlled steps and record the load and test conditions.