<meter id="pryje"><nav id="pryje"><delect id="pryje"></delect></nav></meter>
          <label id="pryje"></label>

          新聞中心

          EEPW首頁 > 模擬技術(shù) > 設(shè)計應(yīng)用 > 利用MAXQ7667確定超聲傳感器的諧振頻率和阻尼特性

          利用MAXQ7667確定超聲傳感器的諧振頻率和阻尼特性

          作者: 時間:2012-09-14 來源:網(wǎng)絡(luò) 收藏
          ; TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(255,255,255); orphans: 2; widows: 2; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">  { // has not been set, then

            half_peak = STIM; // save the time it took to reach half the peak value.

            i = 101; // Half peak found so exit the loop.

            }

            while (T2CNB0_bit.TF2 == 0) {} // Wait for timer # 0.

            T2CNB0_bit.TF2 = 0; // Clear flag.

            }

            T2CNA0_bit.TR2 = 0; // Stop timer # 0.

            return half_peak;

            }

            void main()

            {

            unsigned short i = 0;

            unsigned short peak = 0;

            unsigned short first70 = 0;

            unsigned short second70 = 0;

            unsigned short center_pllf;

            unsigned short wait2measure;

            unsigned short halfpeak;

            init();

            // **********************************

            // **********************************

            // Configuration settings

            echo_receive_gain(0); // Set receiver to minimum gain (allowed values 0-31)

            Burst_Clock_Divider = 400; // for calculating the burst-frequency in PC-Application.

            burst_setup(BURST_CLK_PLL, BURST_PULSE_1, BURST_DIV_400, 0, PLL_CLOCK_16MHZ, 0);

            step_size=10; // Sets the step-size (steps go from 0 to 511).

            // END configuration settings.

            // ******************************

            // ******************************

            while(1)



          關(guān)鍵詞: MAXQ7667 超聲傳感器 諧振頻率 阻尼特性

          評論


          相關(guān)推薦

          技術(shù)專區(qū)

          關(guān)閉
          看屁屁www成人影院,亚洲人妻成人图片,亚洲精品成人午夜在线,日韩在线 欧美成人 (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();