Material and code of the episode about calculating torque, and tests with Nema17
The image links to the episode on youtube:
Here are the conversion factors to go from Newton-meter to kg-meter or lb-inch:
- 1 kg-m = 9.80665 Nm (example: 0.36 Nm / 9.80665 = 0.03671 kg-m)
- 1 lb-inch = 0.11299 Nm (example: 0.36Nm / 0.11299 = 3.186 lb-inch)
You can find the script that generated this plots here: torques.py
Here is the graph for a motor with 0.36Nm:

And here for the geared version (27:1) with 3Nm:

Below is the schematic of all parts involved,
the arduino script can be found here: tb6600_joystick.ino

