Shop OBEX P1 Docs P2 Docs Learn Events
Ken/Cluso99/ W9GFO/JasonD's QuadCopter Build Log (updated info ELEV-8 + availability) — Parallax Forums

Ken/Cluso99/ W9GFO/JasonD's QuadCopter Build Log (updated info ELEV-8 + availability)

Ken GraceyKen Gracey Posts: 7,392
edited 2012-11-07 13:14 in Robotics
Hey all,

Getting a little too deep in the business world lately - spreadsheets, pricing, production and meetings. Found out I was starting to loose my compass and that it wasn't too rewarding so I decided to throw some time towards building a QuadCopter. This thread will be my "build log". Must say that my whole attitude shifted to a very positive one after I started drawing some parts. Then I asked Matt to laser-cut some parts and he readily cooperated (thanks Matt!). Meanwhile my older son and I started making cables and drilling out some 5/8" diameter 0.035" wall aluminum rod. He was really enthusiastic and kept us up late working in the shop.

Don't expect too much from me in this thread, technically or content-wise. My first responsibility is towards the daily business of Parallax. And I'm also using the plug-and-configure-and-play Propeller-based Hoverfly board. There probably won't be much in the way of Propeller code here since I just want to fly a GoPro camera around. If I get comfortable with the mechanical side this could change and I'll step into a Propeller-based DIY system, but not until I see that my mechanics are air-worthy.

I'll keep a parts list on this thread (second post). Aside from that I'll do my best to make a weekly update. Everybody is welcome to post whatever they want in this thread - I welcome any input along the way. I know that Jason and many others around here like Cluso are way ahead of me and I'm interested in learning.

Some design choices have been made after research on the RC Groups discussion forum. They've got a super set of threads on QuadCopters.

The photos below show where I am today.

Thanks,

Ken Gracey

attachment.php?attachmentid=83482&d=1311887606

attachment.php?attachmentid=83483&d=1311887606

attachment.php?attachmentid=83480&d=1311887605
800 x 600 - 120K
800 x 600 - 109K
800 x 600 - 127K
800 x 600 - 69K
«13456743

