Saturday, April 21, 2012

Review: 3DR 900MHz Radio

 The much-anticipated 3DR radio arrived yesterday, in the stylish new 3DR black box.  Hooray!  After having so much xbee grief, I had high hopes that this would solve all my telemetry-related problems.

TLDR: it's great!

As advertised, the kit comes with a ground radio, an air radio, two antennas, cables for each, and a header for the air radio.  As a nice bonus, they included enough 1-1/4'' shrink tube to cover both radios. Nice!
 Here's what the radio units look like. The ground unit plugs directly into a USB.  Both Mac and Windows 7 recognized it and downloaded the proper driver.  The included ground cable is a standard USB extension cable. (Use the cable, and don't plug the ground unit directly into a USB port.  There's no other attachment to the board other than the soldered connections, so the USB connector will break off if there's any stress applied while in the computer's USB port.  Thanks to Andreas Antonopoulos for this tip!)
 As you can see here, the air unit doesn't have the headers soldered on.
 The approximate weight of the air unit is 17.4 grams, not counting solder or shrink tube.  It's possible to replace the antenna with a lighter quarter-wave wire antenna.  Tridge mentioned that he did some of his initial testing with such a setup.
 Stick a label onto your antenna before you get it mixed up with a 2.4GHz or other sized antenna.  They look pretty similar but won't work.



 Here's how to attach the air unit cable.  Use the end of the cable that has the 5-pin plug.The RTS pin is left bare, and the wire gap is closest to GND.  If you've got the red wire on 5V you're good -- there's only one orientation where that works.
Here's the air unit shrink wrapped and with cable attached.
 Here's the radio pins on the APM2.  It's located at the rear of the board.  There are four pins, and you use the end of the cable that has the four-pin connector.
 Looking forward (as in this picture), the red power wire is towards the left.


 Once the air unit is hooked up, power on the APM, attach the ground unit to your computer (via USB), run the APM planner, and press control-A.  Be sure to be in disconnected mode.  You will get the 3DR radio configuration screen. Press "Load Settings" and you should get the settings for both the ground and air radios.  Exit this screen, and you should be able to connect as normal.  The configuration was read immediately (no "timeout in ..." messages!!) It took about 5 seconds from connect time for the APM Planner to start responding.

Once you've verified it's working, you will want to change the network ID if you're planning on flying near anybody else using a 3DR radio.

Summary:  overall I'm very happy.  I spend about an hour setting things up (including taking pics and notes), and it's working smoothly.

Viewing Radio Stats

Michael Oborne points out: 'in the planner under "Status" and "tuning" you can see all the values tridge included in his graph live.'





What to do if your network binding goes awry

Of course, this would not be a certified Mark Harrison Radio Experience (tm) if at least one thing did not go wrong.  In this case, changing the network ID failed on the air radio, so I was stuck with a ground radio with an ID of 26 and an air ID of 25.  Fortunately this was not too difficult to clear up; I'll cover that in the next post. (update: here.)


iPhone/Android RC Control

If you're like me, you've been asked plenty of times if your RC unit can be controlled by an iPhone.  If you've been wanting to do this, your problem is solved!


Hobbyking IOS & Android 4CH WiFi Receiver


Four channel, talks over wifi, app works by pseudo-stick or tilt control, mysterious reference to "video function", failsafe... seems pretty nifty!

It looks like the unit joins a hard-coded network name, and the password is printed on the receiver.
Reference manual here. The Internet believes this to be the app.



Tuesday, April 17, 2012

Six-position APM switch for Turnigy 9x

This looks like a pretty nifty thing to do, courtesy of the ever-awesome HappyKillmore.  Basically it swaps out the pitch trim pot with a six-position switch that maps to the six APM control modes.  It's based on an original idea by Max Levine.  Video here.  Ready-made unit here, and here for kit that needs some soldering.

Monday, April 16, 2012

CHDK Notes

Prepping for this trial, getting CHDK running on Andreas' camera.

Camera: Canon Powershot SD750
Memory Card: 16G

Prepping Card

  • simplest method is "firmware update"
  • needs to be reloaded each time the camera is powered on
  • may need to get a 2G card for "bootable"
Steps for Card
Here's the parameters I used for sdminst.  As per its instructions, I lock the card, and start the camera by pushing the play button.  I see the CHDK menu.

Pushing the top REC button puts the camera into alt mode.  Pressing menu in alt mode gives the CHDK menu.


It seems I can take pictures, but I haven't been able to find the pictures on the card after attaching it to the computer.

to be continued...







I'm Now I'm to the point where

Sunday, April 15, 2012

3.3V PSU Update

I've configured the PSU I got a while back.  This is needed for the  5.8GHz video transmitter from Range Video.

It was pretty straightforward to assemble.  I put a JST connector on the input and output, desoldered the 12V pad, and soldered the 3.3V pad.  I wrapped the whole thing in a 3/4'' shrinktube, but a 1/2'' would have been better.

I'm not sure what the signal line is for.

