I know it has been a while, but everything flies as planned. With the 3600Ma batter I get about 10 minutes of flight time and the thing is screaming fast. I'm still using the very conservative setup for endpoints for the Turnigy 9x setup, which will prevent you from doing any real acrobatics, but nonetheless it flies!
On another point I bought a small Hubsan MicroQuad, which flies JUST LIKE THE REAL THING! It is a great trainer tool for flying a quad that is set up on the KK2 board.
Showing posts with label Quadcopter. Show all posts
Showing posts with label Quadcopter. Show all posts
Friday, July 5, 2013
Saturday, March 9, 2013
Test Flight Take #2
I went out this morning to give it a test. I found a nice soft grassy area and set about giving it a test. Immediately upon takeoff the quad would start spinning to the right, slightly at first and then faster and faster. I knew what this meant thanks to doing some quality web browsing - a reversed yaw gyro.
The procedure for fixing this is to set the roll pot to zero, turn on the transmitter, power up the control board, then move the yaw stick. It should then start flashing continuously at a very high rate until you turn the power off. This should fix the problem. (Make sure to put the pot back in the middle)
One easy way to test is to hold the quad over your head with props on - be very careful - and then try to rotate it clockwise or counterclockwise. The quad should really try to fight you. If it feels like there is just a little resistance than try to increase the gain on the yaw pot a little. This thing should honestly feel like it doesn't want you to rotate it! If it's not resisting you'll need to reverse that pot.
To Infinity and Beyond!!!
Not really - after I got the yaw problem fixed I did a few test bounces, then played with the hovering a bit. I was able to get it to hover a few feet off the ground and move it around a bit, but I can still tell something isn't quite right. What I experienced was the following: I could get it off the ground and it wanted to go slightly forward, and I could compensate, but then when I tried to steer it took too long for it to stop steering. That is, when I told it to go right, it would go for quite a ways before it would stop going right. I know it should be crisper on the controls, but I'm not sure what the cause of this is. I'll do a little message board searching and see if I can figure out what is going on.
Getting close to first "real" flight, but not there quite yet.
The procedure for fixing this is to set the roll pot to zero, turn on the transmitter, power up the control board, then move the yaw stick. It should then start flashing continuously at a very high rate until you turn the power off. This should fix the problem. (Make sure to put the pot back in the middle)
One easy way to test is to hold the quad over your head with props on - be very careful - and then try to rotate it clockwise or counterclockwise. The quad should really try to fight you. If it feels like there is just a little resistance than try to increase the gain on the yaw pot a little. This thing should honestly feel like it doesn't want you to rotate it! If it's not resisting you'll need to reverse that pot.
To Infinity and Beyond!!!
Not really - after I got the yaw problem fixed I did a few test bounces, then played with the hovering a bit. I was able to get it to hover a few feet off the ground and move it around a bit, but I can still tell something isn't quite right. What I experienced was the following: I could get it off the ground and it wanted to go slightly forward, and I could compensate, but then when I tried to steer it took too long for it to stop steering. That is, when I told it to go right, it would go for quite a ways before it would stop going right. I know it should be crisper on the controls, but I'm not sure what the cause of this is. I'll do a little message board searching and see if I can figure out what is going on.
Getting close to first "real" flight, but not there quite yet.
Friday, March 8, 2013
Ecalc Tool
One handy little tool that I found online is at the eCalc Multirotor Calculator, which will tell you what your setup will do. It has tons of great defaults and can tell you if you are going to get off the ground and how long your battery will likely last. Below is a screenshot of my calculations:
New Frame and Rebuild
Side view of new quadcopter frame. |
Top view of new quadcopter frame |
The frame is a perfect fit for the motors and for the control board, which is incredibly helpful and can be set up both the + and X configurations - for now I'm going with the + configuration. The reason I'm doing that is that + is the default and I've had some trouble programming the control board - and this is after I burnt one up - oops!
I did a couple of test bounces and it handled okay, but I can tell that it needs some fine tuning and I'm not sure if that should be done on the control side or on the gyro side.
I think tomorrow I will head out to a grassy field and see how it handles, try to do some test hovers, and see if I can actually fly it around for a few seconds. I'll post an update once I get some flight data.
Saturday, February 16, 2013
Frame Finished
I needed to add a battery holder and something to protect the electronics in case of an upside down landing, so I decided to do both at once. It was relatively easy to do. Below are the pics.
Top View |
Side View |
Back View |
ESC Not a Problem - HK Control Board
Earlier I had written that I thought that the Turnigy Trust ESCs were a problem because they couldn't be manually throttle calibrated. Turns out that I was wrong. It was actually the HobbyKing control board that was causing my headache.
Here is the info that could save you that headache too!
HobbyKing Control Board v3.0 Atmel 328PA:
Unfortunately as is the case with many HK products they have absolute crap for support and rely on other users to do it for them, and often have outdated or just wrong user manuals. In this case, it was the latter. You see, HK rips off designs that others come up with and have their Chinese supplier build them for 1/10th the price, and then sells them on the cheap - and price matters with this stuff, so that is why I shop there. Anyhow, that isn't the point.
The point is that they had a user manual for this item that tells you to put everything as Atmel 48PA, which is what the KK board version uses, but the Atmel 328PA is distinctly different in that it has a different memory size! And unfortunately, the chip itself doesn't know what is up, so it will just do what you tell it to do. What you really need to do is:
Here is the info that could save you that headache too!
HobbyKing Control Board v3.0 Atmel 328PA:
Unfortunately as is the case with many HK products they have absolute crap for support and rely on other users to do it for them, and often have outdated or just wrong user manuals. In this case, it was the latter. You see, HK rips off designs that others come up with and have their Chinese supplier build them for 1/10th the price, and then sells them on the cheap - and price matters with this stuff, so that is why I shop there. Anyhow, that isn't the point.
The point is that they had a user manual for this item that tells you to put everything as Atmel 48PA, which is what the KK board version uses, but the Atmel 328PA is distinctly different in that it has a different memory size! And unfortunately, the chip itself doesn't know what is up, so it will just do what you tell it to do. What you really need to do is:
- Use the new Atmel Studio 6.0 software
- Plug your HK Control Board into the USB programmer and plug the battery into the control board!
- Open up the dialogue for programming in Atmel Studio
- Tell the software that it is the Atmel 328PA and click Apply
- Click Read and then see what it says. It should tell you that it is the Atmel 328PA chip.
- Go to the Fuses tab and set "SPIEN" as checked; BODLEVEL = 1v8; SUT_CKSEL = 8Mhz 6CK/14CK +65ms (Default)
- Go to memories, select the .hex file you want to load, and then click on program.
That fixed my problems of the motors not being synced up. Now it appears to be working just fine.
FPV System: Now Working!
Thanks to the folks at ReadyMadeRC I now have a functioning FPV system! The problem was a bad battery - and since it was the only battery I had that had a JST connector I couldn't test it with another one... I was probably a little shortsighted in buying just one, and will correct that now that I know it is working.
Anyway, I'm glad I bought my camera system from them because they were very responsive to my questions and I couldn't imagine HobbyKing being nearly as cooperative as they were.
Anyway, I'm glad I bought my camera system from them because they were very responsive to my questions and I couldn't imagine HobbyKing being nearly as cooperative as they were.
Friday, February 8, 2013
ESC Problem?
Apparently the Turnigy Trust 45A ESC doesn't allow for throttle calibration, but tries to do it "automatically"... which is fine for a vehicle that uses one ESC, but not for one that uses 4 ESCs. I'm waiting for some feedback, but will probably have to go with a Turnigy Plush 40A ESC - that is one I know will work.
Thursday, February 7, 2013
FPV System
Just a quick note on the FPV system. As I posted earlier I was having trouble getting the Tx to power up - luckily it wasn't the FPV system, it was instead a defective battery. Unfortunately, I wasn't able to test this myself as I didn't have a second battery with a JST connector.
However, the guys at Ready Made RC were awesome. They shipped me replacements of the Tx and the Tx cable, and when that didn't work they had me send everything back in a pre-paid envelope they included. They quickly located the problem and kept me updated. I just got a note that they shipped it all back yesterday.
Once again I can't stress how helpful they were.
However, the guys at Ready Made RC were awesome. They shipped me replacements of the Tx and the Tx cable, and when that didn't work they had me send everything back in a pre-paid envelope they included. They quickly located the problem and kept me updated. I just got a note that they shipped it all back yesterday.
Once again I can't stress how helpful they were.
Sunday, February 3, 2013
Homemade Frame: Flying Cake Pan
Flying Cake Pan Design. Angle view. |
The hardest part was trying to figure out what materials to use - I went with 3/4" square aluminum tubing for the arms, an 8 in cake pan for the chassis, and some 3/4" by 1/8" aluminum bar for support (the pan vibrated a lot until I added it for reinforcement).
Here are some tips on the build:
Flying Cake Pan Design: Top View Showing Electronics. |
- Go to Dollar General or something similar - they sell 8" cake pans that are a thin aluminum and are extra-light weight (cheap)... best of all it only cost $1!
- Use three screws per arm - it will make them a lot more stable. All the screws I used total cost about $4 at Home Depot - if you live close or go there often buy more than you need and return what you don't need as they have a good return policy.
- Measure everything twice before you cut and before you start drilling holes. Once you start drilling holes try to use previous holes as a guide or else the bolts might not go in clean (trust me).
- Use some washers on the top side of the cake pan as that will help you have more area to crank down on when tightening.
Expected re-launch: 4 days.
Saturday, February 2, 2013
Complete Fail
I went out to the park to fire it up and I never got more than a foot or two off the ground before control problems kicked in... It wad a total failure.
Worst of all I warped the frame - it was a total piece of crap. The torque from the motors is what caused it to warp... Not a crash!
I am going to home depot now to get materials to build my own frame. Fingers still crossed I can get off ground this weekend.
First Flight in 30 Minutes
Top View of Quadcopter Before Maiden Flight |
Side View of Quadcopter Before Maiden Flight. |
Neither of these is really necessary, but the bar on top is both useful for carrying the quad by and will save the KK board in case of an upside-down landing.
I didn't want the antenna just dangling around so I decided to use the straw (perfect diameter) to hold the antenna upright.
The sun is almost up and I want to get to the park before there are too many people around so I can test this thing without anyone being to nosy.
Fingers Crossed!
FPV System Issues
As an FYI, I still haven't managed to get the FPV system working. I did some troubleshooting that Ready Made RC suggested, but nothing got going. I have a suspicion that it is actually a problem with the battery for the system.
The guys at Ready Made RC have been very helpful, however, and I have sent the whole system back to them so they could test it themselves (this was after they had already sent me a replacement Tx and cables).
Definitely glad that I went with them.
The guys at Ready Made RC have been very helpful, however, and I have sent the whole system back to them so they could test it themselves (this was after they had already sent me a replacement Tx and cables).
Definitely glad that I went with them.
Sunday, January 27, 2013
Range Testing
The other simple task that we can do on the ground is to range test the transmitter. You can do this by yourself, but it will help if you have a friend or neighbor to help you out. This is a no propeller test - so REMOVE the propellers before continuing, otherwise you might destroy your quad and injure your assistant!
Range testing is a simple procedure - find yourself a good clear area where you have a long line of sight. Do a normal start-up procedure, first powering up the transmitter, then powering up the craft, and arming the transmitter/receiver.
Stand a few feet away and increase the throttle - the motors should start spinning. Now turn them off. Now continue turning the motors on and off while walking away. As long as you can turn them on and off you are in range. You'll want to make sure that you can get at least 100 feet or more away, and it can be difficult to see if the motors are still responding at this distance, which is why you'll want to enlist the help of a friend to give you a thumbs up if it is responding.
I walked about 300-400 feet, alternating the motors on and off and still had good response on the motors before I lost my line of sight. At 400 feet the quadcopter looks tiny, so I can't see doing much recreational flying with it much farther away than that for the time being.
If you lose your signal before you are able to get a hundred feet away you should check to make sure that your antenna wire isn't wrapped around any other wires. If it's not, make sure that the batteries in your transmitter are fresh. Assuming that's not the problem you'll need to "bind" your transmitter.
To do this, plug in the binding cable (last slot on the receiver), power up the quad with the transmitter off. Next you'll press and hold the "bind/range test" button the back of the transmitter, and while still holding it turn the transmitter on. The light on the receiver should stop flashing. Let go of the button, and unplug the bind ring. To save the binding you'll need to then unplug the battery from the quad and then turn off the transmitter. Now your receiver and transmitter are bound.
Repeat the test and see how far you can get - hopefully you'll get full range this time.
Range testing is a simple procedure - find yourself a good clear area where you have a long line of sight. Do a normal start-up procedure, first powering up the transmitter, then powering up the craft, and arming the transmitter/receiver.
Stand a few feet away and increase the throttle - the motors should start spinning. Now turn them off. Now continue turning the motors on and off while walking away. As long as you can turn them on and off you are in range. You'll want to make sure that you can get at least 100 feet or more away, and it can be difficult to see if the motors are still responding at this distance, which is why you'll want to enlist the help of a friend to give you a thumbs up if it is responding.
I walked about 300-400 feet, alternating the motors on and off and still had good response on the motors before I lost my line of sight. At 400 feet the quadcopter looks tiny, so I can't see doing much recreational flying with it much farther away than that for the time being.
If you lose your signal before you are able to get a hundred feet away you should check to make sure that your antenna wire isn't wrapped around any other wires. If it's not, make sure that the batteries in your transmitter are fresh. Assuming that's not the problem you'll need to "bind" your transmitter.
To do this, plug in the binding cable (last slot on the receiver), power up the quad with the transmitter off. Next you'll press and hold the "bind/range test" button the back of the transmitter, and while still holding it turn the transmitter on. The light on the receiver should stop flashing. Let go of the button, and unplug the bind ring. To save the binding you'll need to then unplug the battery from the quad and then turn off the transmitter. Now your receiver and transmitter are bound.
Repeat the test and see how far you can get - hopefully you'll get full range this time.
ESC Throttle Calibration
Two of the remaining tasks that are left can be easily done on the ground and are relatively quick and simple to perform. These are ESC throttle calibration and range testing the transmitter. In this post I'll go over ESC calibration. Make sure to REMOVE the propellers before doing this!
ESC Throttle Calibration
Calibrating the throttle is simple enough - all you'll need to do is the following:
ESC Throttle Calibration
Calibrating the throttle is simple enough - all you'll need to do is the following:
- Turn on the transmitter and power up the control board - do not arm the receiver!
- Move the throttle all the way up, and wait a few seconds. You should hear the ESCs beep.
- After a few more seconds move the throttle to minimum. You'll hear another beep.
- That's all!
- Unplug the battery and turn off the transmitter.
- Turn on transmitter and select correct model
- Plug in the battery
- Arm the receiver by moving both sticks down and to the right.
- Move the throttle stick up - by the time it is a quarter of the way up all four motors should be spinning
Getting Dangerously Close
So at this point we have done the following:
- Assembled the frame
- Mounted the motors and ESCs
- Connected the power distribution board
- Reassembled frame with electronics installed
- Programmed KapteinKuk v4.7 X-copter onto control board
- Connected ESCs to control board
- Connected control board to receiver
- Hooked up the battery to ensure all is getting power
- Programmed the transmitter and tested receiver functions
- Done some preliminary testing without blades
- Install a bar on the top to protect the control board in case of crash
- Calibrate the throttle range on the ESCs
- Range test the transmitter
- Mount the props
- Fly it!
Saturday, January 26, 2013
Programming the Turnigy 9x
The next step is to program up the Turnigy 9x transmitter so you can fly it without it being too unstable. I had to do a lot of looking around on the internet to find the proper set-up, and there are a few different configurations that I am going to try... I'm not sure which one will work best and I have seen people advocating both of them. You can hold several different setups in the memory, so I put these in slots #1 and #2.
You'll need to read the manual to learn how to navigate through the menus and to set the buttons, but here are the setups that I went with:
Setup #1
Model Name: Quad-H
Model Type: Heli
Type Select: Heli-2
Modulation: PPM
Stick Setup: Mode 2
Then in function settings you'll go with the following:
Reverses: Aileron = Normal; Elevator = Reverse; Throttle = Reverse; Rudder = Normal
Throttle Curve = Linear 0%, 25%, 50%, 75%, 100%
End Points = Aileron = 50%, Elevator = 50%, Throttle = 100%, Rudder = 100%
Throttle Hold = -30%
Setup #1
Model Name: Quad-P
Model Type: Acrobat
Type Select: NA
Modulation: PPM
Stick Setup: Mode 2
Then in function settings you'll go with the following:
Reverses: Aileron = Normal; Elevator = Reverse; Throttle = Reverse; Rudder = Normal
Throttle Curve = Linear 0%, 25%, 50%, 75%, 100%
End Points = Aileron = 50%, Elevator = 50%, Throttle = 100%, Rudder = 100%
Throttle Hold = -30%
I'm going to test both of them out and see what works the best.
You'll need to read the manual to learn how to navigate through the menus and to set the buttons, but here are the setups that I went with:
Setup #1
Model Name: Quad-H
Model Type: Heli
Type Select: Heli-2
Modulation: PPM
Stick Setup: Mode 2
Then in function settings you'll go with the following:
Reverses: Aileron = Normal; Elevator = Reverse; Throttle = Reverse; Rudder = Normal
Throttle Curve = Linear 0%, 25%, 50%, 75%, 100%
End Points = Aileron = 50%, Elevator = 50%, Throttle = 100%, Rudder = 100%
Throttle Hold = -30%
Setup #1
Model Name: Quad-P
Model Type: Acrobat
Type Select: NA
Modulation: PPM
Stick Setup: Mode 2
Then in function settings you'll go with the following:
Reverses: Aileron = Normal; Elevator = Reverse; Throttle = Reverse; Rudder = Normal
Throttle Curve = Linear 0%, 25%, 50%, 75%, 100%
End Points = Aileron = 50%, Elevator = 50%, Throttle = 100%, Rudder = 100%
Throttle Hold = -30%
I'm going to test both of them out and see what works the best.
Electronics Hookup and Frame Reassembly
Assembled Quadcopter Top View. |
Brown cables go to the outside on the control board and to the bottom on the receiver. Aileron is Channel 1, Elevator is Channel 2, Throttle is Channel 3, and Rudder is Channel 4.
Assembled Quadcopter Side View. |
Putting it all back together is a little tricky as you'll need more hands than you have. I loosely screwed on each arm, and then used the second bolt to hold it all on.
What I did was the following:
Power Control Board is between the two plates on the frame and is held on upside down on the top plate by foam sticky tape. The Receiver is held on by foam tape on top of the upper plate. You then will put the control board on top of the whole thing.
Once you are done and everything is connected up it will look like this:
Now of course you can see that this leaves us with a problem that we have the control board exposed and the wires are just hanging out there. I would like to add something above the frame to clean it all up, but more importantly to provide a little protection to the control board in case of an uncontrolled upside down landing (some of you might call it a crash). I'm not sure what I'll do about this, but a trip to Home Depot is in order.
The frame is a tight fit for everything, and I'm already thinking about getting one that has a bit more room - over even better, building one from scratch so I can properly seat everything, screw it all down, etc. However, that will be a ways in the future - first I'm going to get this one flying!
The battery mount is done by the velcro strap was provided with the frame - you'll need to run it through the frame and then use it to hold the battery in tight. This seems a little unstable, but it also seems to be common practice.
Hobby King Control Board Programming
Last time I left you all with the motors and ESCs mounted... that leaves a lot to do. The first thing you'll need to do is decide what configuration you'll want to fly your quadcopter with. I decided to go with the classic X-quad configuration, which is shown here:
The X-quadcopter configuration seems to be more popular and is the I decided to go with. There are many different firmware versions that you can load up on your control board, but I decided to go with the X-quadcopter configuration v4.7 by KapteinKuk, which you can get from Hobby King under the link to the control board on the files tab (files seem to only be linked under the international warehouse, but you can still get them). Once you get that file you'll need to download Atmel Studio version 6.0 and upload all of the settings that are listed in the manual - it takes a while, but it's easy enough. Remember, you'll need the USB programming card to do this - this can also be purchased at Hobby King.
Once you upload the firmware you'll be ready to hook up all the electronics and assemble the frame, which I'm covering in the next post.
Two classic quadcopter configurations. |
The X-quadcopter configuration seems to be more popular and is the I decided to go with. There are many different firmware versions that you can load up on your control board, but I decided to go with the X-quadcopter configuration v4.7 by KapteinKuk, which you can get from Hobby King under the link to the control board on the files tab (files seem to only be linked under the international warehouse, but you can still get them). Once you get that file you'll need to download Atmel Studio version 6.0 and upload all of the settings that are listed in the manual - it takes a while, but it's easy enough. Remember, you'll need the USB programming card to do this - this can also be purchased at Hobby King.
Once you upload the firmware you'll be ready to hook up all the electronics and assemble the frame, which I'm covering in the next post.
Sunday, January 20, 2013
Transmitter to Camera Setup
This week I got all of the components to run the FPV system... unfortunately I'm having a little trouble figuring out what is going on. Although everything appears to be correct, when I hook up the receiver I'm not getting a signal. I'll update this once I figure it out.
Transmitter, Camera, and Battery system from ReadyMadeRC.com |
Subscribe to:
Posts (Atom)