Smartlock uses voice recognition to control access


A Smartlock is a very convenient way to secure a home, and their number of connectivity options can be further extended by connecting them to an IoT home assistant service such as Google Assistant or Amazon Alexa.

Jithin Sanal’s project uses Amazon’s Alexa skill to automatically secure a custom door locking mechanism without the need for Bluetooth or a fingerprint.

It is based on a Nano RP2040 Connect and, thanks to its onboard connectivity suite, can communicate with the Arduino Cloud.

Besides the Nano, Sanal designed a simple PCB. With pads for a buzzer, voltage regulator and several LEDs for monitoring.

The circuit also includes a relay that powers a solenoid.
Which acts as a deadbolt when powering up.

After receiving the bare PCB and soldering each component to it, Sanal moved on to writing the code for his creation. Simply put, the Arduino Cloud project contains a single variable to get/set the lock value.


A method is called in the fw that sets the solenoid to this new state and beeps a few times with the buzzer.

Associate the Arduino Alexa skill with the IoT device, allowing someone to set the lock as a dedicated Smartlock device.

You can see more details about this project in Sanal’s article.


Comments are closed.