A basic keypad code lock using an Atmega168