Saturday, June 29, 2013

Fastener Grades.


So I was trying to figure out what M3 fasteners to order at Mr Metric, and fell into the standard state of confusion when offered too many choices I didn't understand.  So, here's the relative price breakdown of a standard piece (or close; I didn't bother to confirm that the M8 piece I randomly selected was available in all the materials).  Sorted by price, with the different sizes marked with ***.  All the items reference standard DIN439B.

Note that Mr Metric has a huge price break at 101 pieces, so be sure and pick that number and not 100.


class              size     type                         price
-----              ----     ----                         -----
STEEL CLASS 4 ZINC M8X1.25  Jam Nut Steel 4 Zinc         .04
STEEL CLASS 8 ZINC M10X1.25 Jam Nut Steel 8 Zinc         .05 ***
STEEL CLASS 8      M7X1.0   Jam Nut Steel 8              .05 ***
BRASS              M10X1.5  Jam Nut Brass                .15 ***
STAINLESS STEEL A2 M8X1.25  Jam Nut Stainless Steel A2   .15
STAINLESS STEEL A4 M8X1.25  Jam Nut Stainless Steel A4   .21 

Friday, June 28, 2013

Monday Miscellanea

An interesting Instructable about quadcopters.  It doesn't actually have a lot of details about building one, but has some good low-level technical stuff.








An overview of the math of controlling brushless motors and gimbals.




Sainsmart sells nice looking Arduino clones and other interesting electronics. PLA too!

jj604 has a neat 1S/2S brick made from a LemonRX receiver and 1.7g servos.







Multicopter contest over at reddit.





Sunday, June 23, 2013

OpenTX: Setting A Six-Position Switch

Here's the tl;dr:

CH05
   +100%3POS Curve(Curve 1) 
 * +100%AIL

Curve 1:  (type: 3 points) 81 48 15


And the longer explanation.  We want to mix two switches (3 position and 2 position) so that they map smoothly over the range of one transmitter channel.  This will allow us to use a combination of the two switches to control something the the Ardupilot Mega flight modes.  We'll use the 3 position switch and the Aileron D/R switch in this example.

There's a lot of slop, but we basically want to get the approximate midway values here.


-100%      -67%      -34%       0%       32%       65%      100%
  |         |         |         |         |         |         |
  |  -84%   |   -51%  |   -18%  |   15%   |   48%   |   81%   |
  |         |         |         |         |         |         |
  |    1    |    2    |    3    |    4    |    5    |    6    |


We start by mapping the 3 position switch.  By specifying just the switch, we get the values (-100, 0, 100)  in positions 0, 1, and 2.  That's not quite what we want; we want the values (15, 48, 81) so that it corresponds to positions 4, 5, 6 in the diagram above.

We can do that using a Curve.  We'll use curve 1. First we set the curve type to "3 points".  Fill in the point values to 81, 48, and 15 as shown.




Then set the first part of the mix to 3POS, Curve 1 as shown.  Note that multiplex is ADD.  As you toggle the switch among the three positions, the mix will follow the curve and fill in 15%, 48%, and 81%.

So, that takes care of three of your positions (4,5,6).

To get the other three positions easily, we'll cheat a little bit.  We can do this because we don't need to hit the midpoints exactly -- we just need to hit somewhere in the range.




Now, we're going to cheat a little to get the other positions.  We can do this because we don't need to hit the midpoint of each position exactly... we just need to be between the high and low points of each range.

So, we look at the low three values, and note that they are close to being the negatives of the top three values (-84 : -81, -51 : 48, -18 : 15).

So, we add the the channel mix the AIL switch.  This will give us -100 and 100 for when the switch is on or off (or vice versa).  So, we set Multiplex to MULTIPLY, and that gives us a handy way to multiply by 1 (keeping the positions we already have) or -1 (giving us the approximate positions we want for 1,2,3).

Here's the Companion 9x simulation.  You can see that as we toggle the buttons, channel 5 outputs the desired values for all the positions.


Thursday, June 20, 2013

KapteinKuk Tests His New Microquad

Uses the same electronics as the Turnigy Microquad. KK notes it's PLA and surprisingly rigid.  Thingiverse design; .  Frame build log here.

The design is by ukarmy04.  Reading the build log gives the impression he's a really sharp guy!


problems embedding videos, but here they are:

http://www.youtube.com/watch?v=4bLkVTeQGqs

http://youtu.be/9UvrB3ZtkFE

Tuesday, June 18, 2013

Installing Companion9x on a Mac

Companion9x is here.  At the time of writing there's a base DMG and an update DMG that needs to be installed.

WARNING -- Companion9x currently installs a broken avrdude, here's how to fix it!!!

This makes it look like your 9x or 9xr is broken, but it's actually avrdude that's broken.

You can use HomeBrew to install a working avrdude.  Follow the brew install instructions, and then type

    brew install avrdude

Note that to get HomeBrew working, you need to

  • install or update Xccode to the latest version
  • install Command Line Tools from Xcode / Preferences / Downloads / Components
Hopefully the Companion9x people will remedy the situation. I'll report it to them.

MANY THANKS to 4x4rc on rcgroups for alerting me to this before I shipped my 9xr back to HK!!

Friday, June 14, 2013

OHD Finished and Flying!

Here's the finished OHD (One Hour Drone).  We'll tidy up the wires, but for now we'll just tape everything down to test it out and tune it up.  We might put a cover over everything for protection.







The joy of flight!


OHD Update, and Portrait of the Drone Maker as a Young Man

 Here's an update on the One Hour Drone (OHD).  It was bare again after Andreas used it as a parts donor.  Second generation drone enthusiast Alexander and I wanted to refurbish it and kit it out with new electronics. We had discussed tossing the Wago-attached power distribution unit, and that's what we did, replacing it with a Hobby King PDU.
 We had to pry off the top plate of the quad (the down side of super-gluing everything together!) but managed to do so without mangling things too badly.  This height looks about right for the PDU to be safely ensconced in the frame.
 It turned out we didn't have any spare 4-40 1'' bolts.  We got some 6-32's in a bulk pack coz they were a ton cheaper.  They turned out to be too big for the motor mounts, so we had to drill out the motor mount holes with a 1/8'' bit.






Wednesday, June 12, 2013

Small Scale Battery Soldering

 The battery died in my tiny DSO Oscilloscope.  Opening it up showed a 1S LiPo of undetermined amperage.  Pay close attention to the smallness of the battery wires!
I had a spare 1S battery.  It was fitted with a JST connector, so I snipped that off.  The wires were huge compared to the old battery.

I'm pleased to say I got it soldered with no problem.  It's the closest work I've ever done with a live battery and I'm happy to say nothing was shorted. I was really sweating it out though!

I'm putting this picture up partly as reference for battery orientation, and partly coz I'm pleased with being able to make this connection successfully.

Concord Model Engineers, Minutes, June 11, 2013

As many of you know, I'm a proud member of the Concord Model Engineers.  You might not know that I'm the Secretary as well, in charge of taking and circulating the minutes.  The club has a lot of great guys who are exquisite craftsmen as well.  Each month I get to see things that (by my standards!) are flying works of art that belong in a museum.  So, I'm going to experiment for the next couple of months... take picture of the Parade of Planes and other interesting things, and post them here along with the minutes of the meeting.  If you're in the East Bay, you should stop in for a meeting!

So, without further ado...

Sunday, June 9, 2013

LemonRX Shrink Wrapping

 LemonRX is a new manufacturer of DSM2 (Spektrum) compatible receivers.  They've been getting lots of good press about their performance, build quality, and price.  At 2.5g, they're about as light as can be.

They come as bare boards, so I wanted to toughen them up a bit.  I started out by quickly applying the smallest dab of hot glue to the antennas.
 Next, I cut some 3/4 inch heatshrink tube to a length that covered the exposed electronics and a bit past the antennas.  I cut two slits in the side for the antennas to go through.








Thursday, June 6, 2013

Tracking Planes with an SDR

Here's an interesting article on tracking planes via the ADS-B signal, using a $20 software defined radio. The author, Clayton Smith, has done an excellent job in integrating the application into Google Earth so you can see the location of the planes there.

I've ordered the radio, and will try building the software once it comes in.

Wednesday, June 5, 2013

Metric Fasteners, Great Price!

Much thanks to coworker Drew who told me about Mr. Metric, which has great prices on (as you might have guessed) metric parts.  They've even got M2 sizes.  Various grades, etc.  $6 flat rate shipping, and free shipping over $50.  Example price: M3x8 stainless steel socket head screw (pictured), $.06 each in quantities of 101.

Update:  I don't recommend KOVA fasteners from India, no matter how many times they leave spam in the comments below!  Update: and Udehra too! Update: three times, Udehra stop it!  And Indian Cutting Tools!