Showing posts with label home depot. Show all posts
Showing posts with label home depot. Show all posts

Sunday, August 28, 2011

Quadcopter Tutorial 1: Parts list

EDIT: This "tutorial" is inaccurate compared to my final build. Many of these parts I have not or will not have used, and I will need things other than what I've posted here. After I've finished documenting my build, I will post another parts list, but of only things I needed to use. Also, please don't use this as a full tutorial. I'm not experienced enough to help with everything, but I do mean to help people who have trouble with the beginning concepts as I did.

So, as I said before, I'll be posting the first tutorial today. For all that don't know what a quadcopter is, it's like a remote control helicopter, but while a helicopter has a complex rotor that needs to tilt and move in complex ways, the quad only needs four fixed propellers. I want everyone to know before I start that most of this will be based off the tutorials at AeroQuad. I'll just be focusing a lot more on the simple things that beginners like me don't understand and that the tutorials ignore, as they assume anyone reading them is at least slightly experienced. I'm not. I'm also not doing general tutorials. These are specifically to build exactly what I will be building.

There are several different places to get these parts from, and most if not all of it can be bought online. Every time I buy something else, I'll update this post. So far, I've gotten most of my parts from AeroQuad and HobbyKing, and some things from RadioShack, Ebay, and Home Depot. I'll go in order.

AeroQuad

The most important thing you get from AeroQuad is the Arduino and its shield. You don't actually have to get the Arduino from there, but it's easier unless you already have one because it ends up being less orders on your part.

1. Arduino Uno: This is basically the brain of the quad. You upload the code (which is open source thanks to AeroQuad, by the way) and connect the antenna and ESCs. It gets input from the antenna and sensors and tells the four individual speed controllers what to do. The Arduino Uno is one of the simplest ones so it's good for beginners. $29.95

2. AeroQuad Shield 1.9: This is placed on top of the Arduino Uno with all the sensors so people like me don't have to worry about the complex connections they would have to have otherwise. It comes with everything you see, but the shield is slightly modified to fit resistors, which are not shown in the picture (the picture is of the 1.8 shield. $24.95

3. Gyroscope Sensor: This is one of the sensors you will attach to the shield. It senses the tilt of the quad so it can tell whether or not it's level. $49.95

4. Accelerometer Sensor: This is similar to the gyro, but instead of sensing tilt, it senses acceleration, so it can tell which direction the quad moves, and therefore, keep it stable in midair if needed. $29.95

5. Stackable Headers: You solder these to the edges of the shield so you can place it on top of the Arduino. If you have other shields, those can be stacked on top of this as well. $4.95

6. Breakout Pins: These are soldered to the shield for the sensors and plugs for ESCs to connect to. The shield comes with them, but I've forgotten whether I've needed these. Don't feel inclined to buy these. $2.50

7. USB A to B Cable: You probably already have one of these, but if you don't you might as well buy it here. You could also probably get one from Best Buy, Radio Shack, Ebay, or any number of other places. This cable is to connect the Arduino to your computer. $3.95

8. Reciever Cables (6-7x): These are used to connect the separate antenna slots to the shield. You need one for every slot, and I think that's 6, but you may need an extra. I've forgotten. $1.50 each

9. Propellers and Pusher Propellers: You don't have to get these specific propellers, but they must counter-rotate. You will need at least two of each, but from what I've read these break frequently and you will want spares. $3.00 each propeller, $4.00 each pusher propeller

HobbyKing

Before I start with this section, I want to say that since most of the things you buy from HobbyKing ship from Hong Kong, the shipping will be very expensive, probably around $50.

1. Hextronik 24 gram Outrunner Motor (4x): These will be the motors that you put your propellers on. They're very light compared to other options, so the quad should be under a kilo. $8.53 each

2. 10amp ESC (4x): These connect the motors to the Arduino. They are given a number between -1 and 1 I think and based on that number tell the motor they're connected to how fast to go. $9.24 each

3. Battery: If you don't know what this is for, leave... now. $19.99

4. Transmitter: This is basically the remote control. It transmits to the antenna, and the antenna gives information to the Arduino. It's a cheap alternative to the $300 one recommended by AeroQuad. The only difference is that theirs has 9 channels, not 6, so you can use more switches/buttons and stuff, but you don't need more than 6, and theirs has a screen that makes it easier to program the ESCs. With this one, you need to know how to use the joysticks to tell the ESC, which I still have yet to learn. $22.99

5. Bullet Connectors: AeroQuad recommends buying these off Ebay, which I did, but only because I didn't realize that I could have gotten them from HobbyKing, and because of that I need another one. These connect your main power supply to the battery, and you may want another one for charging the battery. This comes with ten, but you only need a couple. $3.58

6. Balancer/Charger: This is to charge, discharge, or balance your battery. Discharging and balancing are used to optimize battery life, especially when you're storing one, but I'm not focused on learning how to use those features just yet. This is basically a computer that charges your battery based on what kind it is and its features (voltage and stuff) $22.99

7. Power Supply: This gives power to the charger, but you may already have one for laptops and other devices. The one needed is 12 volts and 5 amps, so before using one you already have, make sure it's the right kind. $9.99

8. Battery Monitor: Not required. This checks on the juice in the battery, and if it gets below a certain point, it buzzes and blinks. This is only if you're flying it for a long time, but if it's far away, you may not hear or see it. I won't be putting it on until after I'm already done, so there won't be anything about it in these tutorials unless I add one later on. $3.99

General/Locally Found Parts

These are the things that you can't get from HobbyKing or AeroQuad and are probably scattered around the house or easily found at stores like RadioShack and Home Depot.

1. 18 and 16 Gauge Wire: This is necessary to have for your power distribution system. The 16 gauge will come directly off the battery and the thinner 18 gauge wire will branch off to the separate ESCs and the Arduino to give them all the power they need. You will probably only need a few feet of each. Most experienced people would tell you to get red and black, but I'll only be using one color although I may use electrical tape to color-code the positive and negative wires.

2. 15 and 30 Watt Soldering Irons: These are to solder wires together for your power distribution as well as solder your Arduino's shield together. The lower wattage is for smaller things like the Arduino while the 30 watt would be for things like the power distribution. You can get soldering irons with both settings built in. This is the kind that I have. I got mine from RadioShack.

3. .032" and .062" Rosin Core Solder: If you have a soldering iron, you obviously need solder. The thicker solder is for the power distribution, which is why you need a hotter soldering iron and the thinner is for the shield. I don't know if rosin core solder is required, but AeroQuad said to get that kind and RadioShack had it, so I got it.

4. General Tools: For any project like this, you need tools. You'll need things like wire cutters, wire strippers, allen wrenches, screwdrivers, and maybe a knife.

5. Scale: Since the motors on this quad are light, it needs to be under a certain weight, specifically around a kilo. Because of this you need something to weigh the parts. This can be a 20 dollar scale found at Wal-Mart or Target in the cooking section. Just make sure you are able to weigh in grams because no one uses the English system except for Americans. The metric system is much simpler and widespread. Believe me.

That's all for parts. You may have noticed I didn't mention anything about the frame. That's because I don't know how I'll build the frame yet. That's not important to me until I get everything else straight. I have to go now to get ready for bed and go to school tomorrow. My next tutorial will be something I've already done, soldering together the AeroQuad shield.

Friday, July 22, 2011

HobbyKing... and more!

It's been weeks and weeks and weeks... and I haven't posted one thing. Of course it doesn't really matter since the person reading this probably got here automagically by being bored. So anyway, I was on a road trip with my family that was very exciting and not boring like you (sorry, I'm just imagining someone who has nothing better to do than read a blog by someone who barely has a clue about anything, including blogging). So the HobbyKing stuff for my quadcopter arrived shortly before we left. I also got some stuff from Home Depot for wiring the quadcopter. I will now go over it all:

