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

  • Hi all is this forum still live!
    Looking for some instructions as to how to build one of these IMU's and to understand it before it takes control of one of my heli's.
    Any help would be much appreciated.
  • 3D Robotics
    @Pokoleo,

    I've updated the post with the current TinyAVR and multiplexer chips we're using.
  • A cheaper TinyAVR chip? (Check the serial number)
    https://emwcs.avnet.com/webapp/wcs/stores/servlet/Product_-1_500201...

    Can we also have step-by step instructions for building it?

    The multiplexer manufacturer's website says that it's discontinued, any alternative chips?
    http://www.onsemi.com/PowerSolutions/search.do?searchString=SN74LS1...
  • I will refrain from commenting too much, because I can tell comments with you would be futile. So I will wait and check back frequently in order to get the information from a more reliable and helpful source.
  • So where/how do I buy the following?

    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 (available as a free sample): $0

    --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)
  • 3D Robotics
    Just upgrade the Superstar battery to a larger LiPo or NiHm and you'll be fine.
  • Admin
    Chris,

    The stock Hobbico Superstar will only stay in the air for approximately 5 minutes.

    The brushless inrunner Jeti Phasor 30-3 hop up motor does not appear to be available any longer.

    What improved motor/ESC/battery combination do you plan to use to extend the stock flight time?

    Regards,
    TCIII
  • Hi Chris, in reference to the original post which talks about the "multiplexer chip" as a free sample, Texas Instruments does not seem to be offering them for free anymore. Perhaps there was too much interest in the chip, or they found it listed online in a DIY forum?

    Which version of the chip should we use, assuming we can get the chip?

    -----
    12 Results
    Item Pkg Pb-Free/Green Stock Status Each
    SN74LS157 - Quadruple 2-Line To 1-Line Data Selectors/Multiplexers
    SN74LS157DE4 D Not in Free Sample Program
    SN74LS157N3 N Not in Free Sample Program
    SN74LS157DR D Not in Free Sample Program
    SN74LS157DRG4 D Not in Free Sample Program
    SN74LS157DG4 D Not in Free Sample Program
    SN74LS157DRE4 D Not in Free Sample Program
    SN74LS157NE4 N Not in Free Sample Program
    SN74LS157N N Not in Free Sample Program
    SN74LS157NSRE4 NS Not in Free Sample Program
    SN74LS157NSRG4 NS Not in Free Sample Program
    SN74LS157D D Not in Free Sample Program
    SN74LS157NSR NS Not in Free Sample Program
    12 Results
  • 3D Robotics
    Can you elaborate on the question? We don't have any capacity for differential GPS, but it's open source so you're free to add your own.
  • How does it (will it) handle differential GPS/alternate positioning?
This reply was deleted.