How to drive a code switch (Nerdkit)



Honestly I never planned this project, but I accidently had this switches in my last order from Conrad I was interested what they are good for.


So I thought maybe some kind of a safe combination would be fun.

I used my Nerdkit with the ATMega168 and wired everything.


I used the display to check if the numbers are set in the code correctly.

After putting both code switches in the right position and hitting the button you can see if the combination in the code is the same.

The button represents the number 1.


You can download the whole project in the download section.