Basicmicro.com

Cart:

You have 0 items in your shopping cart.

0

Using Encoders with the Python Library

Using Encoders with the Python Library

Encoders are useful as part of a feedback system to maintain speed, position and track distance. RoboClaw does these things automatically however encoder attached to a roboClaw can be controlled and used with custom code using the BasicMicro Python library. This Application Notes covers how to use the available encoder functionality of the library.
Using the RoboClaw Python Library

Using the RoboClaw Python Library

Python is an easy to use programming language for both beginners and experienced programmers. The RoboClaw motor controller can be controlled via Python with the library provided by BasicMicro. Any platform that runs Python and has access to a serial port should work with the library.
Packet Serial Bus Operation with the Raspberry Pi 3

Packet Serial Bus Operation with the Raspberry Pi 3

Multiple RoboClaws can be used together for projects requiring more than one motor controller. This Application Note demonstrates the control of 4 RoboClaws by a Raspbery Pi using the packet serial control mode of the RoboClaw.
Standard Serial Bus with the Raspberry Pi 3

Standard Serial Bus with the Raspberry Pi 3

Multiple RoboClaw's can be used simultaneously when controlled by a microcontroller or computer. The Raspberry Pi is one suitable choice. This Application Note covers using a Raspberry Pi 3 to control 4 RoboClaws in standard serial mode.
Standard Serial with the Raspberry Pi 3

Standard Serial with the Raspberry Pi 3

This Application Note details how to operate the RoboClaw in standard serial mode using a Raspberry Pi 3. In standard serial mode the RoboClaw accepts single byte commands that control the operation of both motor channels.
Packet Serial with the Raspberry Pi 3

Packet Serial with the Raspberry Pi 3

In this Application Note a Raspberry Pi is used to control a RoboClaw in packet serial mode. In packet serial mode the Raspberry Pi can send commands to the RoboClaw as well as read data from the it.