⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lg_e_1.htm

📁 模型飞机起落架控制器
💻 HTM
字号:
<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Philip Sun</title>
</head>

<body bgcolor="#000000" text="#FFFFFF">

<p align="center">&nbsp;&nbsp;&nbsp;<font size="6"><font color="#FFFFFF">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#FF0000"> 
 R/C Controller for&nbsp;Retractable Landing Gear</font></font></p>                     
<p align="left"><font face="Verdana">How&nbsp; it work ?</font></p>
<p align="left"><font face="Verdana">A normal control signal from receiver is a 
1.5 mS (+- 0.5mS) plus pulse, repeat every 20 mS (variable), it's PWM. The servo 
rotate and stop at position correspond to the width. e.g. 1.0 mS pluse will put 
the servo rotate to right limit, 2.0 mS to left limit.</font></p>
<p align="center"><img border="0" src="LG1.jpg" width="476" height="160"></p>
<p align="left"><font face="Verdana">1. This microchip read the pulse, measure 
it's width, if less than 0.8 mS, treat it as noise and ignored, if between 0.8- 
1.3 mS&nbsp; as low level, if large than 1.7mS as high level. (see MAIN section 
in the ASM code file)</font></p>
<p align="left"><font face="Verdana">2. A input level compare with the current 
status of servo, if input is low and servo at low side, next step is checking if 
High pass counter (HP) been decrease to zero..... (see HIGH &amp; LOW section). 
After more than (T4) 9 same level pulses been detected, which pulses opposite to 
current status, will invert the status. this make sure possibility of error 
action is very low .</font></p>
<p align="left"><font face="Verdana">3. The most interesting part of the program 
is section OUTPUT. Use T1, TMR2 (timer 2), and a 5uS loop to make a 1.0 mS high 
level of output, after that use TMR1, which value between 0 - 200 (T2) to make 
additional high level width, so the real output will be high pulse between 1-2 
mS. When the status invert (servo rotate) , the TMR1 increase/decrease one, 
every time it been&nbsp; check, and it's about 20 mS (decide by your remote 
controller, which compose the PWMs), so it take about 4 seconds from 0 &lt;-&gt; 
200.&nbsp;</font></p>
<p align="center"><font size="5"><a href="LG_E.htm">BACK</a></font></p>
<p align="left"><font face="Verdana">&nbsp;</font></p>
<p align="left"><font color="#FF0000">======================================================================================

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -