Purchase OSSM PCB
Available pre-flashed from Research and Desire with the latest firmware, ready to use with your OSSM.
Available Options
Official OSSM PCB
Reference board with 5V step/dir outputs, integrated protection, and standardized connectors for reliable operation.
DIY Wiring
Breadboard or custom harnesses for prototyping or using alternative motor drivers.
Choosing Your Approach
- Official PCB
- DIY Wiring
The official OSSM PCB provides:
- Pre-mapped GPIO to step/dir/enable
- 3.3V-to-5V signal conversion for high‑speed, noise‑resistant control
- JST‑PH connectors for tidy cable management
- Built‑in power and back‑EMF protection
- A design validated by the OSSM community
Key Considerations
Before you decide, keep these factors in mind:Voltage level compatibility
Voltage level compatibility
ESP32 boards operate at 3.3V logic while many drivers use 5V inputs. Without proper level shifting, you may see:
- Missed steps at higher speeds
- Unreliable direction changes
- Risk of damaging components
Signal integrity
Signal integrity
High‑speed step signals (up to 200 kHz) demand clean wiring:
- Keep step and direction leads short
- Route signals away from motor power cables
- Use twisted pairs or shielded cable for runs longer than 30 cm
Power supply requirements
Power supply requirements
Size the driver supply for your motor:
- Servo motors commonly use 24–48V DC
- Stepper drivers vary by model (12–48V typical)
- Power the ESP32 from USB or a regulated 5V rail, independent of motor power
Official OSSM wiring
Use this section if you are wiring the OSSM PCB to the OSSM Gold Motor (57AIM series) or a compatible step/dir driver.Gather parts
- OSSM PCB
- 24V power supply (UL‑certified recommended)
- PH‑4 signal cable and green motor power connector (included with OSSM motor kits)
- Appropriate motor and driver
For the OSSM Gold Motor wiring walkthrough, see Wiring your Gold Motor.
Connect motor power
- Strip the red/black power leads.
- Insert red (+) and black (–) into the two‑position motor power terminal on the PCB.
- Tighten firmly to prevent intermittent connections.
Tug each wire gently. If it moves, retighten the terminal.
Connect step/dir signals
- Plug the keyed PH‑4 signal cable into the PCB’s 4‑pin header.
- Route the other end to the motor/driver control input as labeled.
Alternative wiring configurations
If you are interfacing a different step/dir driver or prototyping on a breadboard:Add a level shifter (required for 5V drivers)
Use a unidirectional 3.3V→5V level shifter for STEP, DIR, and ENABLE. Tie grounds between the ESP32, level shifter, and driver.
Wire power correctly
- Keep motor power separate from 5V logic rails.
- Size supply wiring for current. Use 16–24 AWG on the PCB motor output terminals.
Specifications
These specifications summarize the OSSM PCB capabilities.Power Input
| Parameter | Value |
|---|---|
| Voltage | 24V DC |
| Max current | 5A |
| Connector | 2.1 mm × 5.5 mm barrel jack |
Signal Outputs
| Parameter | Specification |
|---|---|
| Signal type | Step‑Dir |
| Logic level | 5V active low |
| Connector | JST‑PH‑4 |
Motor Power Output
| Parameter | Specification |
|---|---|
| Voltage | 24V |
| Max current | 6A |
| Terminals | 2× screw terminals |
| Wire gauge | 16–24 AWG |
Back‑EMF Protection
The PCB includes built‑in protection against regenerative voltage spikes:- Inline diode to protect the power supply from reverse current
- 1500 µF capacitor to handle regenerative energy
Related guides
OSSM PCB spec sheet
Detailed electrical specifications and connector pinouts.
Wiring your Gold Motor
Step‑by‑step wiring for the OSSM Gold Motor (57AIM series).
Flash your OSSM
Use the web flasher to load firmware onto your board.

