Introduction: Door Monitor

My project was to create a door monitor. When the door is open an alarm will sound saying "the door is open". When the door is closed completely the monitor will say "the door is closed".

Supplies

Supplies used for this project:

Makey Makey Kit

Aluminum tape

Masking tape

Scissors

Computer with Scratch

Door & door frame

Step 1: Step 1:write Code

I used Scratch to write the code for my door monitor. When the right arrow is activated the alarm will and say" the door is closed" and when the left arrow is activated the alarm will sound and say "the door is open".

I used the Makey Makey blocks within Scratch and then simply added sound blocks and wait blocks to create the alarm and message.

Step 2: Step 2: Wiring the Makey Makey

I attached the alligator clips to the Makey Makey board. One clip was attached to the left arrow, one to the right arrow and two clips were attached to earth.

Step 3: Step 3: Apply Aluminum Tape to the Door & Floor

The aluminum tape was applied to the outside of the door and lip of the door frame so that when the door closed contact was made. I also added aluminum tape to the bottom of the door and the floor below the door. There is a gap between the door and the floor so I created a little flap on both the tape on the floor and the bottom of the door so that contact could be made.

Step 4: Step 4: Attached Alligator Clips to Aluminum Tape

The other end of the alligator clips attached to the Makey Makey were attached to aluminum tape on the door and floor. I used masking tape to hold the alligators in place so that they would not interfere with the door closing. One of the clips attached to earth was also attached to the tape on the floor. The other alligator clip attached to earth was attached to the aluminum tape placed on the front of the door. The alligator clip attached to the left arrow on the Makey Makey was attached to the aluminum tape placed on the lip of the door frame. The alligator clip attached to the right arrow on the Makey Makey was attached to the aluminum tape at the bottom of the door.

Step 5: Step 5: Test Run

I ran the Scratch code and open and closed the door to fix and problems. A few things to look for if you decide to make the door monitor:

I had a gap at the bottom of my door so I had to create some flaps out of the aluminum tape to make sure contact was made when the door was opened.

In the coding I added some wait blocks so that my alarm sound and my message would not run at the same time.