A Loaded Question (I think)

I am curious to know how members of this community got to where you are with regard to knowledge of controllers and the associated programming. I have been reading this site for weeks, have gone through much of the Paparazzi site and am getting overwhelmed with just where to begin to learn; or more precisely, where to go from here. It's all a little haphazard and disjointed. I even downloaded the Basic Stamp training materials and worked through the exercises (mentally, at least).I can't believe that everyone here is an engineer who just happens to specialize in controllers, so just how have you become so knowledgeable? Where did you begin? What process got you from knowing very little to being able to write code for an autopilot? It almost feels like cheating, now, to go with a plug-and-play autopilot. I really would like to learn the hardware and software, but I'm not getting far on my own.Any suggestions will be greatly appreciated.Thanks,Paul
E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • I'm an engineer (EE, Aerospace and Ocean) that had done work with programming embedded computing devices for communications about 10 years ago. I fly glow planes in college about, gosh 20 years ago now but gave it up. I just recently re-discovered micro controllers when I started playing with a few arduinos and when I realized what a difference brushless, outrunner motors made in conjunction with modern ESCs and LiPo batteries I realized that getting back into electric would be a lot of fun.
  • Omg I cannot help you. Building an autopilot for a manned plane is a bit more sophisticated project I guess it also needs FAA permission or whatever Sorry.
  • Hi Varga, Thanks for commenting on my post.

    Like I have mentioned above, I am working on autopilot for manned airplane (smaller planes such as Cessna or Pipers).
    Do you think one Gyro & GPS combination should be enough i/p for heading/roll control ? I might be able to break into aircraft's aileron & rudder servos but not more than that ! So, my control surfaces are only those two.
    Any further comments or suggestions are welcome.
    Thanks,
    Alex.
    alex.uma2@gmail.com
  • USE GPS. NO MICROUAV USES THESE OLD RADIONAVIGATION SYSTEMS.
  • I guess VOR/DME gives the polar location from the beacon, ADF can give heading. For constant heading, use a gyro or a magnetometer.
  • Hello everyone,
    This is the place I was looking for a long time where I can talk & discuss my issues!
    I am an undergrad student (majoring in EE, controls) and was working on a MATLAB based simulation of an autopilot for smaller personal aircraft (Cessna/Pipers) & I am done with it !
    After looking into all these development (on this forum), I am thinking that I can demonstrate atleast few of controls on an actual manned aircraft (my cousin has one).
    Basically I am looking forward to make an autopilot to maintain a constant heading (using VOR navigation). For safety reasons I don't want to mess around with throttle control, but I should be able to control ailerons & rudders servos easily !
    Well, any feedback from this forum will be helpful, if I can use atleast microcontroller board (ArduPilot's) for my purpose and then move from there. Please suggest if anyone have any other opinion in mind.

    Thanks to all for keeping this place most vibrant & interactive.

    Alex.
  • Wow! I expected a little feedback, but this is great. Thank you very much. One of the thoughts I had in the back of my mind when posting was "So far it's been all take and no give from me on this forum." I hope to change that, eventually.

    Just to address some of the points above:

    Regarding what I bring to the table at this point, I have been flying model airplanes since I was 10 or so (U-control) and moved into RC in my teens (I'm 54 now). For anyone who might be interested, most of my experience is traced on my web site (www.poweredmodelairplanes.com). I actually write my web site in code, so that gave me some hope that I might understand controller code in time as well. Coincidentally, I had already asked my brother to team up with me on this project. He works for Moore Products, now Seimens, and does controller things for a living. However, he's 1,200 miles away and I still want to be able to do this myself.

    Chris--I've read your on-line bio and had a feeling that engineering was not your first profession. Having come this far in 18 months is impressive. Like you, I will probably make my first hardware jump with Mindstorms (I already have the LabVIEW software from National Instruments). As I mentioned before, making a UAV from a "toy" fascinates me. However, don't be surprised when you see my order come through for an ArduPilot.

    Jack:
    robotroom.com; That's a new one, and I'll check it out.
    http://en.wikipedia.org/wiki/PID_controller; Been there, read that. But I'll read it again in more detail.
    Platinum Plus Visa Card; Got one! Woo hoo. Sans "Plus" :(
    Play hookie; Got laid off six weeks ago. Have lots of time to read. One of those good news/bad news things.

    Finally, and for what it's worth, two things actually led me to find this site in the first place. One is simply my interest in RC planes and reading about Maynard Hill's autonomous flight across the Atlantic ocean. Ever since then I've known that a model airplane could fly under it's own control and with GPS guidance. I just never knew how and wanted to find out. Second, I wanted to use the concept of a model airplane UAV in a story I'm working on was doing background research. Now, I'm not an author, but my wife has been on my case for years to write. I've tried off-and-on and am trying again. She says young boys don't have enough to read out there, so I should try that. So, I'm trying. If I ever finish it, I'll post it here (so this is not a plug, to be sure). Anyway, here's a teaser:

    Prologue

    The little airplane was flying as steady as a rock. Well, maybe not that steady. Let’s just say it was flying very well and leave it at that. At the moment, its tiny little brain only knew that it was to fly in this direction, at this altitude and at this airspeed. In the background though, almost subconsciously, it was asking itself “Are we there yet?” The answer kept coming back “No.” “Are we there yet?” “No.” “Are we there yet?” “No.” And so it went, thousands of times each second. “Are we there yet?” “No.” “Are we there yet?” “No.”

    “Are we there yet?”

    “Yes.”

    Now, if this were a car full of kids there would be a great deal of excitement indeed. But the little brain in the little plane had no emotion at all. That simple response told the airplane it was time to do something different. It had arrived at a predetermined point in space and it was time to go to work. The brain sent a signal to a servo. The servo, which is little more than a very small electric motor, turned the control arm on its head about 10º. That control arm was connected to another on the airplane’s rudder, causing it to swing left 10º. The plane slowly banked in that direction and began to fly in a very precise circle around a very specific spot. In the bank, though, it began to lose altitude. The little brain controlling the plane sensed this and sent a signal to the throttle servo, which then increased the speed of the engine and got the altitude back to where it was supposed to be. For ten minutes the plane flew in a circle, constantly checking and correcting its heading and altitude to make sure it stayed within a radius of 100 feet from the point it was circling. Only two people knew that the plane was there, and they were about three-quarters of a mile away—much too far to control the plane themselves. For now, the plane was flying itself.

    Not only could this small aircraft control its own flight path, it could see as well. Its eye, which was located on its belly instead of its head, was looking down and to the left, directly at the spot on the ground that the plane was circling. The eye was actually a very small camera that was sending live video directly to those two individuals three-quarters of a mile away. What they were seeing with their own eyes on their laptop screen at that very moment was scaring them to death!
    ____________________________________________________

    Well, there it is. I hope this wasn't inappropriate. I just thought I'd share where my interest is coming from.

    Thanks again to all.

    Paul
    My Hobby Pages
  • 100KM
    i started coding at age 9 on my vic -20 in basic . spent my childhood flying rubber powered models,moved to r/c in my 20s also in a local army surplus store hung a wwII vintage UAV . i wanted to build uavs ever since.
  • Robot Room
    robotroom.com

    The Kiwipedia page on PID controllers
    http://en.wikipedia.org/wiki/PID_controller

    Platinum Plus Visa card.

    Playing hookie from the day job & avoiding professional advancement.

    Random hints from blog readers.
  • 3D Robotics
    18 months ago, I didn't know a thing. Had never heard of a microcontroller, to say anything of programming one. My introduction to robotics was Lego Mindstorms with my kids, then Basic Stamp. Then Jordi turned me on to Arduino and then PCB design, which was a slow learning process but worth it. Everything I've posted here is just documenting my journey of discovery. (I'm not an engineer and the last time I programmed was in the 1980s.)

    But there has never been a better time in history to teach yourself than today, thanks to all the resources (people and information) available online. Stick with it--a few magical moment when you first get a microcontroller to make a servo move or read a sensor are encouragement enough to plow through the frustrations.
This reply was deleted.