Jump to content

sgl_imaging_challenge_2021_2.thumb.jpg.72789c04780d7659f5b63ea05534a956.jpg

Arduino - Reading Rotary Switches


Recommended Posts

Nothing too exciting or original, but finding this a useful technique! 😎

"Surround" the rotary switch with 1k resistors, connect to the supply
rails and voila -- Read it out with ONE analog pin! In diagram form:

clip_image023_thumb1.jpg.33bd7b03b29ef505d6aeb312c8fafca6.jpg

Personally I have found it *much* easier to implement using the following
SQUARE switches. Found on Ebay etc., ... I buy mine from TME Poland!

https://www.tme.com/us/en-us/details/sr17a1815f89n/rotary-switches/ninigi/

A bit fiddly... I use Veroboard in this weird "double sided" way... 😛

Tricky.JPG.c5983684e98f292314d2aa0a875d5880.JPG

Here's some I made earlier! New 3-way + 4-way and early prototype 8-way! 🥳

ShellPeas.JPG.76bacc4d998e29950c56843c05239cfa.JPG

I usually chose resistors to TOTAL 10k Ohm. Hey, HTH someone sometime! 🙂

Edited by Macavity
  • Like 3
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.