ESP8266: Redkea passcode lock

0

Today’s project is a passcode lock implemented with an ESP8266-EVB board from Olimex and the Redkea app. It’s designed to open and close the car sliding gate at home, but one can easily modify it for other types of locks. In my particular case, the motor for the sliding gate has an open/close input, which requires a pulse of about 500 ms to register a command. One pulse and the gate opens, another pulse and the gate closes.

Like my other Redkea projects, everything starts with the Redkea web page, where I will design the graphics interface of my app.

Redkea: designing the interface for the passcode lock

Redkea: designing the interface for the passcode lock

We have here 12 button widgets, ten numerical, a C button to correct any mistakes and an Open/Close button. I’ve also placed a text widget to show status messages from my lock.

The 12 button widgets are almost identical; each button triggers a custom function. An example is given below:

Passcode lock: button widget

Passcode lock: button widget

The text widget updates every 100ms:

Passcode lock: text widget

Passcode lock: text widget

Then we can pick up the generated code, and we can start developing our passcode lock.

1 2 3 4
Share.

Leave A Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.