I am new to this forum, you'll notice this is my first post. So I will do some basic introductions and invite you all to please feel welcome to relay any information or point to view that you value, and I will do my best to give proper consideration to all comments posted.
Please feel free to shoot me a PM on any related subject. I am looking for mentor relationships to help me progress in my pursuit of knowledge.
My name is Jeff and I'm 37 years old, have a large family and have been married for 18 years this February. I am a full time auto mechanic at a local repair shop. I design engines and mechanical items in my spare time along with some hobby related fun. I'm a Christian, but I don't imagine that should come up much here :-)
My goal is to learn how to write and understand code for microprocessors like the Atmega168 and STM-32 series, as well as the hardware interaction with these processors. I have decided to use the platform of a collective pitch single rotor flybarless Align Trex 600 size heli that both my wife and myself desire to be capable of piloting (we are going to follow the 10 day course from rchelicopterfun.com).
I researched the vast majority of stabilization platforms and decided to invest in the AdruCopter. I am however going to be using the 3GX unit to fly with until my skills have developed sufficiently, imagine trying to learn to fly and tune a system at the same time. I am just not that capable.
I am on track to purchase the heli in the next week and am fairly set on the Align Trex 600EFL Pro Super Combo (~$900). I have enough experience with HK products to insist on the genuine article. The kit comes with decent digital servo's, the 3GX system, brushless 12S out-runner, and an Ice2 HV controller (of which I own 1, and all my RC's run Castle ESC's). I will furnish it with Turnigy lipo's and only have a FlySky T6-A 2.4ghz -partially programmable- 6ch Tx/Rx combo until the 9x becomes available again, or I can swing the $400 for a Futaba Sbus system.
I will likely get on the AdruCopter pre-order list after my next pay period if the funds haven't been eaten up by some family matter or a heli training accident...
So the question at hand is this, where to begin learning about the code that facilitates the AdruCopter?
I am about half way through "The beginners guide to C programming" and have just scratched the surface of the STM-32 manual. I want to comprehend what I am seeing in the code files mentioned in this site. I am a quick learner and will commit some funds to reading material if need be. Any recommendations are welcome, and if you are a keen teacher I sure would enjoy having a mentor on this quest :-)
Welcome, Jeff! ArduCopter is based on Arduino, which is essentially C and C++. You can learn more about it here.
Thank you for the quick reply, and I cant express how happy I am that what I've learned in C wasn't a waste LOL
Yep. you're in good shape. With most microcontrollers, you'd normally have to learn all kinds of bitwise operators and spend hours learning how to set the internal clock registers, among a laundry list of other things. The reason everyone likes the Arduino environment is that it has libraries that abstract all of those things for you, so you just use commands like you would in desktop C programming.
I'm in a similar boat to you. I'm working on my electrical engineering degree, focussing in control theory. My senior design project involves doing some interesting things with the PID controllers in the Ardupilot code (like, replacing them with fuzzy logic based controllers), so I've got quite an adventure ahead of me as well.
I couldn't be called an expert, but I can say from what I've seen of the code so far that it's pretty well written. It's nice and modular, and there's enough use of preprocessor defines that the code is immensely easy to read and understand, even from the perspective of a novice such as myself.
Good luck with your adventures. Add me to friends, and if you run into anything crazy, feel free to shoot me a message. It'll likely be the blind leading the blind, but it's always fun.
Welcome! For the heli related stuff you can find a few of us hanging out on the monster TradHeli thread.
Hi there, great see to another traditional helicopter flyer as Randy said a few of us hang out on the discussion he linked to.
I suspect you already have a simulator, but its well worth getting a good one, a few hours spent on it will pay dividends. :)
Wow, I didn't even know this forum existed.
Yeah, you're best to join us in the regular forums.
Hi Jeff, I will be following your posts as I am interested in some of the same topics as you are as well as eventually flying a larger heli. Right now I am starting with a small quad copter with a 150 gram camera, but later I'd like the freedom of much greater speed, range, and payload. I don't think I will get as far into writing and understanding code, but you never know... a big part of this hobby is learning new things.