Texas Instruments

Microstepping Stepper Motor Control With MCU and Wi-Fi for IoT Reference Design


A system example to show how to control a stepper motor via Wi-Fi connectivity. The TM4C123x MCU is integrated with the DRV8833 stepper motor driver to drive the stepper motor in full step: half step and microstep (up to 256) modes. The SimpleLink™ Wi-Fi CC3100 network processor is also integrated into the system to demonstrate the capability of remotely controlling MCU/stepper motor operation via the Internet.

  • The TM4C123 microcontroller uses four PWM pins to control the output of the H bridge drivers in DRV8833 to run the stepper motor in full step: half step and microstep (up to 256) modes. The TM4C123 MCU is also integrated with the SimpleLink CC3100 network processor as a Wi-Fi HTTP server to control the MCU/stepper motor operation remotely via the Internet. Software is designed to work with an EK-TM4C123GXL Launchpad™ kit: SimpleLink CC3100 BoosterPack™ plug-in module and DRV8833 EVM. In addition to stepper motor control: HTML code also enables the user to remotely control the operation of EK-TM4C123GXL LaunchPad including LED toggling: internal temperature reading: and button press recording via a web browser. A UART interface is also created to control the stepper motor.
  • 3D printer
  • Stage lighting
Product Categories
  • Other MCUs


Part Number Name Companion Part
DRV8833 DRV8833 Buy Datasheet
LP2985-50 LP2985-50 Buy Datasheet
TM4C1230H6PM TM4C1230H6PM Buy Datasheet
TM4C123FH6PM TM4C123FH6PM Buy Datasheet
TM4C123GH6PGE TM4C123GH6PGE Buy Datasheet
TM4C123GH6PM TM4C123GH6PM Buy Datasheet
TM4C123GH6PZ TM4C123GH6PZ Buy Datasheet
TM4C123GH6ZRB TM4C123GH6ZRB Buy Datasheet

Bill Of Materials

Download the bill of materials for TIDM-TM4C123IOTSTEPPERMOTOR Download


Quickly understand overall system functionality.

Download the schematic for TIDM-TM4C123IOTSTEPPERMOTOR

Test Data

Get results faster with test and simulation data that's been verified.

Download the test file for TIDM-TM4C123IOTSTEPPERMOTOR