Go to Triangle Digital Support Home Page TDS2020F TECHNICAL MANUAL
Hardware expansion
Shaft encoding
Live website search
Enter key words
 

SHAFT ENCODING

Shaft encoder for quadrature signals

Shaft encoder for quadrature signals
Click the diagram for more detail, or to save a copy:
1. in Internet Explorer right click on the picture and select "Save Target as..."
2. in Netscape double-click the picture to open the file, then under "File" select the "Save As" option.


This circuit shows how to interface the Hewlett Packard HCTL2016 quadrature shaft encoder integrated circuit to the TDS2020F computer. By using other chip selects you can add multiple units making the arrangement suitable for a variety of robotic applications. The file #SHAFT.TDS supplied with the UPDATE SERVICE, page 38, contains support code.

The Forth word POSITION updates a 32-bit counter and by putting this inside a regular interrupt routine you can read the shaft position at any time by looking at the 32-bit variable COUNTER .

Go to Triangle Digital Support Home Page Go to top   Next page