Drive motor and controller LEGO connectors

Set of LEGO-compatible connectors for a geared drive motor (YG2900) and two common motor controllers (HG7881 and L298N)
14
72
0
799
updated February 27, 2025

Description

PDF

Connectors with LEGO-compatible studs for mounting a geared drive motor (commonly called a YG2900) using M3 pan head screws and nuts - plus connectors for two common motor controllers (HG7881 and L298N).

The connectors can be used:

  • either to build simple test beds for developing control code with (say) a Raspberry Pi or a simpler microcontroller like the ESP32, or
  • for building complete LEGO constructs with ‘mechatronic’ moving parts.

More detailed context when used with a Raspberry Pi Maker Kit PCB assembly is available at this link and example ‘mechatronic’ software for a Raspberry Pi can be downloaded from here.

All the components use 1.75mm PLA and a layer height of 0.15mm with print details for each component produced on an i3 Mk3 shown in the table below.

component file name/descriptionneeds support (Y/N)brim (mm)filament 
length (m)
print time 
(i3 Mk3)
motor_vertical_LEGO_slim_case03_repaired.stl: connector that mounts the motor drive shaft verticallyY59.073h 33m
motor_vertical_LEGO_adaptor02_repaired.stl:  adaptor that connects to the motor drive shaftN52.1247m
motor_horizontal_LEGO_slim_case02.stl: connector that mounts the motor drive shaft horizontallyY55.142h 08m
motor_horizontal_LEGO_case01.stl: alternative connector arrangement that mounts the motor drive shaft horizontallyY57.383h 36m
HG7881_LEGO_3x3_tile01.stl: connector for the HG7881 motor controllerY30.6921m
L298N_LEGO_5x5_tile02.stl: connector for the L298N motor controllerY31.746m

Tags



Model origin

The author marked this model as their own original creation.

License