WTS: VK5TM DDS project pcb's
#2
Terry

Could you confirm the correct connections for the commonly available KY-040 rotary encoders (eBay) - it does not seem to match up to your B-C-Common shown on your schematic.  
Do R2 & R3 pull-ups need to be removed ( I suspect so) ?

I am not an Arduino user so am unfamiliar with the requirements. Give me a PICAXE chip and I am right at home.

Details I gleaned were from:

http://henrysbench.capnfatz.com/henrys-b...er-manual/

Find the section...


KY-040 Pin Outs
The pin outs for this rotary encoder are identified in the illustration below.
The module is designed so that a low is output when the switches are closed and a high when the switches are open.
The low is generated by placing a ground at Pin C and passing it to the CLK and DT pins when switches are closed.
The high is generated with a 5V supply input and pullup resistors, such that CLK and DT are both high when switches are open.
Not previously mentioned is the existence of of push button switch that is integral to the encoder.   If you push on the shaft, a normally open switch will close.    The feature is useful if you want to change switch function.   For example,  you may wish to have the ability to between coarse and fine adjustments.
Keyes Rotary Encoder Schematic
.....   R2 and R3 in the schematic are pull up resistors.


Thanks
Doug
Doug VK4ADC @ QG62LG51
http://www.vk4adc.com

This Forum is only going to be as interesting as the posts it contains. 
If you have a comment or question, post it as it may trigger or answer the query in someone else's mind.
Reply


Messages In This Thread
WTS: VK5TM DDS project pcb's - by VK5TM - 23-09-2018, 10:36 PM
RE: WTS: VK5TM DDS project pcb's - by VK4ADC - 24-09-2018, 07:42 AM
RE: WTS: VK5TM DDS project pcb's - by VK5TM - 24-09-2018, 10:52 AM

Forum Jump: