3D Robotics

The decision to port the Basic Stamp autopilot to Arduino turned out to be an unexpected opportunity to make something really cool. I've taken Jordi's open source RC multiplexer/failsafe board, and mashed it up with an Arduino clone to create "ArduPilot", perhaps the cheapest autopilot in the world. ($110! That's one-third the price of Paparazzi)

Here's what it is:

A custom PCB with an embedded processor (ATMega168) combined with circuitry to switch between RC control and autopilot control (that's the multiplexer/failsafe, otherwise known as a "MUX"). This controls navigation (following GPS waypoints) and altitude by controlling the rudder and throttle. These components are all open source. This autopilot is fully programmable and can have any number of GPS waypoints (including altitude) and trigger camera or other sensors

As with the Basic Stamp autopilot, to make a fully autonomous aircraft you need to combine this navigation autopillot with a stabilization system, for which we turn to our old friend, the FMA Co-Pilot (off-the-shelf infrared sensors and control board to keep the plane flying level), which controls the ailerons and elevator.

By using Jordi's MUX, which allows us to switch from autopilot to manual RC control in hardware, we gain several advantages over the Basic Stamp:

1) Because the switching isn't handled by the processors, we don’t need to drive servos in real time, which means we don't need stand-alone servo driver chips (thus a simpler board)

2) We also don't need “mirroring” subroutines to pass through servo commands in RC mode (simpler code)

3) Don’t need power regulator, since we’re using regulated output from the RC receiver (simpler board)

4) The built-in MUX failsafe is cheaper and simpler than using a stand-alone one.

I've taken a quick pass at the schematic and PCB (Eagle 5.0 format) for ArduPilot, although this will evolve as we go through the hardware testing cycle: Schematic, PCB board. You can buy the board here. Arduino code coming soon in alpha now.

All together, this can be the basis of a sub-$500 UAV:

Autopilot:

--ArduPilot PCB: $10

--Boarduino kit + FTDI cable: $35 (subtract $17.50 if you already have a FTDI cable)

--PicoSwitch: $20 (we'll probably build this in the board in the next rev)[UPDATE: Jordi's now incorporated that into the board above. It's a TinyAVR chip ("IC3", $2.75) and its associated programming interface jumpers ("ISP")]

--EM-406 GPS module: $60

--Multiplexer chip : $1

--8 Samtec TSW-108-25-G-T-RA right angle servo connectors (available as a free sample): $0

(That's a $110 autopilot, thanks to the open source hardware. By comparison, the Basic Stamp version of this, with processor, development board and failsafe board, would run you $300, and it's not as powerful)

Stabilization:

--FMA Co-Pilot: $70

Plane and RC equipment:

--Hobbico SuperStar (includes motor, battery and ESC): $109

--6-Channel radio system (with proportional control for channel 6, to calibrate FMA system): $109

--Three servos: $45

TOTAL: $440
E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • Chris, I tryed to order IC2 and IC3. Unfortunately in France it is not possible to find a distributor. The delivery taxes from US become important. Do you intend to produce a kit monted or to be mounted ? By the way, do you have some news about the progres of the very wayted code?
  • Moderator
    I did, but didn't get his reply until after my post... I hate the junk-mail bin... Anyway he said there was an oops and took off the shipping. The board is being printed and will be on it's way soon. Great service, bad inbox!
  • 3D Robotics
    Nathan (the person who sends the confirmation emails -- and also the CEO!) is very responsive. Why not ping him and ask directly?
  • Moderator
    I'm not sure what's going on w/them. I just got a credit from their sparkfun site for the shipping fees paid for the board I ordered. I've got no board and did not get a credit to paypal for the cost of the board? They have not replied to my emails either. I'm thinking it's because I ordered right at the same time the newer stuff was submitted to them, but little correspondence would be nice. From what I've read this is not normal for them. I just want a board I can practice with...
  • Brian, expect 10-14 days
  • Moderator
    Does anyone know how long it takes to get a board after it's been ordered?
  • Moderator
    Thanks, I'll just watch the current posts for the the code and other updates.
  • 3D Robotics
    No code yet (give me a week or two). These boards will work fine (although you may have to change some pin numbers in the code) are functionally identical to the new ones, but DO NOT solder in the diode D1. It's just there as a safety in case you reverse the battery input polarity, but unfortunately we made a mistake on the trace and it's miswired.
  • Moderator
    Chris,
    I ordered this board just before you announced these latest updates. I've been tdy for my job anyway so it doesn't matter. Anyway, even though July is just around the corner as is the "new board" I'm still planning on building one (the version picture on this post is the one I ordered), is the program code available for this version?
  • Thanks Chris,

    I'll have two unmade older boards for the record books then.
    Anyone want them ?

    I'll order a new one when you let us know they are ready.

    Thanks again for the pdf file.
This reply was deleted.