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

  • 3D Robotics
    Jelle,

    Regarding the thermopiles, please see our ArduPilot Pro, which does what you suggest and integrates its own sensors like Paparazzi.
  • 45 dollar for three servo's is not a very current price, unless you believe you absolutely have to buy them in your local hobby store. If you buy them online prices start at 3$ (like at hobbycity.com or bidproduct.com).
    Another thing is that FMS autopilot. It adds another piece of electronics to the chain. Paparazzi uses a similar approach, but reads the thermopiles directly into the controller. That allows more sophisticated control since you now have knowledge about bank and pitch. It may be a lot cheaper too, since their evil patend is not valid in UAV applications.
  • 3D Robotics
    brian,

    That's correct. We haven't release the product yet so you're just seeing our development in process, including documentation and instructions. Also please note that the shipping kits will have the atmega bootloader and attiny firmware already loaded so most people will be fine with just a USB cable.
  • Moderator
    So what's not on the list of links above is the device used to program this chip (the ATAVRISP2-ND - $35.00). Unless we are able to program the chip via the usb cable on the ArduPilot board it should be included in the links. As a new person to all of this, this was/is confusing.
  • 3D Robotics
    James, that correct. We've got the AT85 linked above, but the AT45 will work as well (one has 8k of memory, the other has 4k, but the program needs less than 2k). Indeed, we're switching to the AT45 in the production version.
  • The TinyAVR is the AT45 chip. It's just a small microcontroller, like the ATMega168, that needs to be programmed. The 6 pin header and that contraption is used to program the TinyAVR chip.
  • Moderator
    Thanks James/Chris, but still a little confused. Looking at the board (I have the above board) and i think the actual chip is soldered over the spot labled 'AT 45' the 3 pin header are next to lable 'X1'.

    What's the contraption that James linked?
  • 3D Robotics
    The programming interface connectors are just some 3-pin headers. You get them in long strips and break off as many as you need. You probably have dozens of them already.
  • Brian,
    I think this is what you're looking for: ATAVRISP2-ND
  • Moderator
    Anyone...
    The parts list above states "TinyAVR chip (IC3) and its associated programming interface jumpers ("ISP")" I've got most of the parts for assembly but not this one. Link takes you to Digi-Key product page for "ATTINY85V-10SU-ND". Ok I can order these no problem... But what the heck are the 'associated programming interface'?

    I know, I know...
    N E W B !
This reply was deleted.