dankamongmen / pololuJrkUSB

Command-line utility for the Pololu Jrk USB 21v3 and 12v12 motor controllers
Apache License 2.0
0 stars 0 forks source link

PololuJrkUSB

Build Status

A command-line tool for driving the Pololu Jrk USB motor controllers. https://www.pololu.com/docs/pdf/0J38/jrk_motor_controller.pdf

Hardware

The jrk provides bidirectional control of a DC brush motor via a USB mini-B 5-pin interface. It can be driven with open loop feedback, or a closed loop using 0V–5V analog control or digital control up to 2MHz with a 1ms PID. RC PWM, full-duplex TTL serial, and 0V–5V potentiometer control is also available, though this program assumes USB serial. The control model is ACM, supported by the cdc_acm Linux kernel module.

Building

Run make.

Dependencies

Usage

In order to run as a normal user, write and read capability is necessary for both the specified /dev/tty* node and the raw usb device, which can be found in /dev/bus/usb/BUS/DEV. BUS and DEV can be found with lsusb -t.

Launch the program with the USB serial device node as its argument for interactive keyboard-driven use. The help text will be printed in response to the 'help' command. Other commands include:

Copyright and thanks

Copyright © Nick Black 2019. Licensed under Apache-2.0.

Hardware and financial support were provided by Greenzie of Atlanta, makers of autonomous lawnmowers.

All errors are my own.