原创 Vmware 連接局域網通過橋接方式

 Vmware 連接到局域網: 將VMWARE作爲IP的擴展, 在IP資源足夠的情況下,完全可以用 橋接的方式來設定。   VMWARE其實不需要設定什麼,直接設定爲橋接自動,只要主機IP切換之後,VMWARE的IP也一樣切換,    

原创 用Matlab找一組模擬波形的極值(含極大值、極小值、最大值)並在圖中畫出來

 前言:本文,從一個模擬攝像機拍攝的光柵圖分析入手,嘗試找到該光柵圖的各個極值,從而來評估光柵的正弦特性: 1 提取數據: 拍攝的結構光條紋如下: 黃色的線,是用採樣軟件[imageJ]在結構光的拍攝條紋中選取準備分析的正弦數據: [

原创 STM32 - 定時器的設定 - 基礎- 09 - 編碼接口 - Encoder interface mode

To select Encoder Interface mode write SMS=‘001 in the TIMx_SMCR register if the counter is counting on TI2 edges only,

原创 STM32 - 定時器基礎-應用說明 - 02 - The preload feature of the timer registers - 預製值和精確同步

The preload feature in the context of the STM32 timer peripheral, refers to the duplication of some timer registers or

原创 STM32 - 定時器的設定 - 基礎- 0E - Timer clocking using external clock-source - 外部時鐘源的使用

Overview The STM32 timer peripherals can be clocked by an external source clock, but it does not mean that the APB (ad

原创 STM32 - 定時器高級應用說明 - 01 - Filtering stage - 波形輸入的過濾

Filter Stage 理解爲定時器的採樣時鐘源。   Timer inputs (like ETR input or channel inputs) feature a filtering stage that may be acti

原创 STM32 - 定時器的設定 -高級- 08 - One-pulse mode - 觸發波的實現 - 可變長度和相位

前言:直接開講,請耐心看完 : 首先,OPM模式的波形可以通過主從模式進行觸發,其次,OPM模式的波形本身可以進行波形定製。 1 OPM定義和功能說明 One-pulse mode (OPM) is a particular case o

原创 STM32 - 定時器的設定 - 基礎 - 05 - Arbitrary waveform generation using timer DMAburst feature - 任意波形的序列產生

 DMA的功能不說了,如何產生任意序列的波形,我們仔細看看: 本節敘述了同DMA的方法,在不佔用MCU資源的情況下,通過提前編輯一組任意定製的波形參數,實現複雜的波形輸出。 STM32 DMA-burst feature overview

原创 STM32 - 定時器高級應用說明 - 多觸波的實現 (N-pulse waveform generation using timer synchronization)- 02

上一節講了基礎,本節實做: The main features described are: • TIMER 2 is configured as master trigger mode to trig TIMER1 We use T

原创 STM32 - 定時器的設定 - 基礎 01 - Timer Base - Prescaler description - Upcounting mode

 前言:時基是定時器的最基本的功能: 本節詳細敘述STM32的時基的功能。 1 Time-base unit The main block of the programmable advanced-control timer is a 1

原创 STM32 - 定時器的設定 - 基礎- 07 - 6-step PWM generation - 6步長PWM的產生 - COM Event的解釋

前言:本節主要講互補輸出的步長設定問題,同時引入了一個重要的參數COM,這個再諸多STM32的手冊裏面都過於分散,在本文有一個比較完備的小結:  When complementary outputs are used on a chann

原创 STM32 - 定時器的設定 - 基礎- 0D - Timer synchronization & chaining - 主從模式下 - 定時器同步和級聯控制 - 級聯啓動定時器

和前面兩次舉例不同的是,前面兩次是用CC通道的輸出波形來做觸發,這個例子,用UEV的發生做觸發: In this example, we set the enable of Timer 2 with the update event of

原创 STM32 - 定時器的設定 - 基礎- 06 - OCxREF signal - Clearing the OCxREF signal on an external event

OCxREF signal 作爲捕捉比較的定製化參考波形在對輸出波形的配置上佔有巨大的影響。如何將這個信號和外部輸入的事件聯繫起來,能給系統的設計帶來更多的可選擇性。 The OCxREF signal for a given chann

原创 SLAM - 01 - 分類

前言: 本文針對SLAM(Simultaneous Localization And Mapping,簡稱SLAM)的基本定義和分類進行了討論。 1 SLAM的定義: 通常是指在機器人或者其他載體上,通過對各種傳感器數據進行採集和計算,生

原创 STM32 - 定時器的設定 - 基礎- 0C - Timer synchronization & chaining - 主從模式下 - 定時器同步和級聯控制 - 舉例:使能2

In the example, we synchronize Timer 1 and Timer 2. Timer 1 is the master and starts from 0. Timer 2 is the slave and s