LabWired The easy way to build hardware
board I/O module

Brushed DC motor

The Brushed DC motor is a board I/O module in the LabWired part catalog. Its catalog type is dc-motor. It connects to the MCU over GPIO. It has 2 pins. A device model in the simulation engine, reached through a dedicated dispatch path rather than the peripheral registry.

From the catalog: Hobby brushed DC motor: canvas is two terminals (+/−). Deterministic plant still takes PWM (and optional H-bridge controls as emit defaults). Core services the plant at most every MOTOR_SERVICE_QUANTUM_CYCLES (4096) simulator cycles — deterministic, but not every PWM edge is reconstructed.

Key facts

CategoryBoard I/O modules
Catalog typedc-motor
InterfaceGPIO
Pins2

What LabWired simulates

What is simulated

Simulated device model

How it was validated

Built from the datasheet. Implemented from the part’s register documentation and exercised by automated tests. Nothing physical was ever placed next to it.

Brushed DC motor pinout

PinElectrical typeFunction
+ Passive PWM
- Passive —

How to simulate the Brushed DC motor in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the Brushed DC motor (catalog type dc-motor).
  3. Connect + to a pin that can output PWM.
  4. Connect - as your circuit needs.
  5. Run the firmware. It drives and reads the pins of the part, and the device model responds on those pins.

Related Board I/O modules

All Board I/O modules · All parts

No manufacturer datasheet is indexed for this part yet, so none is linked here.