Author Topic: Rotary Encoder breakout board w/ hardware contact bounce  (Read 3256 times)

0 Members and 1 Guest are viewing this topic.

Offline BootalitoTopic starter

  • Supporter
  • ****
  • Posts: 116
  • Country: us
    • EasyEda.com/TerryJMyers
Rotary Encoder breakout board w/ hardware contact bounce
« on: April 19, 2018, 10:09:01 pm »
I just created a small breakout board for the EC11 Rotary Encoder that I think would be pretty useful for people.
1. Breadboard Friendly
2. Hardware contact debounce (10uS time constant). Stop using that software debounce rubbish! Software should never be a solution to a hardware problem!
3. 5-pin JST PH (2.00mm) connector on bottom of PCB for integration into a larger project.  e.g. panel mount the Rotary Encoder with this PCB attached to the bottom, and run wires to a main project PCB.  This will save PCB space for hardware debounce.  Alternatively you can use the 100mil spaced headers too of course

Here is a link to the schematic and PCB.  You can download the Gerbers
https://easyeda.com/terryjmyers/ec11rotaryencoderbreakoutboard_copy (updated to new version)

I suggest JLPCB, 1mm thickness, and use the "Panel BY JLPCB" in the x:3*Y:5 configuration to give you 15 boards on a PCB and you'll get 150 breakout boards for $2 (plus like $20 for shipping...but still)!   If anyone wants to pay postage I'll send some too you, or if you are West of Philadelphia I can hand some off to yah. I mean...what am I going to do with 150 of these, I needed like 20..at most...for all time.  How do they even make a profit?!

(caps and resistors are unpopulated)





« Last Edit: April 21, 2018, 08:47:58 pm by Bootalito »
 

Offline MarkF

  • Super Contributor
  • ***
  • Posts: 2539
  • Country: us
Re: Rotary Encoder breakout board w/ hardware contact bounce
« Reply #1 on: April 21, 2018, 04:51:13 am »
It looks to me like you picked the signals from the wrong point in the filter circuit.
The signal should be tapped between the resistor and the capacitor.
See the suggested circuit for a PEC11 encoder:
 
The following users thanked this post: Bootalito

Offline BootalitoTopic starter

  • Supporter
  • ****
  • Posts: 116
  • Country: us
    • EasyEda.com/TerryJMyers
Re: Rotary Encoder breakout board w/ hardware contact bounce
« Reply #2 on: April 21, 2018, 08:08:18 pm »
Unfortunatly I believe you are right! :(
I looked back at another project where I used a rotary encoder and somehow got that module messed up from then until now....
 

Offline BootalitoTopic starter

  • Supporter
  • ****
  • Posts: 116
  • Country: us
    • EasyEda.com/TerryJMyers
Re: Rotary Encoder breakout board w/ hardware contact bounce
« Reply #3 on: April 21, 2018, 08:48:37 pm »
It looks to me like you picked the signals from the wrong point in the filter circuit.
The signal should be tapped between the resistor and the capacitor.
See the suggested circuit for a PEC11 encoder:

Updated original post to new version (didn't change PCB images...too lazy)
 

Offline Dave

  • Super Contributor
  • ***
  • Posts: 1352
  • Country: si
  • I like to measure things.
Re: Rotary Encoder breakout board w/ hardware contact bounce
« Reply #4 on: April 21, 2018, 11:41:00 pm »
You don't really need hardware or software debouncing of a quadrature signal, if you are handling it as such in code.
« Last Edit: April 21, 2018, 11:42:59 pm by Dave »
<fellbuendel> it's arduino, you're not supposed to know anything about what you're doing
<fellbuendel> if you knew, you wouldn't be using it
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf