Assignment 6.5/7

Door Sensor System

This assignment was meant to tie in a motor to an I/C protocol. The initial set up consisted of: proximity/ambient sensor, servo motor, 16 servo driver, red LED, and an arduino. The proximity sensor is meant to tell the user when there is someone standing at the door. The user can then choose the yes button to turn the door and let them in, or the no button to flash a red light telling them to leave.

The GUI was a set of simple buttons. Yes in green, red in no, and a yellow door button that flashes onto the screen to alert the user that there is someone at the door. The yellow circle will not appear until the proximity sensor is triggered.

 

Code:

Assignment7

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.