Page 7
Jrk G2 models have configurable hardware current limiting: when the motor current exceeds a configurable threshold, the motor driver uses current chopping to actively limit it. The Jrk G2 21v3 uses a TB9051FTG motor driver that features hardware current chopping with a fixed threshold of approximately 6.5 A.
You can find the configuration utility in your Start Menu by searching for it or looking in the Pololu folder. • The Jrk G2 Command-line Utility (jrk2cmd) is a command-line utility that can do most of what the GUI can do, and more.
Page 12
If the driver for the Jrk’s native USB interface is working, you should see an entry in the “Universal Serial Bus devices” category named something like “Pololu Jrk G2 18v19” (or the corresponding name if you have a different version).
2. Double-click on the downloaded file to run it, and follow the instructions. 3. After the installation has completed, plug the Jrk into your computer via USB. 4. In your Applications folder, look for “Pololu Jrk G2”. Double-click on “Pololu Jrk G2” to start the configuration utility.
Page 17
• The Jrk G2 Configuration Utility (jrk2gui) is a graphical user interface (GUI) for configuring the Jrk G2 and viewing its status. You can run it by clicking on “Pololu Jrk G2” in the Applications folder, or you can open a terminal and type to run it.
Page 22
16 A, and each header pin pair is only rated for a combined 6 A, so for higher-power applications, we recommend soldering thick wires directly to the board. If you have Jrk G2 21v3 with connectors already soldered , then you do not [https://www.pololu.com/product/3143]...
Page 23
Controller with included terminal blocks and headers soldered. blocks and headers soldered. Jrk G2 21v3 USB Motor Controller with Feedback (Connectors Soldered). You should connect the motor leads to the OUTA and OUTB pins (which are labeled “A” and “B” on some boards).
Jrk will always stop the motor immediately when commanded. • If there is a “Hard current limit” setting, set it to a safe value, like 3 A. (The Jrk G2 21v3 does not have configurable hardware current limiting so that setting is hidden. Its TB9051FTG motor driver always limits the current to approximately 6.5 A.)
Page 40
“Ports (COM & LPT)” category. The descriptive name of the port (e.g. “Pololu Jrk G2 18v27 Command Port”) will be displayed, followed by the COM port name in parentheses. If the descriptive name is just “USB Serial Device” for both of the Jrk’s ports, then you can identify the two ports by double-clicking on each one and looking at the “Hardware Ids”...
Page 44
To allow independent control of multiple Jrks, you should use the Jrk G2 Configuration Utility to configure each Jrk to have a different device number. Then you should change your code to use the Pololu Protocol as described in Section 12.
1, it means the motor exceeded the configured hard current limit. This variable is derived from the Jrk’s “Current chopping occurrence count” variable. Note that this variable is only valid for the Jrk G2 18v19, 24v13, 18v27, and 24v21. The Jrk G2 21v3 cannot detect when current chopping occurs.
Page 72
This feature is only available on the Jrk G2 21v3, which does not have configurable hardware current limiting. Note that the current limits are not precise thresholds: it is not unusual for the actual currents to be 20% off from the reported values, and currents near the lower end of each Jrk’s current capability are measured and limited less accurately.
Page 73
Current measurement on the Jrk G2 21v3 The Jrk G2 21v3 obtains a raw current sense measurement from the motor driver in the form of an analog voltage, which be seen as the “Raw current” variable in the Status tab of the configuration utility.
• Version 1.00, released 2018-04-19: This is the original version. • Version 1.01, released 2018-07-20: This version adds support for the Jrk G2 21v3. It also fixes a bug where the Jrk would waste power and fail to go to sleep during suspend mode if the frequency feedback measurement method was set to “Timing”.
8. Pinout and components The pinout diagrams below identify the I/O and power pins on each Jrk G2 model. Basic pinout diagram of the Jrk G2 21v3 USB Motor Controller with Feedback. 8. Pinout and components Page 79 of 199...
Page 85
POT−). The POT− pin is connected to GND through an on-board 220Ω resistor. Hardware design files These files provide further documentation of the hardware design of the Jrk G2 21v3 motor controller: • Dimension diagram (215k pdf) [https://www.pololu.com/file/0J1547/jrk-g2-21v3-dimensions.pdf]...
Page 105
Configuration utility Input tab, Serial interface, Device number Temporary override available This is the serial device number used in the Pololu protocol on the Jrk’s serial interfaces, and the I²C device address used on the Jrk’s I²C interface. 9. Setting reference...
Page 107
Input tab, Serial interface, Enable 14-bit device number Temporary override available If enabled, the Jrk’s Pololu protocol for serial commands will require a 14-bit device number to be sent with every command, instead of normal 7-bit device number. This option allows you to put more than 128 Jrk devices on one serial bus and control them individually.
Page 123
Settings file data Current in units of milliamps Configuration utility Motor tab, Soft current regulation level, Forward column Temporary override available This setting is only available on the Jrk G2 21v3. See Section 7.6. 9. Setting reference Page 123 of 199...
Page 124
Settings file data Current in units of milliamps Configuration utility Motor tab, Soft current regulation level, Reverse column Temporary override available This setting is only available on the Jrk G2 21v3. See Section 7.6. Coast when off Offset bit 1 of byte 0x50...
Jrk. The Pololu protocol includes a device number, allowing you to control multiple devices from a single serial line. This section starts by documenting the compact protocol version of each command.
Page 161
“Input” tab. When that setting is enabled, you can set the device number to any number between 0 and 16384. The Jrk will then expect two bytes for the device number in the Pololu Protocol instead of one. The first device number byte contains the low 7 bits of the device number while the second device number byte holds the high 7 bits of the device number.
For a reference implementation of the Jrk G2 native USB protocol, see the Jrk G2 software source code [https://github.com/pololu/pololu-jrk-g2-software] The Jrk G2 uses the USB vendor ID of Pololu Corporation, which is 0x1FFB. Each variant has a different USB product ID: Name USB product ID...
Page 194
9600 # Change this to a number between 0 and 127 that matches the device number of # your Jrk if there are multiple serial devices on the line and you want to # use the Pololu Protocol. device_number None 15.
Need help?
Do you have a question about the Jrk G2 21v3 and is the answer not in the manual?
Questions and answers