Comments

  • Ken GraceyKen Gracey Posts: 7,392
    edited 2011-07-28 14:13
    UPDATE 2-1-2012: THESE RESOURCES ARE OUTDATED- USE THE PRODUCT WEB PAGE FOR DRAWINGS, BILL OF MATERIALS AND TECHNICAL INFORMATION

    I've posted a draft XLS Bill of Materials below (as a zip since the forums prohibit XLS), updated August 14, 2011.

    attachment.php?attachmentid=84029&d=1313379711
  • $WMc%$WMc% Posts: 1,884
    edited 2011-07-28 15:09
    Controlling this via WiFi would really be cool.
  • PropabilityPropability Posts: 142
    edited 2011-07-28 15:13
    When will the Quickstart proto boards as shown be avaiable?
  • K2K2 Posts: 693
    edited 2011-07-28 15:22
    Wow! That is incredibly inspirational. I'm feeling a huge tug to buy a HoverFly board. What an outstanding product!

    Thanks for documenting the build, Ken.
  • graffixgraffix Posts: 389
    edited 2011-07-28 16:06
    Dont expect much,from you?LOL
  • K2K2 Posts: 693
    edited 2011-07-28 16:25
    The more I think about this, the better this sounds. A couple years ago I bought some inexpensive carbon fiber arrows from C.A.L. Ranch. I removed the fletching and the tips. Seems to me that criss-crossing two shafts would be the start of a quadcopter frame. Meanwhile, I never could resist the allure of cheap HobbyKing outrunners, which led to a sizable collection of them. A 2.4 GHz spread-spectrum transmitter and two diversity receivers are sitting in a box about 3' away. Seems like we're just one HoverFly board short of a critical mass. The words "moral imperative" keep flitting across my mind.

    It's all Ken's fault.
  • Ken GraceyKen Gracey Posts: 7,392
    edited 2011-07-28 16:34
    K2 wrote: »
    It's all Ken's fault.

    Your money will mostly go to HobbyKing this time, but we'll be here if you need us :)

    Can't wait to get home tonight to get this QuadCopter built up. Will stop at the HobbyTown store first to pick up a few more connectors and R/C helicopter landing gear.

    Would be glad to have you on board, K2. That's what I'm hoping for!

    Ken Gracey
  • RonPRonP Posts: 384
    edited 2011-07-28 16:59
    You have put the bug back in my ear it says "build quad" I thought I got ride of it. Back to the Doctor. :lol:

    I purchased an airframe at this years AMA show. But I know my programing skills are not quite up to snuff. So I keep busy learning, more and more everyday. I've read some on Algorithims and Kalman filters. I know what needs to be done but to bring it all together is another story.

    When I am done with my current project I planed on building another robot. But maybe I'll dive in to the Quad. Have to wait and see what the Doctor says.

    I'll be following this thread for sure. Have fun Ken. :smile:

    Ron
  • Roy ElthamRoy Eltham Posts: 3,000
    edited 2011-07-28 23:30
    Ken,
    You guys should sell a "frame" kit with all the laser cut parts and aluminum pieces and hardware. Then people like me could put the parts we got from HobbyKing on there and either buy a HoverFly board or make out own (what I'm doing).
    My main problem with my quadrotor thing is that my frame is terrible.

    Roy
  • Ken GraceyKen Gracey Posts: 7,392
    edited 2011-07-29 12:46
    With all of the motors, ESCs, and LiPo battery, wiring is truly a challenge with a quadcopter. In fact, after laying it out and attempting to sandwich it all together I've decided to revise my drawings and go back to the laser cutter. The improvements will add really wide cutouts for wiring and very easy replacement of ESCs and motors. The booms will be moved away from the center another 1/2" and all open up the wiring superhighway in the middle of the chassis. 20-30 16 AWG wire really starts to take up some space. I'd prefer to have more space to work so the body can be taken apart and put back together more quickly.

    attachment.php?attachmentid=83519&d=1311968451

    No problem wiring up the booms, however. The 5/8" diameter aluminum tubing seems ideal so far - it provides plenty of space for wiring and it's easy to put screws through it without hitting wires.

    attachment.php?attachmentid=83518&d=1311968429

    Ken Gracey
    800 x 1067 - 194K
    800 x 1067 - 182K
  • K2K2 Posts: 693
    edited 2011-07-29 15:59
    Very nice. Very professional. You've raised the bar on appearance. I was going to tape black wiring to the black arrow shafts with black tape. After looking at your pictures, I think I'll run the wires inside like you did.
  • Cluso99Cluso99 Posts: 18,069
    edited 2011-07-29 17:43
    Great work Ken. Now you are ahead of me. Damn!!
    I know what you mean about finding the time :(

    Your frame looks fantastic. It would be great for Parallax to sell this in a kit form.

    I hope you do not mind. Here is what I have, and planning, to use.

    From Hobbyking I have...
    Motors CF2822 (qty 5, 1 is spare)
    ESC HK-20A (qty 4)
    LiPo Battery Zippy 1600mAh 3S1P 11.2V (qty 2)
    LiPo Charger Turnigy 5011
    G.T.Power Battery Meter

    I also have...
    Radio Spektrum DX6i 2.4GHz

    Electronics...
    PCBs ordered (and parts)
    * Cluso's BaseBlade1 (Propeller)
    * Cluso's IoBlade4 (Servo headers)
    Cluso's BaseBlade1c.JPG
    Cluso's IoBlade4.JPG

    These pcbs are the same size and will either plug together horizontally or stack vertically. They are each 30x45mm and will fit a Hammond 1551G 35x50x20mm box.
    http://forums.parallax.com/forumdisplay.php?65-Propeller-Chip/page3&order=desc

    BaseBlade1: Has a Propeller, 64KB eeprom, 3v3 regulator, xtal (socketed for overclocking, typically 104MHz using 6.5MHz xtal) and an optional transistor reset circuit for using a cheap USB-TTL propplug equivalent. An I2C interface is available to connect to the Wii Motion Plus (3 axis gyro) and Wii Nunchuck (3 axis accelerometer), or to an expansion pcb having the gyro, accelerometer, compass, pressure and temperature ICs. Although I have the parts for this, the Wii solution maybe the cheaper option. A propplug or equiv is required for programming.

    IoBlade4: Has 16 Servo 3pin headers (for connection to the Radio and to the motor ESCs). All have separate series protection resistors to the prop and separate 5V links (because usually the ESCs have their own 5V and this needs to be isolated). There is also a servo header for power. Only 12 of the servo headers are connected directly to the BaseBlade1. The other 4 have a header for cabling an extra 4 prop pins (if required). The 12 are defined as: N, E, S, W (drives QuadCopter ESCs), NE, SE, SW, NW (drives 4 more ESCs for Hex or Octa Copter configuration, or for motor control of a camera, etc), and Throttle, Aileron, Elevator and Rudder (from the Radio). The extra connections are labelled Ch5, Ch6, Sp1 & Sp2.
    This pcb has a 14pin header designed to plug into the BaseBlade1 with 5V, Gnd, P0...P11 (or P16-27). The 5V has a link on the pcb and provision for a bulk capacitor. This should be able to fit onto any propeller pcb with a minimum of fuss.

    Mechanics...
    Aluminium tubing for arms

    I have some twin propellers in a few sizes (7"-10"), but no counter rotating ones yet. I have been in two minds about this since counter-rotating (push) are harder to find, but easier to use.
    808 x 625 - 164K
    958 x 624 - 231K
  • K2K2 Posts: 693
    edited 2011-07-30 03:24
    Roy Eltham wrote: »
    My main problem with my quadrotor thing is that my frame is terrible.

    The fine folks at Hoverfly strapped four motors to a FedEx box and flew it around the office. You could improve their design by using basswood sticks to extend the motors well past the edge of the box. The box made a very handy place to stick all the electronics.

    @Ken - Not to worry about me spending money elsewhere. I'm taking kapteinkul's AVR code and adapting it to the Propeller.

    @ Cluso - What a brilliant choice of motors. :)
    1024 x 540 - 57K
  • TtailspinTtailspin Posts: 1,326
    edited 2011-07-30 10:21
    Running the wires thru the frame will help somewhat with crash protection issues... Not that yer gonna crash,
    it's just that I heard somewhere, "what goes up, must come down"..

    Murphy's law plus gravity, equals a dent on the hood of your car, or your neighbor's car,(depending on your current karma status of course.)

    Looks like a really fun project, four spinning blades, plenty of horse power, and tethered only by radio waves thru the air... this is gonna be cool.

    -Tommy
  • $WMc%$WMc% Posts: 1,884
    edited 2011-07-30 13:06
    I sure wished Murphy would have been into writing debuggers instead of laws of probability.
    '
    I hope Ken has a garage too.
    '
    I have 40 acres and finding the cows can be a chore.( I have a lot of tress too)
    '
    This project along with a small wireless camera would be perfect for checking on the cows!
    '
    I'll wait on the out come of this project before I proceed.( I don't have a high$$$ laser cutter )
    '
    '
    Heres a camera option Ken.
    '
    This camera is very small & light and it has a good range. Color/audio too.Runs on 8 voltsDC or a 9volt Batt.
    I use this on My BOE-Hog mower.
    '
    link for the mini cams 2.4GHz $39.95
    http://www.raidentech.com/24ghzmiwicoc.html
  • WhitWhit Posts: 4,191
    edited 2011-07-30 15:21
    Glad to see you playing Ken!
  • Ken GraceyKen Gracey Posts: 7,392
    edited 2011-08-01 15:27
    Hey there,

    Thanks for sharing. Cluso99 - got the e-mail and "yes, that would be great!".

    Since I started this project last week I assembled a full system but found out that my material was black opaque acrylic, not delrin. The shop guys had peeled off the paper so the two materials looked very similar. When I started to assemble the chassis parts were cracking and that was my first clue, with the second being a lack of flexibility. This morning Matt cut me a new set of parts from delrin and everything is much better.

    I took the opportunity to make a new drawing and take some serious weight reduction gains by opening up a bunch of the chassis. This had the additional benefit of making the wiring really easy - there's plenty of room to organize wires the way I want them, quickly, and to replace an ESC or motor with less than 10 minutes of headache.

    Tonight I'm staying late at Parallax to set up the radio and Hoverfly board. I think I'm within 3-4 hours of a bench test and initial configuration.

    Will be sure to do nothing too exciting without a video camera nearby!

    Ken Gracey

    attachment.php?attachmentid=83617&d=1312237633

    attachment.php?attachmentid=83616&d=1312237633

    attachment.php?attachmentid=83615&d=1312237633
    800 x 600 - 80K
    800 x 600 - 100K
    800 x 600 - 111K
  • Roy ElthamRoy Eltham Posts: 3,000
    edited 2011-08-01 15:48
    Looking good, Ken, can't wait to see the video of a flight.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-08-01 16:27
    Ken Gracey wrote:
    ... found out that my material was black opaque acrylic ... When I started to assemble the chassis parts were cracking ...
    I'm glad I'm not the only one with that problem! :)

    That thing's really coming together nicely, Ken. How did you determine how long to make the rotor arms? Is the QC less twitchy to control, the longer they are?

    -Phil
  • K2K2 Posts: 693
    edited 2011-08-01 17:20
    How did you determine how long to make the rotor arms?

    The Hoverfly folks recommend you aim for about 25" from shaft to opposing shaft. It is not a crucial measurement.

    @Cluso99: People with extensive motor rewinding experience tell me that the AX2213 is a lot better motor than the CF2822. The latter looks flashier, but its mechanics and magnetics are inferior. This has been borne out in my own tests. For its size and cost, the 2213 is outstanding!

    Also, Monto RC (and probably others) offer counterrotating pairs of EPP 10x4.5 that are a pretty good compromise between efficiency and low rotational mass (for quick response to flight control commands from the computer).

    Edit: While on the topic of loop stability, it's worth mentioning that the KK code is anything but sophisticated. Rather than port it to the Propeller, I am starting from scratch.
  • Cluso99Cluso99 Posts: 18,069
    edited 2011-08-01 18:28
    Thanks for the motor info K2. I just looked at the specs and price figuring I can always change later.

    Ultimately, I would also like to place the fets on a pcb and have the prop control these directly (i.e. no ESCs). But that is for later. Most likely will not save any $ due to cheap ESCs, but will make a neater solution.

    BTW IIRC Jason Dorie (and others) have posted code for the prop.

    I posted code on my QuadCopter thread on the prop forum that I used to drive an esc to vary motor speed. It was just a re-take on already posted code. There is also code posted (Jason???) using just a gyro (from the Wii Motion Plus) that wans't doing a bad job in keeping the quadcopter quite stable.
  • Ken GraceyKen Gracey Posts: 7,392
    edited 2011-08-01 19:37
    Hey all - really good news to report! Today was a great day because Jim Carey's son (you may remember him as the kid who runs the UPEW raffle) - a 14-year-old kid named Brenden - showed up and he was truly frothing over the quadcopter project. Since I had some real work to do he spent the morning putting the new frame together and tuning up each motor setup. Very nice to have a helper who's only problem is too much enthusiasm. He went home with his dad around 3 pm.

    Round 'bout 5 pm Daniel Harris and Kevin Cook wandered over to my cage and from that point it was only a few minutes before this quadcopter was flying (very nicely!).

    Here's a picture of Daniel tuning up the radio while I went to charge the LiPos.

    attachment.php?attachmentid=83626&d=1312252578

    Videos will follow in the next post! In short, it flew perfectly! The Hoverfly board made this so easy.

    Ken Gracey
    800 x 600 - 121K
  • Ken GraceyKen Gracey Posts: 7,392
    edited 2011-08-01 19:40

    That thing's really coming together nicely, Ken. How did you determine how long to make the rotor arms? Is the QC less twitchy to control, the longer they are?

    -Phil

    Just like K2 mentioned - Hoverfly gives some general guidance about distance, so I took it and wound up with 26" distance between the rotors.
  • Capt. QuirkCapt. Quirk Posts: 872
    edited 2011-08-01 19:45
    In my opinion running power wires through aluminum tubes is dangerous, and if given to the public will lead to smoke trails.

    Motorcycle manufactures tried running handlebar switches through the handle bars, and it caused constant warranty problems. That is why all switch wiring is mounted alongside the handle bars now.

    Bill M.
  • Ken GraceyKen Gracey Posts: 7,392
    edited 2011-08-01 20:01
    First indoor flight:
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-08-01 20:01
    Ken,

    I notice you ID'd one of the rotor arms in red. I assume that's so you know where "front" is when flying it. A hand-eye-coordination-challenged person like myself would probably need additional sensor and firmware assistance to make sure that arm is always pointed away from me. That way the QC's frame of reference for control inputs would always match my own. (For that matter, I'd probably derive more pleasure from programming a course and watching it fly it than trying to control the thing in real time with my thumbs. :) )

    -Phil
  • K2K2 Posts: 693
    edited 2011-08-01 21:43
    Cluso99 wrote: »
    There is also code posted (Jason???) using just a gyro (from the Wii Motion Plus) that wans't doing a bad job in keeping the quadcopter quite stable.

    That is an excellent lead, Cluso. I'll check it out. I'm very much interested in alternatives to the angular rate sensors I selected. Some day, depending on where this goes, I may even buy fiberoptic gyros (FOGs). They are amazingly stable and immune to vibration. The lightest ones (that we know about) are down to about 200 g. But they are pricey.

    BTW, great flight, Ken & Co! Ya gotta love Hoverfly Pro!
  • Ken GraceyKen Gracey Posts: 7,392
    edited 2011-08-01 21:55
    A photo of the QC flying at the park:

    attachment.php?attachmentid=83629&d=1312260937
    800 x 451 - 41K
  • Ken GraceyKen Gracey Posts: 7,392
    edited 2011-08-01 21:57
    And the second flight, at the park. Of course, with a bunch of colleagues it was only a matter of minutes before they wanted to strap somebody's phone to the QC (which we did).
  • Ken GraceyKen Gracey Posts: 7,392
    edited 2011-08-01 22:21
    @Bill - thanks. I can see this being a potential problem if connectors could touch the aluminum tube, or if friction at the end of the tube cuts into the wire shielding. I was pretty careful with the manufacturing and assembly process because of the same concern.
Sign In or Register to comment.