How to connect cabinet lock to microcontroller:

http://electronics.stackexchange.com/questions/48440/electric-strike-with-arduino-circuitry https://learn.sparkfun.com/tutorials/voltage-dividers