PMODENC_RM [ETC]
PmodENC⢠Reference Manuall; PmodENCâ ?? ¢参考手册册型号: | PMODENC_RM |
厂家: | ETC |
描述: | PmodENC⢠Reference Manuall |
文件: | 总2页 (文件大小:127K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
PmodENC™ Reference Manual
Revision: October 31, 2011
1300 NE Henley Court, Suite 3
Pullman, WA 99163
(509) 334 6306 Voice | (509) 334 6300 Fax
Note: This document applies to REV A of the board.
Overview
The PmodENC Rotary Encoder Module
features a rotary shaft encoder with integral
push-button that provides rotate-right, rotate-
left, and button-press outputs. The module also
includes a sliding switch that provides an on/off
output.
Features include:
1 = A
2 = B
3 = BTN
4 = SWT
5 = GND
6 = VCC
•
•
•
•
a rotary push-button shaft encoder
a slide switch with a series resistor
a 6-pin header
small form factor (1.5” x 0.75”).
Figure 1 PmodENC Pin Signals
Functional Description
There are four outputs on the PmodENC
module, labeled A, B, BTN, and SWT. Outputs
A and B are the encoded outputs from the
rotary shaft encoder. In principle, the rotary
shaft encoder behaves like a cam connected to
a central shaft. Rotating the shaft operates two
push-button switches, as shown in Figure 2.
Depending on which way the shaft is rotated,
one of the switches closes before the other.
Likewise, as the rotation continues, one switch
opens before the other. When the shaft is
stationary (the detent position) both switches
are open (logic 1).
Figure 2 Rotary Shaft Encoder Circuitry
Doc: 502-117
page 1 of 2
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
PmodXYZ Reference Manual
Pressing the rotary push-button shaft encoder
will drive the output pin BTN to VCC voltage or
a logic level 1. Otherwise BTN is driven to
GND voltage or a logic level 0.
Placing the slide switch into the up position on
the PmodENC module will drive the output
SWT to VCC voltage or a logic level 1. Placing
the slide switch in the down position will drive
SWT to GND voltage or a logic level 0.
Figure 3 Push-Button Circuitry
Decoding Rotations of the Rotary
Shaft
Figure 4 shows a timing diagram of a rotate-
right on the rotary push-button shaft of the
PmodENC module. Note the logic noise shown
with opening and closing of the switches. A
rotate-left of the rotary push-button shaft is
similar to Figure 4. The only difference is that
output B will drop to logic level 0 first, followed
by output A.
Figure 4 Timing of Outputs A and B
www.digilentinc.com
page 2 of 2
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
相关型号:
PMODGYRO2_RM
The PmodGYRO2 features the Analog Devices ADXRS453 High Performance, Digital Output Gyroscope that is ideal for systems in need of a gyroscope for high vibration environments.
ETC
PMODJSTK
The PmodJSTK was designed to be a versatile user interface that can be used in a wide variety of projects.
ETC
PMODR2R
The PmodR2R board provides digital-to-analog conversion using a circuit that has been a staple in engineering design for decades.
ETC
PMODSD_RM
The PmodSD Secure Digital memory card module provides a convenient SD card slot for use with Digilent system and microcontroller boards.
ETC
©2020 ICPDF网 联系我们和版权申明