This... is the battery (dun dun DUUUUUUUUUUUUN). It gives electricity to the quadcopter so it can fly. That's what a battery is supposed to do. Batteries provide electricity. You learn something everyday, right? So this is supposed to be for the quadcopter, but it's 300 grams. I need my quad to be under 800, so it's rather heavy. However, I'm going to try it out anyway and hope it works.

This is the transmitter. It is basically a huge remote control that you program. It's made for airplanes, but I. Don't. Have. To. OBEY. To the left of the transmitter is the wire that connects it to the computer for programming. On the right is a glorified lanyard for hooking to the transmitter because it's really, really big. The bottom right is the thing it transmits to, which I'll be connecting to the Arduino, so it can do all the work and I don't have to. I don't know what the thing on the bottom left is, so if anyone who's actually bored enough to read this far knows, please tell me. It's the same connection that fits into the antenna, but the wire just loops around.

What you see here is the charger. It charges the battery. The battery because it's not like the battery can magically create electricity... the wall does... duh. Above it is what connects the charger to the wall. It balances and charges the cells of the battery. the only problem is you need to program it to the voltage, amperage, cell number, and a bunch of other stuff of the battery, because god forbid if it could do that itself. I can't really tell it anymore than how many cells there are. Beside it are different connectors for different batteries I don't have. LiPos connect to the side of the charger.

These are the four motors. Now, I know what you're thinking: This guy is stupid! There's only one motor! Well, if you look closely, there are four boxes hidden in the background. They might be hard for a person with an IQ lower than OVER 9000 to see, but they contain three more motors. One is already opened and empty. The motors come with an O-ring and a propeller saver, and I didn't know how they worked until recently because a hero from AeroQuad told me. they attach like this:

This is the battery alarm, but who wouldn't know that? It buzzes and blinks when the battery is low, but I've heard it's hard to see or hear. I won't be using it until I'm done building and testing the quadcopter so I'm in no rush to unpackage it or anything. Plus, I have to change the code if I want to do that and I don't know enough about any of this to attempt that.

The last things that came from HobbyKing were the ESCs, or electronic speed controllers. They CONTROL the SPEED of the motors. That's why they're called SPEED CONTROLLERS. Get it? It's probably too complex, but don't worry. You seem quite intelligent. The only problem with these is that I have to program them with a series of complex movements from the joysticks of the transmitter, which I'm not ready to do until some other time when more likely than not, I'll say this exact sentence again.

This is the invoice from HobbyKing. Just so you know, all those prices are diluted down to 30% because, from what I have read, it helps the package get through customs more quickly.

I also got some things from Home Depot with my dad because I need wiring for the power supply and stuff:

This is the 16 gauge wire I need that comes directly from the battery and branches off eventually into the 18 gauge wire here:

This branches off the 16 gauge wire and goes to each ESC and the Arduino to provide power to all of them.

This is a wire cutter that my dad got because I guess I need it to cut and strip wires. That's all for now.

These are some connectors that will hopefully connect the wires to my battery. I don't think they will, because we just bought what Home Depot had and not what we were supposed to, but they may work.

This is the receipt from Home Depot. I think they skipped an item, but oh well. I have nothing interesting to say.

I have gotten a few things done in the long time I've had. For one, I uploaded the code to the Arduino, and that took like five minutes. I also put together the AeroQuad shield, which goes on top of the Arduino and everything connects to. I have a picture of it here:
This is the very useful soldering iron I used for the shield and will be using for the power supply and battery alarm monitor buzzer thing. It has two heats so I can solder small or large things, and it's helped a lot, even though I've only gotten one thing done with it.

So that's everything. It's now 11:25 and I need to go to sleep because I want to wake up early and do something interesting like relearn how to backflip or try a wallspin. I should start putting tutorials up here on how to do stuff. That would be cool. Of course, only I would read them because this blog is like a ghost town. If I stay in front of this text for much longer, I will get a "very minor case of serious brain damage" to quote Wheatley from Portal 2, the best game ever, which I think everyone should be required to play and every school required to teach. I might make a whole post dedicated to Portal and Valve. So, I'm leaving, and you're probably me.