Control a deadbolt through a website!
- Feather Huzzah
- Standard Servo
- Command Strips
- 3D Printer
The web servo code is provided in the doorwebserver
directory. It is designed to be uploaded to a Feather Huzzah through the Arduino IDE.
This requires extra libraries found in this Adafruit tutorial.
The directly also contains HTML files that the Feather sends to the client. These are uploaded using SPIFFS and the Arduino IDE. To do so follow this tutorial.
The code is based on A Beginner's Guide to the ESP8266. That tutorial is great reference tool for using the Feather board.
There are 3 STL files provided. The servo housing, split into two parts, and the servo horn addition. These are meant for a standard size servo but may need to be filed down. All three models are designed so that they can be printed without support. I used epoxy to glue the two halves of the lock body together and the servo horn addition on to the servo horn. The files are designed to be used with command strips to affix it to the door.