Saturday, April 14, 2012

Thursday, April 12, 2012

Wall Street Journal Article

Here's the Wall Street Journal article... be sure and watch the video.  They did a great job!

Article
Video
Video direct link







And something interesting on a personal note... I just finished taking Sebastian Thrun's Audacity class (from which I learned a lot!), so it was interesting to see our two stories on the WSJ sidebar.

Sunday, April 8, 2012

Three Dollar Wattmeter

I've got a watt meter, but if you're wanting to measure your power system on the cheap, here's a link to the classic $3 Wattmeter based on the ubiquitous Harbor Freight digital voltmeter.

Basic Idea:  add 14 gauge wires, attach to connectors of your choice, and wire in a 1K-10K resistor to protect the circuitry when flipping through the millivolts settings.

The stock wires are good for up to 10A, and with the replacement wires it's good up to 20A.

Jackerbes has some nice construction photos. critterhuner has some here.

Here's a wiring diagram.

You could run two of these in series, one measuring voltage and one measuring amperage for six dollars.








And Lucien has a nice writeup on cheap power shunts that will extend the current measuring range up to 55A continuous and 100A burst.

For those interested in learning more about watt meters, check out my link above.  Here's the manual for the well known Watt's Up unit.

Thursday, April 5, 2012

Arctibaby and APM2

After getting the HobbyKing MicroQuad put together rather nicely, I was having a lot of problems with one of the motors running erratically.  I thought it might be a problem with the motor or ESC, but Andreas suggested swapping out the KKBoard and seeing if that would help.

We swapped in his APM2, and it flew rather nicely, modulo some PID tuning to get rid of the shakes.
Impressively, the APM2 is almost the same dimensions as the KKBoard.  As far as I know, this is the smallest quad that's run with the APM2, but I'm happy to receive any corrections.

I'm rather encouraged, it will be a lot of fun having a tiny platform that I can fly indoors!


Two nifty vendors of tape and heatshrink

Just to prove that the Internet has specialists in just about every human endeavor:


Hobbyking Micro-Quad build, part 3

I hooked up the battery, bound the transmitter, and tested to see which motors needed to be reversed. I had tried to think of some clever way to determine the motor rotation prior to soldering the motors, but couldn't think of any.
It turned out not to be a problem.  It's only a couple of seconds to desolder and resolder the wires in a swapped configuration.  I found it most convenient to leave the middle wire soldered and swap the left and right wires.  In this picture you can see the swapped state.
Here's how I attached the receiver.  Instead of using four 3-strand servo connectors, I used two.  You can do this because you only need one power connection.  The cable on pin 4 is connecting the signal, power, and ground wires.  The cable for positions 1-3 is connected to the signal pins only.  I made these cables with my crimping kit.
Note that I had to cross two of the signal wires where the attach to the control board.
(UPDATE:  Ignore everything below. I spent way too long trying out all kinds of things for the props.  I ended up using a hammer and banging the props directly onto the motor shaft. Works great!)

Previously I thought I could just use the prop savers to hold the prop in place without having to hollow out a hole in the pro to match the prop saver dimensions.  This turned out to be a false hope, as the blades wiggled vigorously as soon as power was applied.  I reversed the prop savers from their previous orientation so that the small end of the prop saver was exposed.  It should just line up with the end of the propeller shaft.


I used a 5/32'' drill bit to ream out the prop hole.  For strength, I didn't drill all the way through the prop, but just enough so that the prop would fit onto the prop saver. Holding the drill bit in some vice grips worked nicely.  Trying to use the electric drill broke the test prop.
I had some crud that didn't separate cleanly when the drill bit was removed... some tweezers took cleaned things up nicely.
Here's the props mounted on the prop saver using therabands.

Note: balance the props before you ream them out.  The small prop hole fits nicely onto a paper clip, but once the hole has been reamed out the balance is thrown off by the uneven connection between the paper clip and the inside of the hole.
I used gorilla superglue (with the embedded rubber cement) to glue things up.  Here's how much glue I used for the joints.
I applied it to one side, mated and jiggled the two sides to spread the glue, and then mated the joint to the proper position until the glue cured enough to hold the joint.
I cut some craft sticks to wipe off the excess glue from the joints.
Here's how much glue I used for the arm supports.  I also applied a bead of glue along the edge.
In order to keep my fingers out of the mess as I aligned the pieces, I held everything together with pliers.  I still got some on my fingers and blobbed some glue over the body.  If I did this again I would try dry-fitting everything and then wicking thin CA into the joints.  The Gorilla CA was a bit too thick for wiking.
To save weight and space, I took the Orange receiver out of its case and wrapped it in 3/4'' shrink tube.
I had to swap the mounting holes for the legs so that they didn't interfere with the mounting of the board.  If you're flying in X configuration, be sure your legs are lined up with the arms.
Here you can see that this allows plenty of room for the board.  There was vibrations even with this configurations.  I later added two more layers of gyro tape and the anti-vibration pad that came with the kit.






