Putting the pieces together
Now, it's time for some serious construction in order to actually fit our project to the door. Mind you, this project was based on a standard lock used in Sweden; if you have a different door lock, this design might need some heavy modification. The goal was to keep the design of the construction as simple and transparent for this reason. I would suggest that you start by taking a look at Figure 6.8 to get a general idea of the finished result before you get started.
In Figure 6.5, you will find the design measurement for the construction that holds the motor, shield, and Arduino board in place:
The largest piece, which measures 200 x 80 mm, will act as our baseplate. The idea is that the front of the lock will be removed and then the baseplate will be inserted on the door. The front of the lock will then be put back into place, which will hold the baseplate in place. In this way, you don't have to modify the...