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:
Setting Up the Pi Zero Wireless Pan-Tilt Camera
This tutorial will show you how to assemble, program, and access the Raspberry Pi Zero as a headless wireless pan-tilt camera.
Pi Servo Hat Hookup Guide
This hookup guide will show you how to connect and use the Pi Servo Hat in a project.
SparkFun ProDriver and Mini Stepper Motor Driver Hookup Guide
The SparkFun ProDriver and Mini Stepper Motor Driver boards utilize Toshiba's TC78H670FTG stepper motor driver. The ProDriver features latch pin terminals, which are easier to connect than the "Easy" Drivers. Meanwhile, the Mini Stepper Motor Driver come in smaller PCB footprint, that is pin compatible with breadboards. To get started, follow this hookup guide and you will be spinning stepper motors, in no time.