to be continued...




Note: If you're using kapteinkuk XCopter 4.7, the numbering of the rotors has changed:

 ;   View from above
 ;      Forward
 ; M1,CW     M3,CCW
 ;   *         *
 ;    \       /
 ;     \    /
 ;      \ /
 ;       +
 ;      / \
 ;     /    \
 ;    /       \
;   *         *
; M2,CCW    M4,CW

Superfly Canopies and Battery Holders

Here's some interesting approaches to mounting batteries on the SuperFly.

Murman made a coroplast canopy for SEFF combat.









Wam74 says: "I don't run a canopy and wasn't totally happy with just velcro on the battery. So I made a holder. Straightened a paperclip, bent it into a hard C the width of the battery and pushed it up through the foam from the bottom side. Cut the wires 1/4" above the top of the battery (topside), bent them into opposing hooks and stretched a 1" O-ring between the hooks, securing the battery. I still leave the velcro in place to keep it from sliding around on my less than skillful landings."

Murman did this: "I modded my SF so that the canopy would break away in a crash. I used velcro to hold the battery to the canopy and then tiny rare earth magnets to hold the canopy to the deck. Since the battery is the heaviest part of the SF, my thinking was that if it broke free in a crash then the SF itself wouldn't get damaged. It actually worked very well and I'm sure it saved having to make some repairs."



The battery is nicely protected as you can see.



Wednesday, April 4, 2012

Flying wing CG calculator

Here's a nice CG calculator for flying wings.  I haven't tried it, but people are saying nice things about it on RCG.  I'm going to try it out with the Zephyr II measurements and see if it gets the same COG as Chris did.

Sunday, April 1, 2012

We're featured in a nice AP Drone article!

A nice article by AP's Marcus Wohlsen went out today.  Andreas and I met with him last last week and demoed some of the work we've been doing here.

Best pictures:


BERKELEY, CALIF. (AP) - Sharp-eyed dog walkers along the San Francisco Bay waterfront may have spotted a strange-looking plane zipping overhead recently that that looked strikingly like the U.S. stealth drone captured by Iran in December. 
A few key differences: The flying wing seen over Berkeley is a fraction of the size of the CIA’s waylaid aircraft. And it’s made of plastic foam. But in some ways it’s just like a real spy plane. 
The 4 1/2-foot-wide aircraft, built by software engineers Mark Harrison and Andreas Oesterer in their spare time, can fly itself to specified GPS coordinates and altitudes without any help from a pilot on the ground. A tiny video camera mounted on the front can send a live video feed to a set of goggles for the drone’s view of the world below.
[...] 
If you've come here by way of that article, welcome!  Check out our youtube channels if you want to see some videos of the work we've been doing:

And here's some links to past posting that might be of general interest to people curious about homemade drones:


And some representative build details.  If you're interested in more details, there's plenty on the site or feel free to drop me a line.

The plane is a Ritewing Zephyr II, with an ArduPilot Mega control board. Lots of details here.
The quad is a RadicalRC Stinger, with an ArduPilot Mega 2 control board.  Lots of details here.




Saturday, March 31, 2012

Turnigy Micro-Quad build, part 2

 Continuing from part 1... here's the power cable attached to the bottom of the board.








Check the voltage on the power pads, you should see full battery voltage.  You'll also notice that the positive pad is on the right looking down with the arm pointed at you.
 A lot of ESC wiring needs to be cut off in order to solder the ESC directly onto the frame.  It turns out this is a lot easier than it looks, so don't sweat it.
 Here's about how much to cut off for the power.  Put a blob of solder onto the pads, then cut and tin the ESC power wires.  Position the wired onto the blobs, touch your soldering iron to the wire, and the tinning solder melds smoothly with the blob on pads.
 Trimming the shrinkwrap a bit helped.
 To verify, plug in the battery and measure the voltage on the control cable.  it should be about 5 volts.
 Do the same thing to the three motor leads of the ESC.
 Do whatever programming (if any) is necessary on your quad controller board.  My notes on doing this for a KK Board are here.
 It seems you're supposed to attach the KK Board (if that's what you're using) onto the leg bolts, but they're too short.  I used a triple layer of double-sided servo tape.
 Attach your receiver and hook up your motors to the quad controller board.
 Now here's a very weird thing.  I trimmed the motor wires just as I trimmed the ESC wires, but I could not get the to tin at all.  I have no idea why this was -- are the wires coated?  Anyways, I mashed the wires into the solder.  I'm hoping this is good enough... if not and I have a cold solder joint I'll try and figure out the solder problem or buy another motor.
Fortunately, I had done just the one motor as an experiment.  For the other three motors, I tinned the ends without cutting the wire, and attached them while just folding the wires back.

This worked well and is what I recommend you do. (update: brosius85 points out that the motor windings are coated with varnish that's heat-resistant in order to handle the high temperatures of the motor.  That's why I couldn't just burn off the coating with the soldering iron.  Thanks Brosius85!)






Continued in part 3...