> Is there a way to programme a rotary switch to have each rotation as an input with a different outcome?

Is there a way to programme a rotary switch to have each rotation as an input with a different outcome?

Posted at: 2014-12-18 
You don't have to program the rotary switch to recognize rotations. It is built with the ability to recognize rotations (unless by "recognize", you mean that you want the switch to be conscious).

Did anyone have to program the wall switches in your house to recognize whether they were up or down?

Edit: The problem with your question is that it implies that you want to invent something with very little idea about how to do it beyond the idea of using a rotary switch.

When I was in high school, I invented a game for a school carnival using a rotary switch to determine the output. It was basically used as a random number generator. It wasn't really random. The operator, not the player was operating the switch. (The player had a choice of pressing one of 6 doorbell buttons, and one of 6 light bulbs would light up. If the bulb above the switch lighted, the player won.)

It was a completely electrical game -- no electronics. The "programming" was which wire from the switch was connected to which light bulb.

Do you already possess the switch? Or have you picked out which one you intend to buy? What will the switch be connected to? That unknown device is the thing you haven't mentioned in any way.

So basically , I'm working on a project that currently is testing my abilities in systems and control . I'm making a clock that children can play with but learn the time. So, what I proposed to do was to display a random time generated which the child then attempts to show moving the hands on the clock . I have a theory on how I want to make it but lack the sufficient amount of intellect to deduct how to do so. I want to programme a rotary switch so it can recognise the rotations and thus being able to tell what time the child has set it as . Please answer and if you know how to do this or have better suggestions compared to what I have proposed then please can you suggest? Thanks a lot in advance.