Prerequisites for Smart Lock

Simuli Virtual Lab

First, log in to your Simuli account and navigate to the Simuli Virtual Lab. Here we will create a new emulated instance of the STM32. Click on the Launch button under STM32 to get started.

This will open the configuration menu. First, provide a name for the project. Then, we will add the W5500 Ethernet Module by selecting them from the list of available components. Finally, review that the name for the project and the selected sensors are correct and click on the Launch button.

Once we have clicked on the Launch button, a new instance of the STM32 will be created. It can take a few minutes, so be patient.

Now that our instance is being created, let's move forward to create an Adafruit IO account and configure it.

Adafruit IO

Go to the Adafruit IO website, if you already have an account, you can directly log in and skip to the configuration part. If this is your first time at Adafruit IO, click on the Get Started for Free button at the top. This will take you to a signup page, fill all the details and click on the CREATE ACCOUNT button.

Once the account has been created, go back to the Adafruit IO website. Let's start by creating our feeds. Feeds act as our MQTT topics, where we can either publish our data or subscribe to receive the data. In this case, we will create 1 feed, for publishing our real-time values.

Click on Feeds, and then click on view all . This will open up a list of all the feeds currently set up for our account. Let's create a feed named lock.

Click on the New Feed button, this opens up a pop-up, let's name the feed lock.

Now we will create a dashboard from which we will publish values. Click on Dashboards, and then click on view all . This will open up a list of all the dashboards currently set up for our account. Let's create a dashboard named keypad.

Click on the New Dashboard button, this opens up a pop-up, let's name the dashboard keypad.

Now click on the dashboard to set up a keypad. Click on the Settings button and click on Create New Block.

Click on Number Pad from the options available and then select the feed you want to subscribe the data to.

Once the keypad is configured, our Adafruit IO setup is complete. We will now set up our STM32.

Last updated