@Jarrett
Thanks for the detailed post !!
“A “Raspberry Pi” is a full computer, with all of the overhead that entails. You know how your computer sometimes gets a little slow because it’s doing something in the background, invisible to you? Yeah. The Pi is stripped down and a little better than that, but it still rules it out for drone piloting when you need sub-microsecond timing.”
Yeah, I remember reading that somewhere recently. The author said that the little slow downs can eventually add up to a program gap than can actually affect the drones operation & he recommended a microcontroller instead.
It seems that using a relatively “smart” microcontroller and dedicating it to flight control only would be a good idea.
“As you can see, there are not very many holes on those black header strips on the left and right side of the board. Those are input/output pins. That board also contains a bunch of extra weight in the form of features that you don’t need for drone flying, and comes in a fairly awkward shape.”
Extra weight is not good, but when my goal is to build a heavy work drone that has a significant payload, the extra bit of weight (in the unneeded features of the development board) isn’t going to be significant.
There’s a company that was field testing a big drone here locally and it was packing a concrete cinder block around to demonstrate it’s payload capability.
“Then there is an “Arduino-based board” of some other description. I haven’t seen Dan’s drone, but that is likely what it is. That means that it contains an ATmega chip (this brains), and can therefore be programmed with the same tools as an Arduino, but it is not technically an Arduino. These can come in any shape or size that you can imagine, with peripheral combinations to match. There are Arduino-based drone controllers.”
It seems like starting with an ATmega chip and a development board, then just adding other hardware as needed might be an affordable way to go. Farrell seemed to feel that Pis and Arduinos are not really a robust long term solution for a hardworking industrial drone in harsh environments, but since people are using them as domestic consumer grade electronics and getting reasonable lifespans out of them, then maybe they might make a cheap starting point to work from. Getting a working prototype is important. Second round financing can be used to upgrade to MilSpec later.
“I can point you in the direction of some milspec chips. The are $100-200 for the chip alone, and in the low thousands for development boards to be able to actually use the chips. Fortunately, you don’t need them!”
Yet…
“Lately, it’s the toolchain that matters a lot more than the microcontroller. If you’re trying to hire someone, then the best microcontroller is probably “the one they’re familiar with”. If you’re a competent developer, the answer is more likely to be “whatever IDE you like the feel of.” For someone starting out with very little development experience, the answer is probably “something that can run the Arduino firmware”. Which, conveniently enough, comes on an Arduino, and can be purchased in our vending machine.
You know. If you wanted to get your feet wet.”
Can I just buy one of Dan’s Arduinos at VHS, then load Dronecode open source controller code? :
https://www.dronecode.org/dronecode-software-platform