User:Truongdat120891/enes100/Helicopter

Link to team page.

Give instructor top 3 project choice list
Typically the instructor picks teams. Students send the instructor their top 3 choices. The project choices are typically those found at Category:General_Engineering_Projects. The instructor tries to put students in the project of their choice. Put your top three choices here after they are used to assign you to this project. Create a link to the project root and to where your team will be working.

Write problem statement
Look through the existing problem statements. Find something not yet done on the project. Create a problem statement for it. Think of a new subsystem that needs to be built for the project. The goal is something simple, possible, for zero dollars.

Assign Task1
Tasks are typically done over the weekend. They are documented during the week, presented during the week and the next weekends work is negotiated during the week. Week 0 is the week that task 1 is negotiated. Record your individual task here. Plan on working on it during the weekend between week0 and week1.

Compare actual work done to Task1
I make a brushless motor to work with an arduino uno.

Week1 Narrative
My goal is trying to make a helicopter out of arduino, brushless motor. So i decided on week 1 i will try to control the brushless motor with an arduino. First, i connect the wire of the motor together with it's part. After that This is the video of my really first attempt. i load a program i found online into the arduino. I couldn't read what did the program said. There is no pin or anything. But i tried all the pin. Though i manage to get the right pin i want, it is pin 0,1,2. Here is the program So i did get some noise out of the motor but that doesn't mean anything. So i came up with another code. But i got a problem when i connect the arduino back to the computer. it won't work no matter what i do, even though it worked fine before the first test. Here is the video of my problem and how i solve it, the problem turned out to be i wasn't chose the right device. So i went to tool then i selected arduino duemilanove 328. And it worked. Then after i upload another code. i went for testing, but this test is even worst than the test before. Not even a single sound come out the motor. Afterward i found out my wiring wasn't right. So with the same code, i changed the way i wired it and the motor making sound again. I keep changing the code but the motor just keep making constant sound. Then i found an example code in the arduino program. go to example and select the code sweep for the first time the arduino move. I was quite happy with the result but the problem is the motor doesn't act the way the code command. In the next morning, i accidentally change the source of power, from the usb gate to the 9 volt input. And here i go look at the brushless motor run pretty fast. So i conclude the problem is i need more powerful source of electricity.
 * DatTruong/Howard/code and here is the video of the 1st testing http://www.youtube.com/watch?v=WL21Q7Z1_jQ&feature=youtu.be
 * http://www.youtube.com/watch?v=O4vU1akkedU&feature=youtu.be
 * http://www.youtube.com/watch?v=AtIrkab5iAI&feature=youtu.be and here is the codeDatTruong/Howard/code2
 * http://www.youtube.com/watch?v=NcUpwAvNRsY&feature=youtu.be
 * http://www.youtube.com/watch?v=M-KsGV1zo-o&feature=youtu.be the program is in the arduino example( go to file, go to example, then servo, and choose sweep)
 * http://www.youtube.com/watch?v=tDsr_2tWwUY&feature=youtu.be ( this is the same code as 4th test)

Assign Task2
on next week. i will try to control the brushless motor since this is just an example code

Compare actual work done to Task2
I can change the order of spinning for the motor. i was be able to the motor to spin slower or faster by changing the code in the arduino. Also i was be able to experience some dance movement with the drone.

Week2 Narrative
First i wasn't be able to figure out why the motor spinning isn't match with the code. I found out the code i used is the code with a potentionmetter( this device help you to control the speed of the motor). But i don't have the potentionmetter so i tried to control it by changing the code in the arduino. this way is more complicated and more inconvenient than using the potentionmetter. So after a day or two poking with the example code. i was be able to control the motor with different speed, different pattern. this is the last code i used for it codefinal.but there is still something that i don't really understand after put this code inside the arduino, i need to wait for around a minute or two to actually get the motor to working. I'm still trying to figure it out. Also i tried different type of fan wing. i Have two kinds, the first one is two big and it really hard for the motor to move, the second one is just too small and it can't give a good enough force to actually lift up just the motor.

http://www.youtube.com/watch?v=bp0LI6brcF0&feature=youtu.be http://www.youtube.com/watch?v=zwVQIDlBRzw&feature=youtu.be( even though it wasn't be able to spin properly but the fan is just too heavy so i will try to mount it down to something so it won't be run off)
 * This is the video of the drone dancing
 * This is the video of the big fan

Assign Task3
i will try to improve the fan condition by adding a mount, also i will try to used the potentalmetter for better experiment

Compare actual work done to Task3
i figured out a way to mount up the motor. So i did try to mount it up even though its fail, but i know this way will work. Also i discover a really interesting things about the motor and the arduino.

Week3 Narrative
At first i was trying to mount the motor on the wooden block. But this way doesn't work since the motor spin both top and bottom. I was trying to cut off the washer on the motor so i can mount it upside down. But when i think about it, it wouldn't be a good ideal. I found a better way is to mount it on an empty box ( i used a soap's box). So the washer will stick out of the box, and the body is moving freely inside the box. But the wire wasn't strong to hold up the motor level on the box when it's spinning. So i think of i will give the wire some support by using some duck tape and tape over the wire. after this it gave the wire a very strong support, i can feel the motor is hold fix, when i tried to shake the motor it didn't move much. But when i put everything together, the motor wasn't working. I didn't heard the beep sound so i concluded something is wrong with the wire. i discovered the tape isn't electric tape. So i tried to remove the tape and its really gave me a hard time to remove it. I ended up break the wire. Then i tried to connect it back together. The motor did work again. Then i found out the behavior of the motor when i remove the pin 9, then connected it back to pin 9. After that i tried to used another duck tape to see if it's working but none of my tape is working. This is the behavior i got from the motor. I didn't figured out why it did that. http://www.youtube.com/watch?v=gBvJNQo5aek

Assign Task4
I will tried complete the mounting by using electric tape, and i will include the potentional meter. I wasn't be able to include it in this week because the mounting is still not done.

Compare actual work done to Task4
i had successfully mounted and test out the power source for the motor.

Week4 Narrative
When i mounted the motor on the wooden board, because the second hole wasn't deep enough to put the motor inside, so i had to go with the first hole, and because it was too big so i just mounted two legs of the motor. After that i used the arduino to test if the motor still working, and it is working fine. When I try to included the potention meter, i was a little bit confuse of the wire, which one goes to which one, I went to the internet and search i was be able to find this link. http://cbrobotics.com/2010/11/make-a-potentiometer-control-a-servo/. But the wire was directly from the motor to the knob, so i tried to figure out which wire was the right wire to give out the permission for the servo. Finally, i got the motor to work with the knob, but the electricity clearly wasn't high enough, so i used a higher sources of power, But this power was a little too powerful for the motor, it heat up the motor pretty fast, and the motor was acting weird also. So i came back to the old source is the wall adapter for the arduino. this is the video of me testing the motor. http://www.youtube.com/watch?v=8BSw6tfP774&feature=youtu.be