User Tools

Site Tools


switches

If you want to send us your comments, please do so. Thanks
More on comments


Switches

Debouncing

t.b.d.

Resistance

t.b.d.

Rotary switches

For Arduino see the RotaryEncoders page

HW-040

The HW-040 switch uses Gray code on the CLK and DT output. Gray code can be used for error correction and also for determining the direction the switch is turned in









ConnectionDescription
CLKClock. This line is toggled (high to low or low to high) after one step of the switch. The otherway arround at the next step. Gray code in combination with DT
DTThis line is toggled (high to low or low to high) after one step of the switch. The otherway arround at the next step. It does the same as CLK only not at the same time, position of the switch. Gray code in combination with CLK
SWThis line is switched to ground when the dial is pressed
GNDGround
+5V

Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy

RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2024 Webevaluation.nl and the authors
Changes reserved.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
switches.txt · Last modified: 07-02-2020 22:50 by wim