Examples
These are some examples that can be executed with any LabJack (U3, U6, or T7). The table below shows the hardware that is required to run them. Four of the examples only need a pair of wires. Two examples require a T7 device.
The idea of the examples is to go beyond just using the LabJack device, by showing some execution loop and sampling techiques.
Example |
Hardware Requirements |
---|---|
Two wires |
|
Two wires |
|
Two wires |
|
Quadrature encoder wit A-B phases |
|
Quadrature encoder wit A-B-Z phases |
|
12V power supply, 12V DC motor, H-Bridge |
|
12V power supply, 12V DC motor with encoder, H-Bridge |
|
Two wires |
|
12V power supply, 12V DC motor, H-Bridge, A-B-Z encoder |
Note
For best graphic display of the results, consider running them in an interactive Jupyter notebook session (instead of a plain old terminal window).