I want to use a key switch in conjunction with an Arduino, so that I can detect when the key is turned by reading HIGH on a digital input pin. This is the one I have found that matches the aesthetic I am after:
I originally assumed I could just use this as I normally would with a standard push button switch: when the switch is closed, the current flows which I can easily detect in the code.
However, I'm now wondering if there's more to it as it is rated for 12 or 24V DC and the Arduino only provides 5V. It seems to me like it should be as simple as if an electrical connection is made (when the key is turned) then the current will flow. Is there more to it that I'm missing, or are these simply upper voltage limits and therefore it shouldn't be a problem?