Building a Smart Door

“When one door closes, another opens.” Or you can try opening the same door (because that’s how they work), especially if it’s a smart door like the one presented in this Instructable by .

This project uses a Digilent chipKIT Max32, a 6.1V zener diode, a vibration sensor, a Bluetooth wireless module, a micro servo, and two 100Ω resistors.

First, construct the circuit.

smart-door-circuit

Then, use the provided code to connect the Max32 to a webpage. This uses Python and JavaScript to tell you whether or not the door is open, how long it’s been open, and the maximum time it can be open. You’ll then have to address some issues with hosting the server. As the author says, “To properly load the server for your own local space, you need to have a .html file named index in your folder C:\inetpub\wwwroot.” Finally, load the MPIDE code for the Bluetooth-cellphone app interface and data output. This code has also been included.

On that note, we’ll close the door on this charming Instructable. Feel free to comment with your thoughts!

 

 

Author

  • Amber Mear

    I was the Digilent blog editor, and now I'm a contributor. I love learning about wearables and writing about social issues in STEM. Outside of work, I can be found watching Netflix with my cat, working on an art project, or trying to find new, delicious local foods.

Be the 1st to vote.

About Amber Mear

I was the Digilent blog editor, and now I'm a contributor. I love learning about wearables and writing about social issues in STEM. Outside of work, I can be found watching Netflix with my cat, working on an art project, or trying to find new, delicious local foods.

View all posts by Amber Mear →

Leave a Reply

Your email address will not be published. Required fields are marked *