Using Encoders with the Arduino Library

This application note covers using the Basicmicro Arduino library to read, set, and reset the encoders attached to a RoboClaw motor controller, with a complete example sketch demonstrating every encoder function.

Using the RoboClaw Arduino Library

The RoboClaw Arduino library, published in the Arduino Library Manager as Basicmicro, makes it easy to control RoboClaw motor controllers from an Arduino. This article covers installing the library, the pattern every sketch follows, and the most commonly used functions.

Standard Serial Mode with Arduino

Control a RoboClaw motor controller from an Arduino using standard serial (Simple Serial) mode: wiring, Motion Studio configuration, and a complete example sketch that drives both motor channels with single-byte commands.