Serial Controlled Motor Driver Hookup Guide
Contributors:
MTaylor
Resources and Going Further
Advanced Features
The advanced features such as configuring the fail safe, data rates, diagnostic features, and bridging can be found in the following document. Use a PDF viewer that supports bookmarks for easiest navigation.
Not covered in this guide:
- VCC breakable to allow up to 5.5v levels.
- PSoC programming port.
- Bus diagnostic reporting
- Configurable failsafe time and operation
- Configurable expansion bus bitrate to 50, 100, or 400 kHz.
- Configurable expansion bus update rate from 1ms to 255ms, or by command only.
Additional Examples
There are also some additional examples packaged with the library which are not described here. Have a look at them and the arduino library source files to better understand the advanced usage.
Arduino examples not covered in this guide:
- RegisterRWTool -- Use to convert ascii communication from a Arduino window into direct register access.
- Run-timeDiagnostics -- Demonstrates reading the diagnostic registers and using the built-in diagnostic structure for data storage.
Robot examples available by github repo XbeeTeensyXCVR:
- HamburgerBot -- Two wheeled robot using digital inputs that emulate analog drive behavior.
- DualDriveBot -- Double wheeled robot using analog sticks to provide smooth single stick driving.
Heads up! Originally, these examples were written to configure an XBee Series 1 to communicate in transparency mode. However, this can apply to the XBee Series 3 module as long as you configure the firmware to the legacy 802.15.4 protocol. For more information, check out the Exploring XBees and XCTU tutorial.
![]() |
![]() |
These robots are built using the serial controlled motor driver, with an XBee link.
Check out more robot action in the SCMD demo video:
For more motor-driving action, check out these other great SparkFun tutorials:
Shapeoko Coaster Project
A step-by-step guide to cutting and engraving a coaster with the Shapeoko.
Hobby Servo Tutorial
Servos are motors that allow you to accurately control the rotation of the output shaft, opening up all kinds of possibilities for robotics and other projects.
Wireless Motor Driver Shield Hookup Guide
Get started with the SparkFun Wireless Motor Driver Shield!
Qwiic Haptic Driver DA7280 Hookup Guide
The Qwiic Haptic Driver includes an itty-bitty, Linear Resonant Actuator (LRA) vibration motor and Dialog Semiconductor's DA7280 motor driver IC for applications that require haptic feedback.