EE 47 Final Project:
You should set up your own page, and need, at a minimum, to post your design point of view (what are you designing a player for?),
The quad is meant to be friendly and cheery - like a house pet it is designed for robot human interaction, unlike most quads on the market that are for security or industrial or miliatary application this one is supposed to be friendly. It is designed to fly around homes and help with little jobs such as setting the table or watering plants so it should be a peacful and gracious member of a house hold and its design should reflect that - hence the goal of smooth curves and eyes and light colors, and no exposed circuitry.
Your Verplank diagram,
Photos of your paper prototype,
your state diagram,
your project code,
/*
EE47 final project code for quadcopter.
Ian Kelly
Aug 2013
*/
int ledPin = 13;
int M1Pin = 9;
int M2Pin = 6;
int M3Pin = 3;
int M4Pin = 11;
void setup() {
// nothing happens in setup
}
void loop() {
for(int fadeValue = 0 ; fadeValue <= 250; fadeValue +=10) {
analogWrite(M1Pin, fadeValue);
analogWrite(M2Pin, fadeValue);
analogWrite(M3Pin, fadeValue);
analogWrite(M4Pin, fadeValue);
analogWrite(ledPin, fadeValue);
// wait for 10 milliseconds to see the motors move
delay(10);
}
delay(100000);
//just to have it stop after motors are up to full speed.
//Plan to use this below section for testing or bringing the motors down in speed to land.
//Will integrate code for the accelerometer here soon.
// fade out from max to min in increments of 5 points:
//for(int fadeValue = 255 ; fadeValue >= 0; fadeValue -=5) {
// sets the value (range from 0 to 255):
/* analogWrite(M1Pin, fadeValue);
analogWrite(M2Pin, fadeValue);
analogWrite(M3Pin, fadeValue);
analogWrite(M4Pin, fadeValue); */
// analogWrite(ledPin, fadeValue);
// wait for 100 milliseconds to see the dimming effect
// delay(100);
// }
}
and a video of the final working player in use.
http://www.youtube.com/watch?v=5yriRSnpV5o
Other notes and documentation and links for how I figured out how to build all this / for future ee47 students:
• Each Arduino output channels has a 40 mA limit
• The maximum current draw for an Arduino is 200 mA
so we need a :
dc motor circuit for arduino
http://dlnmh9ip6v2uc.cloudfront.net/learn/materials/44/DC_motor_circuits_notes_2up.pdf
define:
collector input voltage.
emmitor - goes to ground usually
base - middel of transistor - how you control current with arduino
whats the difference between an amplifier and a transistor?
well - u could use a transistor as an amplifier.
TRANSISTORS I FOUND AROUND THE HOUSE -
924 PN 2907
H PN A 2222 A
CENPN 2222 A
hard to find data sheets for these - but i found sort of similar parts on line and use those electrical charicteristscs then did lots of testing.
remember:
Q is electric charge in coulombs
t is time in seconds
I is electric current in amperes
V is electric potential or voltage in volts
A simple circuit diagram to show the labels of a n–p–n bipolar transistor.
sources:
http://en.wikipedia.org/wiki/Electrical_power
http://en.wikipedia.org/wiki/Transistor
http://en.wikipedia.org/wiki/2N2222
Comments (1)
Jessica Faruque said
at 3:07 pm on Aug 20, 2013
Thank you for a well thought out point of view. Your metaphor of a quad copter as a friendly and cheery house pet is wonderful! We love how you included this in your design goal about the appearance of your quad copter.
We especially enjoyed your Verplanck diagram showing how you want the quadcopter to be used, with users giving it a name and instructions to do household tasks. Your paper prototype was great too, showing how the appearance of your quad copter would be friendly as you described.
We liked how you included your code and provided a circuit diagram for transistor circuits, to help explain how to put it together. We wish that you had listed out the materials you used, and shown diagrams of the circuitry and the exterior build and design. You put a lot of effort into these, and it would be great to see exactly how you put everything together.
We wish you had described more about the challenges you faced in building the device. It would be great to have a summary of these so that future students know what works and what doesn't, and how to avoid the pitfalls.
If you do get a chance to get everything working, please upload -- future students would love to see it. Overall, great job and thank you for your enthusiasm!
- Jessica, Vivien, David, Kevin, Matt
You don't have permission to comment on this page.