Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Robotics
  4. ›STM32 Motor Control Expansion Boards

Component guide · Advanced · 3 min read

STM32 Motor Control Expansion Boards

STSPIN230 and STSPIN830 BLDC, STSPIN240 Dual DC, X-NUCLEO-IHM06A1 STSPIN220 Stepper and X-NUCLEO-IHM15A1 Dual DC

By Geekobot Learning Team · Updated 29 Oct 2026

On this page
Short answerWhat the STM32 motor control boards (STSPIN230, STSPIN240, STSPIN830, IHM06A1, IHM15A1) isSTM32 motor control boards (STSPIN230, STSPIN240, STSPIN830, IHM06A1, IHM15A1) pinoutWiring the STM32 motor control boards (STSPIN230, STSPIN240, STSPIN830, IHM06A1, IHM15A1)Example codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

These ST boards plug into a Nucleo and drive motors with STSPIN chips. STSPIN230 and STSPIN830 drive small three-phase brushless motors, ideally with ST's Motor Control SDK and field-oriented control. STSPIN240 and IHM15A1 drive two brushed DC motors. IHM06A1 uses the STSPIN220 for small low-voltage stepper motors with up to 1/256 microstepping.

Key specs at a glance

STSPIN230
3-phase BLDC, 1.8 to 10V, about 1.3A RMS
STSPIN830
3-phase BLDC, 7 to 45V, about 1A RMS
STSPIN240
Dual brushed DC, 1.8 to 10V, about 1.3A per channel
STSPIN220 (IHM06A1)
Stepper, 1.8 to 10V, up to 1/256 microstepping
Control
PWM, direction and fault pins to the Nucleo
Software
X-CUBE-SPN packs, ST Motor Control SDK for BLDC
!Safety: High current: wires and parts get hot

This part can carry many amps. Use wire thick enough for the current, put a fuse close to the battery, check that connectors are rated for the load and give drivers and motors room to cool. A short at these currents melts wires in seconds.

Models in this guide

These are alternatives. Pick the one that fits your project; you only need one.

  • Option 1STM STSPIN230 Low Voltage 3-Phase BLDC Motor Driver Board₹1,329
  • Option 2STMicroelectronics STSPIN240 Dual DC Motor Driver Expansion Board₹1,039
  • Option 3STSPIN830 BLDC Motor Driver Board for STM32 Nucleo₹2,089
  • Option 4STMicroelectronics X-NUCLEO-IHM06A1 STSPIN220 Stepper Driver₹1,269
  • Option 5STMicroelectronics X-NUCLEO-IHM15A1 Dual DC Motor Driver for STM32 Nucleo₹1,619
01

What the STM32 motor control boards (STSPIN230, STSPIN240, STSPIN830, IHM06A1, IHM15A1) is

STM32 motor control expansion boards, such as the X-NUCLEO-IHM series, add DC, stepper and BLDC motor drivers to STM32 Nucleo boards, used with ST's Motor Control SDK.

Use these to learn ST's motor control tools or prototype a low-voltage product. For hobby robots, the TB6612FNG or SimpleFOC Mini are simpler and have more Arduino examples.

The BLDC boards need a motor profile: run ST's Motor Control Workbench, enter the motor's pole pairs, resistance and inductance, and generate the project.

02

STM32 motor control boards (STSPIN230, STSPIN240, STSPIN830, IHM06A1, IHM15A1) pinout

The pins on the STM32 motor control boards (STSPIN230, STSPIN240, STSPIN830, IHM06A1, IHM15A1) and what each one does.

PinFunction
Motor outputsU, V, W for BLDC or A and B pairs for DC and stepper
Motor supplyScrew terminal, separate from USB
Uno headersPWM, enable, direction, fault
Current senseShunt resistors to Nucleo ADC pins
Hall / encoderSensor input header on BLDC boards
PinFunction
Motor outputs
U, V, W for BLDC or A and B pairs for DC and stepper
Motor supply
Screw terminal, separate from USB
Uno headers
PWM, enable, direction, fault
Current sense
Shunt resistors to Nucleo ADC pins
Hall / encoder
Sensor input header on BLDC boards
03

Wiring the STM32 motor control boards (STSPIN230, STSPIN240, STSPIN830, IHM06A1, IHM15A1)

Turn the motor supply off before connecting or disconnecting a motor. Low-voltage boards are damaged by 12V supplies.

STM32 motor control boards (STSPIN230, STSPIN240, STSPIN830, IHM06A1, IHM15A1) pinConnectionNote
Motor supplyScrew terminalWithin the board's voltage range
MotorOutput terminalsDo not exceed the current rating
NucleoStack on Uno headersChoose the matching Nucleo listed in the manual
Motor supply
Connection:
Screw terminal
Note:
Within the board's voltage range
Motor
Connection:
Output terminals
Note:
Do not exceed the current rating
Nucleo
Connection:
Stack on Uno headers
Note:
Choose the matching Nucleo listed in the manual
04

Example code

The pin names here are placeholders: copy the real ones from the board's user manual or use the X-CUBE-SPN example project.

Drive two DC motors with STSPIN240 using plain PWM (STM32duino) · Arduino C++Verify & upload in Electrolark
// Pin numbers depend on the board: check the user manual's Arduino pin table
const int PWM_A = D9, DIR_A = D7, PWM_B = D10, DIR_B = D8, EN = D4;

