EYE on NPI – C&K ENC Series Optical Rotary Encoder Switches #EyeOnNPI #DigiKey @DigiKey @ckswitches

This week’s EYE ON NPI (video) is gonna spin you right round, baby, right round like a record player – it’s C&K’s ENC Series Optical Rotary Encoder Switches – a high-reliability encoder with strong detents, that’s great for medical and industrial equipment, automotive, and more, where longevity and reliability is important.

Rotary encoders are a popular user interface element that engineers use to add a tactile increment/decrement control. We find they’re much more intuitive to use than touch screens, especially when you want to increase or decrease a value precisely: its a lot easier to twist the knob by one detent than it is to press a touch screen once. Rotary encoders can also be used hands-free or when observing some output because the tactile feedback is strong.

The most common rotary encoders used for user input are mechanical style, usually with detents. They can be ring-style like the famous iPod Clickwheel or knob style. These are two mechanical rotary encoders in that there is a little leaf spring connected to the knob and the “common” pin, and the body has a metal-cutout piece, that when rotated connects and disconnects the two side pins from the common. The two pins pulse high and low to indicate motion and direction. Usually two interrupt pins are connected to the rotary encoder to catch the pulses and track the counter increment or decrement.

Super fun and easy right? Except….that little leaf spring contact ends up rubbing against the gray code wheel and even good quality springs have a contact life of maybe 500,000 contacts. that’s only 10,000 full turns – each turn is 2 x 24 contacts. if you’re turning the knob 10 times a day the encoder will fail after 1000 days, about three years. And rotary encoders do fail, a lot! Heck, even our favorite scope we got right out of school has a broken encoder on the channel 1 zoom select (not surprising, since channel one is the most used and its turned constantly to zoom into the signal). A bad encoder may not be user-serviceable at all, and requires some care to desolder and replace – unless it’s on a detachable cable or module, it can be a very serious repair. Flaky encoders are also a little dangerous – they can increment instead of decrement, which can be confusing and cause incorrect settings.

If you’re designing a medical device or a car where there’s a knob that will be used daily, having it fail after 3 to 5 years is not going to be an option – especially since the failure can happen instantly. Not a good look when a $2000 product is taken down by a $2 encoder failure. Enter the optical encoder! Optical encoders solve the contact rating issue by replacing the leaf spring with two LEDs and an optical sensor. Instead of mechanically contacting the two grey code bits, the optical sensor provides the pulses without the risk of wear and tear. These cost a few dollars more than your everyday mechanical encoder but give you rock solid reliability.

These C&K ENC optical encoders look and feel just like mechanical encoders. With 24 detents, they’re a drop-in replacement. You can panel mount them and there’s even a quick-replace connector with JST SH 6-pin socket, for easy replacement in the field.

The C&K ENC Series Optical Rotary Encoder Switches are in stock right now for immediate shipment from Digi-Key! Order today and you’ll be reliably twistin’ and turnin’ by tomorrow afternoon – don’t forget to pick up some JST SH cables as well!


Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Join 32,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


Maker Business — A development to watch: Intel in Ohio

Wearables — This sensor is the key to color detection

Electronics — Vias in pad?

Python for Microcontrollers — Python on Microcontrollers Newsletter: CircuitPython 7.3.0 RC0 Out and Much More! #Python #CircuitPython @micropython @ThePSF

Adafruit IoT Monthly — Detecting Water Pollution, Smart Girder, and more!

Microsoft MakeCode — MakeCode Thank You!

EYE on NPI — Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — JP’s Product Pick of the Week — 4pm Eastern TODAY! 5/17/22 @adafruit @johnedgarpark #adafruit #newproductpick

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.