Wednesday, August 31, 2011

No Tutorial Today

The title says it. This will be short because I have to leave soon. Apparently, although I was never informed of this, you're supposed to celebrate holidays. Just kidding. I knew that, I just expected to have more time on my hands today. I'll probably barely have enough time at this computer to get all my schoolwork done. I'm trying to finish my week's work today. So hopefully, I'll be able to put up the second tutorial on Friday or Saturday, or maybe before since I may have a good amount of free time.

Tuesday, August 30, 2011

Can you hear the echoes?

I can, or more specifically, I will be able to whenever I read this again, which will probably be when I painfully type in this URL to embarrass myself in front of someone who I'll probably barely know, because no doubt whatever I put here will be embarrassing in the future. For example, I'm still extremely embarrassed about the posts I made in 8th grade. It really is true what people say about middle-schoolers thinking they're extremely mature.

So, to an interesting topic. The reason I'm writing this is to say that I'll put up the next quadcopter tutorial tomorrow, because I won't be going to school tomorrow because I don't feel like it. That was a joke. It's actually because I'm celebrating a holiday, Eid, tomorrow.

So meanwhile, before I work on my online classes, I'll tell about the last few days of my life to my future self, who I need to come up with a name for, because "future self" is really getting repetitive. Speaking of repetitiveness, try Googling "recursion". TO THE BATCAVE... or topic... whichever you (but more likely I) prefer. So, today was technically my school's first day of class, although it was basically like every other day so far. We got in to groups like usual and went around stations like usual. The only difference was at the end, we went to all our classes for thirty minutes, which wasn't really enough time to get classwork in after introductions and everything. Monday was far more interesting. We went on a field trip to uptown Charlotte, which is relatively close to the school. We had to go find different landmarks, take pictures, solve riddles, and do other things, so that was fun. I'd never actually been through that much of Charlotte before.

As I think I said before, I'm trying to graduate a year, or maybe even a year and a half early, so I need to get as far ahead in my online classes as possible. I don't know how easy that will be because unlike in online Geometry, all the resources in my current classes aren't available until the time they're supposed to be used. In any case, I have to work on those. Finally, if I didn't mention this before, I got hooked onto this trance artist, Soulero, who is amazing. This is a great track by him, but can't even come close to describing his amazingness. Like all great electronica artists, he's Swedish. So in summary, the next quad tutorial will be tomorrow, I went to school today, and Soulero is awesome.

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.

New School

Here's my sporadic update as usual, if "sporadic" can be usual. So, it was recently the 25th of August, which I only know because that's when school starts, and school started. I never remember dates otherwise, except for September 10th because that's when something awesome happens.

So I'm writing right now to tell you how school has been so far. As I think I've said before, I'm not going to that American public school that I went to before. I'm going to a different American public school, but this one is cool. Only 105 or so kids go here, and it's kind of an alternative school. Basically most of the classes are taken through the internet, so you can work ahead. As soon as you finish a class, you begin a new one or you get an internship or something in place of that block. It's meant for both kids who are falling behind in school and need to work more to catch up, but also for kids like me who aren't learning enough in school and want to take extra classes and graduate early. I'm now focused on graduating as a junior. If I'd known about this earlier, I bet I could be graduating this year, but that's on the verge of being unbelievable.

It may seem weird that the classes are online but I still have to go to school, but that's cool because I can't procrastinate like I did when I was homeschooled. Also, if I have questions that aren't clear in the course, instead of going on the discussion forum, I could just raise my hand and ask the teacher, or alternatively, and more likely, just search it on Google like I would anyway. It basically allows me the social environment of normal school, but the ability and encouragement to do much more work. I'm still not sure about the "social environment" part because I have yet to make friends, but I've only been there two days. I'm beginning to make relationships with the staff though, which is cool because the school is relaxed and it's almost like you have a "buddy" relationship with everyone else in the school including the teachers and principal.

You may be wondering about the quadcopter tutorials I mentioned before, but you probably aren't, because you're probably me and already know of everything I've already done and thought and what I will do and will be thinking until right now, if that makes sense, which it does because you're me and this makes sense to me. Anyway, the first tutorial, on parts to buy for the quadcopter, will probably be put up today. If not, probably not until next week, and if not then, a couple months, as usual. I have to go now because I need to do stuff and an awesome Basshunter song just started playing too.

Saturday, August 20, 2011

Tutorials

So, although no one reads this, I'm back, because, once again, talking to yourself really is fun. The reason is because of the quadcopter I'm building. I've showed everything I've done so far, but that doesn't really show how to do it. Therefore, I will be reposting the things I've done in a more "tutorialish" way. I will hopefully continue until the end of the build and I hope anyone interested will read them.

Keep in mind that these tutorials will be for complete beginners, and not people who have already done big projects like these. This is because I was a complete beginner (on most things) and others will probably encounter similar problems, like, for example, how to attach a propeller to a smaller motor, which is kind of strange. So, that's all I have to say, and I hope I don't keep posting months apart like I have been.