User:Boringuser/enes100/project2

This is my page for my work on Project 2, the Knock Knock.

Write problem/project Goal
Our project goal is to make a secret knock detecting door lock. Which will have a unique knock pass-code.

My First Task
My first task is to look for Arduino's function that how do they work,and to modify the software through which the arduino can work with piezo speaker to detect the knock.

Summary of actual work over first weekend
I downloaded the software which works for the arduino. To download the various versions of arduino's software click here. This link also helped me in the configuration, exploration and running sketches of the arduino.

Week1 Narrative
I downloaded the software which works for the arduino. To download the various versions of arduino's software click here. This link also helped me in the configuration, exploration and running sketches of the arduino.

My Second Task
My second week task is to make arduino sense the knock, and try to modify the knock code for the the arduino.

Summary of actual work over second weekend
Over the second weekend I soldered the wires of piezo knock sensor speaker and here is the link to soldering the wires of speaker.

I also did the cinfiguration of the arduino, and programmed the arduino's light to blink one per second. I watched some tutorials about arduino that how to connect the arduino with piezo knock sensor. Below is the design number 1 that I came up with to attach arduino, piezo speaker and resistor.



Week2 Narrative
Over the second weekend I soldered the wires of piezo knock sensor speaker. I also found the code which works to detect the knock through the peizo speaker, and click here to get the knock detecting code. This code does not work quiet well. The next thing that I did was the playing around the code, and I tried to make it work according to my requirements. I also worked with different speakers to improve the ability of sensing the knock.



My Third task
My Third Task is to modify the code to detect the knock to open the door, and to attach arduino, piezo speaker and 1 M resistor to see if the code works fine.

Summary of actual work over third weekend
I looked up on the internet to find the code to detect the knock. I found a knock detecting code from here which one of the previous group used for their projects. First it was not working properly for our project. After making some changes in code, I came up with a new code which can be seen here in word doc form.

Week3 Narrative
On the third week end I was planned to work on the knock code, which I was going to use for the secrete knock detection for our project.I looked up on the internet to find the code to detect the knock. I found a knock detecting code from here which one of the previous group used for their projects. First it was not working properly for our project. After making some changes in code, I came up with a new code which can be seen here in word doc form. Now this code works fine with our project. After programming the arduino with this code it detects the knock perfectly. Below is the image of every thing that we hooked up in the class to make sure that all things are working fine, when we put them togather.



My Fourth task
My fourth task is too finalize the configuration of the arduino, and mount it on the knock knock device.

Summary of actual work over fourth weekend
There are some steps that I took to program arduino.

Step 1: Download Arduino Software

I downloaded Arduino's software.Here are some different versions of software of arduino.

Step 2: Configuration

I run the Arduino executable program, then I selected the Tools menu, then the Board sub-menu, and finally I selected the “Rugged Circuits Gator Board” option, as shown in figure 1. I plugged in my arduino, and I waited for few seconds for it to be recognized, then I selected the Tools menu, then the Serial Port sub-menu. I saw my board listed as a virtual serial port (most likely COM1 or COM2 as these are built-in serial ports). In the example screenshot below, the GATOR Plus+ board has been assigned the virtual serial port COM122.

Step 3: Running Sketches In the Arduino community, a program that runs on the hardware system is called a “sketch”. There are several example sketches available to use as templates for any code which I made.To demonstrate how I run a sketch I just followed these steps.

I opened the “Blink” example sketch by selecting File->Sketchbook->Examples->Digital->Blink, and then clicking on upload.

Step 4: Ready to Run Knock Detecting Code:

Here is the code that I got from previous group, but unfortunately it did not work for our project. I took this code as a base and worked on it and [here] is my new code that I came up with, and now it works fine for our project.

Week4 Narrative
My week four was all about to finish up with my work on arduino, and mount it up on the knock knock device. I finished up with the arduino's programming. It was some simple steps which I learned from sources that I have linked in my summary work of week four. Also I run sketches and uploaded my new code to detect the knock. The code is also linked in my previous documentation.

Complete Team Page
Fill out the Team Form (should have already copied the form, created the team page, linked to it and started filling it out).