We are open! Orders will be shipped as usual on Monday the 23rd.

Arduino Leonardo - Electronic Lock

Placed on

Getting the code from user input

So like I described in part 1, we have to get all the required input from the user and check the code with the saved one.

And also check if the display doesn't overflow. That is handled by this code.

GetCode function

Checking the code

We also have to check if the code matches the saved code, so we know when we are able to open the lock and when we don't.

CheckCode Function

Current Page 8. The code - part 3 - The code 1. Introduction 2. The Schematic 3. The Keypad 4. The LCD module 5. The Servo 6. The code - part 1 - The Keypad 7. The code - part 2 - The LCD 8. The code - part 3 - The code 9. The code - part 4 - More codes 10. The code - part 5 - Setup and Loop 11. The full code Posted by

Comments

Webwinkelkeur Kiyoh Trustpilot Opencircuit