Wednesday, December 4, 2013

Other Thoughts

We will probably need to use a buzzer or an LCD screen to give some other kind of notification for entrance. If it is a piezo buzzer, it will sound if the person is not allowed to enter based on what card they put up to the reader. If it is the LCD screen, it will state "Welcome!" or "Do Not Enter." Something like that.

First thing's first, got to make that delay happen. As of right now, the servo opens and then closes right away when the reader reads the correct card. That is not enough time for someone to enter the door. We need a solution for that.

Tried setting different delays, but changing the delay as the code is just makes the rotation slowwww. Instead, I will try what Dragan suggested: Make two separate "if" statements instead of combining them. A delay will go in between the two so that it will be delay and then "if angle = 180 { " and rotate backward. Will update later on how that goes.


No comments:

Post a Comment