Page 138 - Build Your Own Quadcopter_ Power Up Your Designs with the Parallax Elev-8
P. 138

Chapter 5: Quadcopter Propulsors           117




























                             Figure 5.28  Characteristic motor graphs from the xcopterCalc website.




                             temperature is not predicted to rise too appreciably even when operating above the
                             manufacturers recommendations. However, I am not convinced that it will remain cool if
                             operating in the extreme regions.
                                This last section concludes my regular discussion on the quadcoptor propulsion
                             components. What follows is a detailed program analysis of the ESC_Motor_Control_Demo
                             program that was used in the experiment. It is presented for those readers who are obviously
                             interested in such an analysis and who might want to use this program as a template for
                             further experiments, and perhaps, a future flight-control program. The discussion also
                             explores one Propeller Assembly Language (PASM) routine because it is used in the demo
                             program. Finally, I delve into a brief C language discussion in which I demonstrate how a
                             simple Propeller C Language routine can replace the somewhat obtuse PASM routine. Those
                             readers not interested in such minutia can skip the following sections without fear of losing
                             any continuity in the overall discussions.
                             ESC_Motor_Control_Demo Analysis
                             This analysis begins with the code listing. The program was made available on Parallax’s
                             Propeller forum, which is a very valuable resource of expert knowledge. Members of the
                             forum can answer just about any of your questions regarding the Propeller chip, or even the
                             Elev-8 for that matter.

                             ‘‘   Single_Servo_Assembly
                             ‘‘   Author: Gavin Garner
                             ‘‘   November 17, 2008
                             ‘‘   See end of file for original comments
                             ‘─────────────────────────────────────────────────’
                             ‘  Modifications by Cluso99.
   133   134   135   136   137   138   139   140   141   142   143