One of the best decisions we made was basing our autopilot system on Arduino (credit goes to Jordi for spotting its potential so early and selling me on it). The engineers all sniffed at it, complaining that it was just an 8-bit processor running at 16Mhz and could never compete with 32-bit ARM processors running at 70Mhz and faster. But what Jordi spotted was something more: the Atmel chips are RISC processors and very effecient, an autopilot is not actually a very computationally intensive task, and most importantly, it's not about "feeds and speeds", it's about community, which Arduino attracts by being cheap, open and very easy to use.
Arduino has won the community competition hands down. The chart above is from the latest status post, and it shows more than 750,000 monthly vistors to the website and nearly 5 million monthly page views. These figures continue to grow at 100% per year.
Community brings tens of thousands of smart people around a platform, and many hands make light work. The amount of code and libraries out there that can be used for free are staggering and there's little need to reinvent the wheel. What basing the ArduPilot line on Arduino has meant is that we're not just using a great technology platform; we're part of a movement. That means not just great tools and thousands of available developers, but also a "cool factor", that really helps with marketing and adoption. In short, the success of the Arduino revolution is thrilling to watch, not least because it means we've hitched our wagon to the right horse!

Happy to see the trend going sky high on that chart, and agree on all points you mentioned and glad you noticed the potential so we can enjoy APM today.
However, I would like to see Arduino also offering more powerful platforms (as ARM) as mainstream,
not just as niche solution as Maple and similar.
Comment by bcr on April 5, 2011 at 6:56pm 
Comment by bcr on April 5, 2011 at 7:24pm
Comment by Krzysztof Bosak on April 5, 2011 at 8:11pm Exactly this is why I was amazed abotu some other autopilot claiming 140MIPS? then extra 140 MIPS for another processor just fo rthe IMU? this is something like 280.
AVR 16MHz is around 14-15.5 MIPS I estimate. So you can have as many MIPS as you want. You can have also MS Word opened on quad core 4GHz machine - the programmers become careless so easily, no matter how much you have, any processing power can be wasted easily.
Space shuttle is maybe 8x motorola 68000. But with less redundance, you could fly space shuttle on 2-3 atmegas.
1 atmega should be enough for anything less than cruise missile, if you got Engineers.
Most autopilots are RABBIT3000 which is only overmegahertzed Zilog80 with extra peripherals.

Recommended this nice article on Sparkfun Apollo landing with 1 Mips
Any nice tutorial for working with Arduino using Eclipse or AVRStudio?
For the sake of curiosity how many MIPS are left nowadays on the APM?

In starting stage of developing Arduino could be a good choose , but after some development became a limit.
infact the code is around up 100 kbyte now and standar Arduino UNO have only 32 kbyte of flash .. only
So now with Multipilot32 that use STM32 is possible to continue the development of AutoPilot Project on ARM M3 at 72 Mhz with 512 Kbyte of Flash and 64 kbyte ram.
Sure Arduino have a good and huge community and good Brand , the arduino core team are doing a great job :)
What was possible to do on AVR platform are doing.Is not only a problem of speed but also on the bus interface for example. So if you put more device on i2c for example it freeze ... i doing a lot of test on this limit but i cannot solve it . So in my new design i use a micro with 2 i2c bus one for ESC and other for sensor.
So really the DIYDrones developer don't use only Arduino framework to solve the problem of performance on imu , but develop a lot of good library that using directly the native code of AVR processor. Don't forget AVR Freaks community that was usefull for this years on development on AVR micro processor. http://www.avrfreaks.net
Best
Roberto
Robero, I don't think the point is on flash memory with large & chip memory chips and Atmega in 256K flavour (the coming APM board), but the processing capabilities, not only mips, but also DMAs ando others.
And don't want to leave without mention all your good work in your ARM based APM. Keep it going.
On the other hand, no one thought about migrating to Xmegas? It would be the closest to the current Atmegas (AVR core) and doubles de mips (by doubling the MHz up to 32) and has DMA, and so on, so more than twice the speed I think.
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.24 members
203 members
720 members
1355 members
207 members
© 2013 Created by Chris Anderson.
Powered by

You need to be a member of DIY Drones to add comments!
Join DIY Drones