Hey Guys! (meant in the most gender neutral of ways),
I have taken my first real step toward building a DIY UAV! This will be boring to most of you, but to someone as far behind the curve as I am, this is HUGE. This community has come so far, and in such a relatively short period of time, that autopilots for RC planes are almost plug-and-play. However, I am determined to learn the basics of process control before moving on to an autopilot. After all, that's where you had to be a little over a year ago to even consider a DIY Drone.
I didn't start out with a LEGO Mindstorms, like this site's founder did, but I did get a Parallax BASIC Stamp Discovery Kit, which I believe was his next step. I don't plan to attempt to make an autopilot out of this controller--it's just for learning.
Now, I want you to pretend that the green LED to the right of the resistor (that's a 470 ohm resister, by the way) in the above photo is blinking once per second. I did that! Yes I did.
I'l like to say "stay tuned," but my projects tend to span years it seems. Maybe I can speed things up this time.
Paul
Comments
Gotta go. Time for Lesson No. 2!
Paul
-John
Manual override is not as critical on a boat but I still really wanted it. I was looking at ways to implement one when I came across the ArduPilot. Its already there and tested!
Nothing against the ArduPilot code but you can load whatever code you want on the board and blink LED's exc.. to you harts content.
Arduino is also cost effective. You can lay out a circuit board with a processor on it and all the bits and pieces to make it go. It will cost you $200 -> $300 for one or two boards. Or get an Arduino for $25 (circuit boards get much less expensive as volume increases). May as well share the tooling charges for the PCB with others in the hobby, and help them out at the same time.
Troy
- a good solid processor that easily deals with floating point operations and integers larger than 8 bit.
- a good solid C-language development system (a person could always argue the finer points of integrated development suites but the arduino tools are more than functional.)
- fail-safe muxing circuit integrated right on board. (THIS IS IMPORTANT!!!)
- ability to read the signals from 4 (and possibly more) channels off your receiver
- ability to drive 4 servo outputs
- several analog inputs and several digital inputs.
Perhaps this point gets lost because the ardupilot comes with default firmware already written and most of the discussion here assumes you will run that firmware, but at it's basic level, the ardupilot is just an ATmega328 CPU with all the into's and goes-out-of's wired to 0.1" header pins. Even though the default firmware has all the pins allocated and purposed and programmed, there's nothing etched in stone there. You can rewrite the firmware from scratch to make any of those pins do anything you want.
So just like you can take a pic processor and allocated the pins to do whatever you want and flash the led's on and off, you can do all those exact same things with the ardupilot board. The only thing UAS specific that it gives you is it's built in fail-safe mux (which in my opinion makes it even more desirable as a starting point.) For safety purposes, a manual override is an !ABSOLUTE MUST! so if you pick a different board and a different processor, you'll have to go out and purchase or develop a manual override circuit yourself and add that on top of whatever other board you are working with.
I don't want to sound negative about the Pic though ... engineers know that there are always several good ways to solve the same problem, so if you understand a particular platform and know how to make it do your bidding that might be the best path for you to take. A successful project starts with a solid platform that has the features and capabilities you need, but then requires solid engineering (both hardware and software) to push it forward through the development process and finally across the finish line as a solid robust working system.
I have a BS2p on a Parallax development board and am using it for manual steering using an R/C setup and for automatic obstacle advoidance while taking steering input from an Ardupilot using ver 1.0 software in the autonomous mode. I also have a BB Engineering Coprocessor board helping out the BS2p with the servo drive signals.
Regards,
TCIII
I to started with a basic stamp. Didn't try to fly it but a few other things. I think one is still controlling the pump in my dads well (has been for 15 or so years). I then learned assembly for the PIC (hart of the stamp) and had some fun with them. Started playing with Atmal uContolllers and fell in love. Then discovered Ardino in last 6 months or so and wow. Why waist time righting drivers for an e^2 when you can down load one and spend your time coding something fun!
I haven't flown mine but instead plan to sail a boat with it. Hardware it is what I was thinking of building with a few extras. At a lower cost. Although I am leaning more and more toward sticking it in one of the planes in the workroom instead of the boat. Actually will likely get a Mega to fly and float the one I have.
Welcome and keep blinking the LED's :)