void setup() {
  pinMode(EN, OUTPUT); pinMode(DIR_A, OUTPUT); pinMode(DIR_B, OUTPUT);
  digitalWrite(EN, HIGH);
}

void loop() {
  digitalWrite(DIR_A, HIGH); digitalWrite(DIR_B, HIGH);
  analogWrite(PWM_A, 160);   analogWrite(PWM_B, 160);
  delay(2000);
  analogWrite(PWM_A, 0);     analogWrite(PWM_B, 0);
  delay(1000);
}
05

Setup and tuning

Stack

plug onto a Nucleo board's Arduino or Morpho headers.

Power

feed motor power to the expansion board's terminals within its voltage range.

Software

use X-CUBE-SPN for steppers or the Motor Control Workbench for BLDC FOC.

Tuning

enter motor parameters and run the profiler for FOC.

Protection

set current limits before the first spin.

06

What you need

Shop this list7 of 7 found in our store · ₹10,555

  • STM STSPIN230 Low Voltage 3-Phase BLDC Motor Driver Board: the part this guide coversSTM STSPIN230 Low Voltage 3-Phase BLDC Motor Driver Board₹1,329
  • STMicroelectronics STSPIN240 Dual DC Motor Driver Expansion Board: another version this guide coversSTMicroelectronics STSPIN240 Dual DC Motor Driver Expansion Board₹1,039
  • STSPIN830 BLDC Motor Driver Board for STM32 Nucleo: another version this guide coversSTSPIN830 BLDC Motor Driver Board for STM32 Nucleo₹2,089
  • STMicroelectronics X-NUCLEO-IHM06A1 STSPIN220 Stepper Driver: another version this guide coversSTMicroelectronics X-NUCLEO-IHM06A1 STSPIN220 Stepper Driver₹1,269
  • STMicroelectronics X-NUCLEO-IHM15A1 Dual DC Motor Driver for STM32 Nucleo: another version this guide coversSTMicroelectronics X-NUCLEO-IHM15A1 Dual DC Motor Driver for STM32 Nucleo₹1,619
  • NUCLEO-F446RE: the usual host board for X-NUCLEO expansion boardsSTMicroelectronics NUCLEO-F446RE Development Board₹3,033Closest match, check the specs
  • Digital multimeter: to check supply and signal voltagesDigital Multimeter₹177
07

Alternatives and when to choose them

  • ✓TB6612FNG: easy dual DC driver.
  • ✓SimpleFOC Mini: Arduino BLDC control.
  • ✓DRV8825: common stepper driver.
08

Common mistakes to avoid

  • !Wrong motor parameters.
  • !Powering motors from USB.
  • !No current limit.
  • !Header mismatch.
09

Frequently asked questions

How do I run a BLDC motor with an IHM board?

Use the Motor Control Workbench to generate FOC code for your Nucleo.

Which software supports steppers?

The X-CUBE-SPN packages provide drivers and examples for IHM stepper boards.

Why does the motor not start?

The motor parameters or the current limit are wrong for your motor.

Can I power motors from USB?

No. Feed motor power through the expansion board's terminals.

What is FOC?

Field-oriented control, which drives BLDC motors smoothly and efficiently.

Parts for this guide

  • STM STSPIN230 Low Voltage 3-Phase BLDC Motor Driver Board
    ₹1,329View
  • STMicroelectronics STSPIN240 Dual DC Motor Driver Expansion Board
    ₹1,039View
  • STSPIN830 BLDC Motor Driver Board for STM32 Nucleo
    ₹2,089View
  • STMicroelectronics X-NUCLEO-IHM06A1 STSPIN220 Stepper Driver
    ₹1,269View
  • STMicroelectronics X-NUCLEO-IHM15A1 Dual DC Motor Driver for STM32 Nucleo
    ₹1,619View
  • STMicroelectronics NUCLEO-F446RE Development Board
    ₹3,033View
  • Digital Multimeter
    ₹177View
Shop STM32 & STMicroelectronics Series

Keep learning

Buying guideIntermediateSTM32 Nucleo and Discovery BoardsSTM32 Nucleo boards are low-cost development boards with a built-in ST-LINK programmer and Arduino Uno-style headers.3 min read · Boards & MicrocontrollersComponent guideAdvancedSimpleFOCmini BLDC Motor DriverSimpleFOCmini is a tiny three-phase BLDC driver based on the DRV8313, made for the SimpleFOC Arduino library.3 min read · Motors & MotionComponent guideBeginnerTB6612FNG motor driverThe TB6612FNG drives two DC motors at up to 1.2 A each (3.2 A peak) with MOSFETs, so it wastes far less voltage than an L298N.4 min read · Motors & Motion

Sources

  • ST STSPIN datasheets
  • X-NUCLEO-IHM06A1 and IHM15A1 user manuals

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the STM32 motor control boards (STSPIN230, STSPIN240, STSPIN830, IHM06A1, IHM15A1) isSTM32 motor control boards (STSPIN230, STSPIN240, STSPIN830, IHM06A1, IHM15A1) pinoutWiring the STM32 motor control boards (STSPIN230, STSPIN240, STSPIN830, IHM06A1, IHM15A1)Example codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide2 items · ₹1,506

STM STSPIN230 Low Voltage 3-Phase BLDC Motor Driver Board · Digital Multimeter

Run itChange the inputs and watch the output

Both motors forward at 160/255 for 2 s, then stop 1 s.

Motor A fwd 63%
Motor B fwd 63%

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question