Diy Hidden Bookshelf, Powered By Arduino And Google Home

About the project

Named after the famous historical library, Project Alexandria is a smart home controlled hidden storage container designed to look like a standard bookshelf. Using a linear actuator, WIFI development board and Adafruit integration, this project will help keep all your valuables secure and out of sight.

Project info

Difficulty: Moderate

Estimated time: 1 week

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

Home Bookshelf from the hardware store Home Bookshelf from the hardware store Low cost frame for the project, $30 x 1
Wood pieces Wood pieces 30 and 40 mm wide pieces of wood cut to length of fake shelfs, acted as book pieces behind cover x 1
Printed Book Covers Printed Book Covers DIY made book covers cause I wasn't gonna destroy actual books. Printed at a local print shop for cheap x 1
Plywood, 2 pieces Plywood, 2 pieces Used for the front mounting for the hidden facade x 1
linear actuator linear actuator Main component for controlling the open and close x 1
Blynk Board - ESP8266 Blynk Board - ESP8266 x 1

Software apps and online services

adafruit adafruit

Hand tools and fabrication machines

Drill Drill x 1
Glue Glue x 1


Project Alexandria is a fully enclosed, google home integrated hidden bookshelf with automated opening/closing capability. Perfect little DIY project when you want a more subtle place to store the important goods in your house.

Code is based on the adafruit Gmail Servo project, initially designed by Brent Rubell and can be found here

When downloading the file, the arduino.ino code must also have the config.h file attached. Please update the required field such as Adafruit username, IO key and wifi credentials as stated in the gmailbox code

Youtube video explaining how it was all put together:


Hidden Smart Home Bookshelf

Project Alexandria Code

Main code used for the wifi development board. Be sure to include the config.h file

Configuration file

Be sure to include this with the main project code


Leave your feedback...