版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、<p> 河南科技學(xué)院新科學(xué)院</p><p> 2012屆本科畢業(yè)論文</p><p><b> 中英文翻譯</b></p><p> 學(xué)生姓名: </p><p> 所在院系: </p><p> 所
2、學(xué)專業(yè): </p><p> 導(dǎo)師姓名: </p><p> 完成時(shí)間: 2012年5月10日 </p><p> Based on single-chip microcomputer control elevator voice station reporting device<
3、/p><p> Key words: SCM ISD4004voice station reporting device</p><p> 1 Introduction</p><p> The modern building scale is larger and larger, more and more high on the floor, the elev
4、ator technical and quality requirements are also getting higher and higher. Modern elevator technology has been towards faster, more stable, more secure, more humane direction of rapid development.</p><p>
5、Elevator voice station reporting device is the embodiment of the humanized design of a specific performance. The elevator will be reported by voice or has reached the floor information, the running state of the elevator,
6、 welcome speech and music, can avoid wrong elevator passengers or floor, elimination of people take the elevator to the loneliness.</p><p> 2 hardware circuit design</p><p> The system consist
7、s of signal acquisition and isolating circuit, SCM and its peripheral circuit, a speech chip circuit composed of three parts. The elevator floor after signal acquisition isolation after treatment sent to single-chip, sin
8、gle-chip analysis, judgment, extract the effective information, and then by processing output signals to control a speech chip circuit real-time broadcast.</p><p> A 2.1 signal acquisition and separation ci
9、rcuit</p><p> The newspaper station implement work needs to collect some relevant information to the operation of the elevator, elevator security requires additional system on elevator does not generate int
10、erference, the signal acquisition and isolation work is very important.</p><p> The system used the elevator control panel on each floor button, elevator flat-layer signal and switch signal, as shown in tab
11、le 1:</p><p> Table 1the elevator control signal</p><p> Considering the signal voltage levels is not a, for the collection of signals required by different treatment. Experiments show that, w
12、hen the collection circuit input resistance in500K ohm following can result when the signal voltage drop, affect the elevator work; in view of this, the author adopts the high input resistance of the integrated operation
13、al amplifier circuit, the corresponding processing as shown in table 2:</p><p> Table 2elevator signal processing and Applications</p><p> After processing the signal by a photoelectric couple
14、r isolation processing, sent to mcu.</p><p> 2.2 single chip microcomputer and its peripheral circuit</p><p> The system is based on ATMEL 's AT89C51as controller, AT89C51P1.0, P1.1, P1.2,
15、 P1.3, P1.4and ISD4004pins respectively1,2,3,28,25 foot link, to control (1,2,3,28,25are respectively the ISD4004chip select terminal SS, serial input serial output end MOSI, MISO, SCLK, INT serial clock end interrupt ),
16、 the remaining pins connected after treatment of floor information: including 1-23floor information signal, DOWN1, UP1peace level DOOR1, DT1, as shown in figure 1</p><p> Figure 1 the AT89C51pin wiring diag
17、ram</p><p> 2.3speech chip circuit</p><p> Because ISD4004voice chip of the normal working voltage for the 3V, and system using the voltage of 12V, we used the LM317integrated voltage regulato
18、r for voltage conversion ( as shown in Figure 2). ISD4004 audio signal output pin AUDOUT pin through a filter capacitor is connected with the loudspeaker, AMCAP automatically mute end, through the use of a capacitor to g
19、round, as shown in figure 3.</p><p> ISD4004 series single chip voice recording</p><p> The single chip 8to 16 minutes the voice recording</p><p> The built-in microcontroller se
20、rial communication interface</p><p> The 3V single supply</p><p> Multi information processing.</p><p> The current25-30mA, maintaining the current1 A</p><p> The e
21、lectricity information stored for 100 years ( typical)</p><p> The high quality, natural voice restoration technology</p><p> The100000 recording cycle ( typical)</p><p> Automat
22、ic muting function.</p><p> The internal adjustment free clock, may choose to use an external clock</p><p> ISD4004 series3V working voltage, a recording time of 8to 16 minutes, good sound qua
23、lity, applicable to mobile phones and other portable electronic products. Chip using CMOS technology, including the oscillator, antialiasing filter, smoothing filter, an audio amplifier, automatic squelch and high-densit
24、y multi-level flash memory display. Chip design is based on all operations must be controlled by the microcontroller, operation commands through the serial communication interface ( SPI or Microwi</p><p> P
25、in description</p><p> Power supply: ( VCCA, VCCD ) to make the noise to a minimum, chip analog and digital circuits using different power supply bus, and are respectively led to the outer package of differ
26、ent pin, analog and digital power supply terminal preferably respectively, walk the line, as far as possible, in close proximity to the power supply terminal is connected, and the decoupling capacitor should be as close
27、to the device.</p><p> Ground: ( VSSA, VSSD ) chip internal analog and digital circuits also use different ground.</p><p> Noninverting analog input ( IN + ANA ) this is a recording signal in-
28、phase input terminal. Input amplifier available single ended or differential drive. Single end input signal, by a coupling capacitor input maximum amplitude, peak32mV, coupling capacitance and the end of the3K ohm resist
29、ive input impedance determines the chip band cutoff frequency. Differential drive signal amplitude, maximum peak to peak value of16mV, ISD33000series of the same.</p><p> Reverse analog input ( ANA IN ) dif
30、ferential drive, this is a recording signal to the inverting input. Signal through the coupling capacitor input, maximum amplitude of peak16mV</p><p> Audio output ( AUD OUT ) to provide an audio output, ca
31、n drive5K ohm load.</p><p> Chip select ( SS ) this end is low, namely to the ISD4004 chip sends instruction, instruction for high level between two.</p><p> Serial input ( MOSI ) this end is
32、a serial input end, a main controller in serial the rising edge of the clock before half a cycle of data in the end, for the ISD input.</p><p> Serial output ( MISO ) ISD serial output. ISD is not selected,
33、 the end is in a high resistance state.</p><p> Serial clock ( SCLK ) ISD clock input terminal, by the master controller, MOSI and MISO for synchronous data transmission. Data in SCLK ascending latched onto
34、 the ISD, in falling out of the ISD.</p><p> Interrupt ( / INT ) the end is an open drain output. ISD in any operation ( including the fast-forward ) was detected in EOM or OVF, the end becomes lower and ma
35、intain. Interrupt status in the next SPI cycle begins to clear. Interrupt status is also used RINT instructions read. OVF logo, indicating the ISD book, operation has reached the end of the memory. EOM logo - only in the
36、 playback was detected in the internal EOM logo, the status bit is set to 1.</p><p> Row address clock ( RAC ) open drain outputs. Each of the RAC cycle of said ISD memory operation carried out a row ( in t
37、he ISD4004 series</p><p> Memory total of 2400 lines ). The signal 175ms to maintain a high level, low level25ms. Fast forward mode, the RAC218.75 s is high,31.25 u s low. The terminal can be used for stora
38、ge management technology.</p><p> External clock ( XCLK ) the end has an internal pull-down element. Chip sampling clock in the factory before calibration, error in the +1%. Commercial grade chip in the tem
39、perature and voltage range, frequency variation in +2.25%. Industrial grade chip in the temperature and voltage range, frequency variation in the - 6 / +4%, then recommend the use of regulated power supply. If greater ac
40、curacy is required, from the end of the external clock input ( as listed in the table ). Due to internal ant</p><p> Automatic squelch ( AMCAP ) when the recording signal level drops to internally set a thr
41、eshold, automatically mute function so that the signal is weak, which helps to feed without the noise signal ( mute ). Usually the end of grounding capacitance of 1mF, constitute the internal signal peak value detection
42、circuit part. Detection of the peak level and internal set threshold for comparison, automatic muting function turning point. Large signal, automatic squelch circuit without attenuation, atte</p><p> SPI (s
43、erial peripheral interface )</p><p> ISD4004 to work with SPI serial interface. The SPI protocol is a synchronous serial data transmission protocol, protocol assumes that the microcontroller SPI shift regis
44、ter on the falling edge of SCLK action, so as to ISD4004, the clock stop rising along the latch pins of the MOSI data, the falling edge sends the data to the MISO pin. The specific content of the agreement for:</p>
45、<p> 1 all serial data transmission begins at SS falling edge.</p><p> 2.SS during transmission must be maintained as low level, in the two instruction is maintained at a high level.</p><
46、p> 3data at the rising edge of the clock moved, at the falling edge out.</p><p> 4.SS goes low, the input commands and addresses, ISD to start recording operation.</p><p> The 5 instructio
47、n format (8control code ) is a plus (16 bits of the address code ).</p><p> 6.ISD any operations (including fast-forward) if EOM or OVF, is to generate an interrupt, the interrupt status in the next SPI the
48、 beginning of the cycle is cleared.</p><p> 7 the use of "reading" instruction so that the interrupt state displacement of ISD occurs on the MISO pin, control and address data should also be simul
49、taneously from the MOSI terminal moving. Therefore attention should be paid to whether the data and devices are compatible with operation current. Of course, is also allowed in a SPI cycle, while performing a read state
50、and start a new operation (i.e., new immigrant data and devices the operation can be incompatible).</p><p> 8all the operations in a running position (RUN ) set to 1when begin, placing0at the end of.</p&
51、gt;<p> 9all instructions are in the SS rising start execution.</p><p> ( a ) the information fast forward</p><p> The user does not need to know the exact address information, can fas
52、t-forward through a piece of information. Fast forward playback mode for information only. The playback speed is</p><p> Often1600 times, met EOM after stopping, and then the internal address counter plus 1
53、, pointing to the next message at the beginning of.</p><p> ( two) the power up sequence</p><p> Device delay TPUD (8kHz sampling, approximately25 ms ) to start operation. Therefore, the user
54、sends the power on command, must wait for</p><p> TPUD, can make an operation instruction.</p><p> For example, from 00from the pronunciation, should follow the following sequence:</p>
55、<p> 1 rounds of POWERUP command;</p><p> 2wait for TPUD ( electric delay );</p><p> 3address value is 00SETPLAY command;</p><p> 4 rounds of PLAY command.</p><p
56、> The device will have00address to start playback, when EOM, an immediate interrupt, stop playback.</p><p> If the00recording, according to the following sequence:</p><p> 1POWER UP comman
57、d;</p><p> 2wait for TPUD ( electric delay );</p><p> 3POWER UP command</p><p> 4wait 2times TPUD;</p><p> 5address value is 00SETREC command;</p><p>
58、 6 rounds of REC command.</p><p> Device address from00to start recording, until the emergence of OVF ( memory end), to stop recording.</p><p> 3 software design</p><p> 3.1the s
59、ystem function realization</p><p><b> (1) power</b></p><p> The elevator stopped at the first floor, open the power switch, broadcast address of welcome. And initializes the curren
60、t floor1floor.</p><p> (2) closed.</p><p> Waiting for passengers to select floor, close the door. The selected floor information sort, find the maximum target floor: if the maximum target flo
61、or is greater than the current floor, the elevator upward, broadcasting the minimum target floor information; if the maximum target floor is less than the current floor, indicate the elevator down, the biggest target flo
62、ors information broadcast. On completion, the elevator starts operation.</p><p> Figure 2 LM317voltage stabilizing circuit</p><p> Figure 3 ISD4004connected graph</p><p> (3) the
63、 running count</p><p> Elevator operation process, according to the acquisition of the flat layer, lower implantation signal, on the current floor calculation, namely: if the elevator up, each level one, th
64、e current floor plus one; if the elevator down, each level one, the current floor.</p><p> (4) the door.</p><p> The elevator to reach the current floor, open the door, broadcast information,
65、and inform the ladder external passenger elevator running state, that broadcast" lift up / down". Broadcast end, return operation steps (2).</p><p> The 4ending</p><p> This system a
66、fter the installation, debugging, stable, reliable operation of the elevator, the safe and stable operation, without interference, achieve the expected design requirements.</p><p> 一種基于單片機(jī)控制的電梯語音報(bào)站器</p&g
67、t;<p> 鍵詞: 單片機(jī) ISD4004 語音報(bào)站器 電子園51單片機(jī)學(xué)習(xí)網(wǎng)Bn&F@x </p><p> 1 引言電子園51單片機(jī)學(xué)習(xí)網(wǎng)3pR u$s5QAJ現(xiàn)代建筑物規(guī)模越來越大,樓層越來越高,對(duì)電梯的技術(shù)和質(zhì)量的要求也越來越高。現(xiàn)代電梯技術(shù)已朝著更快、更穩(wěn)、更安全、更人性
68、化的方向迅速發(fā)展。#u r ~%iY&pg6g44606電梯語音報(bào)站器就是體現(xiàn)其人性化設(shè)計(jì)的一個(gè)具體表現(xiàn)。用語音報(bào)告電梯將要到達(dá)或已到達(dá)的樓層信息、電梯的運(yùn)行狀態(tài)、歡迎詞和音樂等,可避免乘客搭錯(cuò)電梯或樓層、消除人們乘坐電梯時(shí)的寂寞感。</p><p> r~MQv2 硬件電路設(shè)計(jì))KOD7f t"`-g \44606本系統(tǒng)由信號(hào)采集與隔離電路、單片機(jī)及其外圍電路、
69、語音芯片電路三大部分組成。電梯的樓層信號(hào)經(jīng)過采集隔離處理后送至單片機(jī),單片機(jī)分析、判斷、提取出有效信息,再經(jīng)運(yùn)算處理輸出控制信號(hào)控制語音芯片電路實(shí)時(shí)播報(bào)。電子園51單片機(jī)學(xué)習(xí)網(wǎng)3Y9J!~@7WN|2.1 信號(hào)采集與隔離電路電子園51單片機(jī)學(xué)習(xí)網(wǎng)4l4Zt:\C+q(JibU報(bào)站器的正常工作需要采集到電梯運(yùn)行的一些相關(guān)信息,電梯的安全運(yùn)行要求附加系統(tǒng)對(duì)電梯本身不能產(chǎn)生干擾,因此信號(hào)的采集與隔離工作相當(dāng)重要。
70、/s&j:~3eA kt){)}44606本系統(tǒng)用到了電梯控制面板上的各樓層按鈕、電梯平層信號(hào)和開關(guān)門信號(hào)。</p><p> Be6^k\44606 電子園51單片機(jī)學(xué)習(xí)網(wǎng)8Rs p7HA$pgPmMrG電子園51單片機(jī)學(xué)習(xí)網(wǎng)%Xx1N,TV7o8tp考慮到信號(hào)的電壓等級(jí)不一,對(duì)于采集到的信號(hào)需經(jīng)過不同的處理。實(shí)驗(yàn)證明,當(dāng)采集電路的輸入端電阻在500kΩ以下時(shí)會(huì)導(dǎo)致信號(hào)的電壓下降,
71、影響電梯工作;鑒于此,筆者采用具有高輸入電阻的集成運(yùn)算放大器電路,并作出相應(yīng)的處理Z/^%}qL.lsOZ9c44606 電子園51單片機(jī)學(xué)習(xí)網(wǎng)%St g6q5J電子園51單片機(jī)學(xué)習(xí)網(wǎng)b~DY3mQ)P 電子園51單片機(jī)學(xué)習(xí)網(wǎng)zF-} [2X5y~k d-c3c經(jīng)過處理之后的信號(hào)再經(jīng)光電耦合器進(jìn)行隔離處理,送至單片機(jī)。 1_\]#s)R_`@446062.2 單片機(jī)及其外圍電路 :v#w0}
72、AH5I44606本系統(tǒng)采用的是ATMEL公司的AT89C51作主控制器,AT89C51的P1.0、P1.1、P1.2、P1.3、P1.4引腳分別與ISD4004的 1、2、3、28、25腳連接,以對(duì)其進(jìn)行控制(1、2、3、28、25分別是ISD4004的片選端SS、串行輸入端MOSI、串行</p><p> 電子園51單片機(jī)學(xué)習(xí)網(wǎng)A:U,u+{#FN446062.3 語音芯片電路電子園51單
73、片機(jī)學(xué)習(xí)網(wǎng)F)H$Jp'qp_2_0}\因ISD4004語音芯片的正常工作電壓為3V,而系統(tǒng)的使用電壓為12V,我們采用了LM317集成穩(wěn)壓器做電壓轉(zhuǎn)換。ISD4004的音頻信號(hào)輸出引腳AUDOUT引腳通過一個(gè)濾波電容與揚(yáng)聲器連接, AMCAP為自動(dòng)靜音端,使用時(shí)通過一個(gè)電容接地。</p><p> ISD4004 系列單片語音錄放 </p><p> ●單片8 至
74、16 分鐘語音錄放 </p><p> ●內(nèi)置微控制器串行通信接口 </p><p> ●3V 單電源工作 </p><p><b> ●多段信息處理 </b></p><p> ●工作電流25-30mA,維持電流1μA </p><p> ●不耗電信息保存100 年(典型值) <
75、/p><p> ●高質(zhì)量、自然的語音還原技術(shù) </p><p> ●10 萬次錄音周期(典型值) </p><p><b> ●自動(dòng)靜噪功能 </b></p><p> ●片內(nèi)免調(diào)整時(shí)鐘,可選用外部時(shí)鐘 </p><p> ISD4004 系列工作電壓3V,單片錄放時(shí)間8 至16 分鐘,音質(zhì)
76、好,適用于移動(dòng)電話及其他便攜式電子產(chǎn)品中。芯片采用CMOS 技術(shù),內(nèi)含振蕩器、防混淆濾波器、平滑濾波器、音頻放大器、自動(dòng)靜噪及高密度多電平閃爍存貯陳列。芯片設(shè)計(jì)是基于所有操作必須由微控制器控制,操作命令可通過串行通信接口(SPI 或Microwire)送入。芯片采用多電平直接模擬量存儲(chǔ)技術(shù), 每個(gè)采樣值直接存貯在片內(nèi)閃爍存貯器中,因此能夠非常真實(shí)、自然地再現(xiàn)語音、音樂、音調(diào)和效果聲,避免了一般固體錄音電路因量化和壓縮造成的量化噪聲和&q
77、uot;金屬聲"。采樣頻率可為 4.0,5.3,6.4,8.0kHz,頻率越低,錄放時(shí)間越長,而音質(zhì)則有所下降,片內(nèi)信息存于閃爍存貯器中,可在斷電情況下保存100 年(典型值),反復(fù)錄音10 萬次。 </p><p><b> 引腳描述</b></p><p> 電源:(VCCA,VCCD) 為使噪聲最小,芯片的模擬和數(shù)字電路使用不同的電源總線,并且分別
78、引到外封裝的不同管腳上,模擬和數(shù)字電源端最好分別走線,盡可能在靠近供電端處相連,而去耦電容應(yīng)盡量靠近器件。 </p><p> 地線:(VSSA,VSSD) 芯片內(nèi)部的模擬和數(shù)字電路也使用不同的地線。 </p><p> 同相模擬輸入(ANA IN+) 這是錄音信號(hào)的同相輸入端。輸入放大器可用單端或差分驅(qū)動(dòng)。單端輸入時(shí),信號(hào)由耦合電容輸入,最大幅度為峰峰值32mV,耦合電容和本端的3K
79、Ω電阻輸入阻抗決定了芯片頻帶的低端截止頻率。差分驅(qū)動(dòng)時(shí),信號(hào)最大幅度為峰峰值16mV,為ISD33000 系列相同。 </p><p> 反相模擬輸入(ANA IN-) 差分驅(qū)動(dòng)時(shí),這是錄音信號(hào)的反相輸入端。信號(hào)通過耦合電容輸入,最大幅度為峰峰值16mV </p><p> 音頻輸出(AUD OUT) 提供音頻輸出,可驅(qū)動(dòng)5KΩ的負(fù)載。 </p><p> 片
80、選(SS) 此端為低,即向該ISD4004 芯片發(fā)送指令,兩條指令之間為高電平。 </p><p> 串行輸入(MOSI) 此端為串行輸入端,主控制器應(yīng)在串行時(shí)鐘上升沿之前半個(gè)周期將數(shù)據(jù)放到本端,供ISD 輸入。 </p><p> 串行輸出(MISO) ISD 的串行輸出端。ISD 未選中時(shí),本端呈高阻態(tài)。 </p><p> 串行時(shí)鐘(SCLK) ISD
81、的時(shí)鐘輸入端,由主控制器產(chǎn)生,用于同步MOSI 和MISO 的數(shù)據(jù)傳輸。數(shù)據(jù)在SCLK上升沿鎖存到ISD,在下降沿移出ISD。 </p><p> 中斷(/INT) 本端為漏極開路輸出。ISD 在任何操作(包括快進(jìn))中檢測到EOM 或OVF 時(shí),本端變低并保持。中斷狀態(tài)在下一個(gè)SPI 周期開始時(shí)清除。中斷狀態(tài)也可用RINT 指令讀取。OVF 標(biāo)志----指示ISD的錄、放操作已到達(dá)存儲(chǔ)器的未尾。EOM 標(biāo)志--
82、--只在放音中檢測到內(nèi)部的EOM 標(biāo)志時(shí),此狀態(tài)位才置1。 </p><p> 行地址時(shí)鐘(RAC) 漏極開路輸出。每個(gè)RAC 周期表示ISD 存儲(chǔ)器的操作進(jìn)行了一行(ISD4004 系列中的 </p><p> 存貯器共2400 行)。該信號(hào)175ms 保持高電平,低電平為25ms??爝M(jìn)模式下,RAC 的218.75μs 是高電平,31.25μs 為低電平。該端可用于存儲(chǔ)管理技術(shù)。
83、</p><p> 外部時(shí)鐘(XCLK) 本端內(nèi)部有下拉元件。芯片內(nèi)部的采樣時(shí)鐘在出廠前已調(diào)校,誤差在 +1%內(nèi)。商業(yè)級(jí)芯片在整個(gè)溫度和電壓范圍內(nèi), 頻率變化在+2.25%內(nèi)。工業(yè)級(jí)芯片在整個(gè)溫度和電壓范圍內(nèi),頻率變化在-6/+4%內(nèi),此時(shí)建議使用穩(wěn)壓電源。若要求更高精度,可從本端輸入外部時(shí)鐘(如前表所列)。由于內(nèi)部的防混淆及平滑濾波器已設(shè)定,故上述推薦的時(shí)鐘頻率不應(yīng)改變。輸入時(shí)鐘的占空比無關(guān)緊要,因內(nèi)部首先進(jìn)
84、行了分頻。在不外接地時(shí)鐘時(shí),此端必須接地。 </p><p> 自動(dòng)靜噪(AMCAP) 當(dāng)錄音信號(hào)電平下降到內(nèi)部設(shè)定的某一閾值以下時(shí),自動(dòng)靜噪功能使信號(hào)衰弱,這樣有助于養(yǎng)活無信號(hào)(靜音)時(shí)的噪聲。通常本端對(duì)地接1mF 的電容,構(gòu)成內(nèi)部信號(hào)電平峰值檢測電路的一部分。檢出的峰值電平與內(nèi)部設(shè)定的閾值作比較,決定自動(dòng)靜噪功能的翻轉(zhuǎn)點(diǎn)。大信號(hào)時(shí),自動(dòng)靜噪電路不衰減,靜音時(shí)衰減6dB。1mF 的電容也影響自動(dòng)靜噪電路對(duì)信號(hào)
85、幅度的響應(yīng)速度。本端接VCCA 則禁止自動(dòng)靜噪。 </p><p> SPI(串行外設(shè)接口)</p><p> ISD4004 工作于SPI 串行接口。SPI 協(xié)議是一個(gè)同步串行數(shù)據(jù)傳輸協(xié)議,協(xié)議假定微控制器的SPI 移位寄存器在SCLK 的下降沿動(dòng)作,因此對(duì)ISD4004 而言,在時(shí)鐘止升沿鎖存MOSI 引腳的數(shù)據(jù),在下降沿將數(shù)據(jù)送至MISO 引腳。協(xié)議的具體內(nèi)容為: </p&
86、gt;<p> 1.所有串行數(shù)據(jù)傳輸開始于SS 下降沿。 </p><p> 2.SS 在傳輸期間必須保持為低電平,在兩條指令之間則保持為高電平。 </p><p> 3.數(shù)據(jù)在時(shí)鐘上升沿移入,在下降沿移出。 </p><p> 4.SS 變低,輸入指令和地址后,ISD 才能開始錄放操作。 </p><p> 5.指令
87、格式是(8 位控制碼)加(16 位地址碼)。 </p><p> 6.ISD 的任何操作(含快進(jìn))如果遇到EOM 或OVF,則產(chǎn)生一個(gè)中斷,該中斷狀態(tài)在下一個(gè)SPI 周期開始時(shí)被清除。 </p><p> 7.使用"讀"指令使中斷狀態(tài)位移出ISD 的MISO 引腳時(shí),控制及地址數(shù)據(jù)也應(yīng)同步從MOSI 端移入。因此要注意移入的數(shù)據(jù)是否與器件當(dāng)前進(jìn)行的操作兼容。當(dāng)然,也
88、允許在一個(gè)SPI 周期里,同時(shí)執(zhí)行讀狀態(tài)和開始新的操作(即新移入的數(shù)據(jù)與器件當(dāng)前的操作可以不兼容)。 </p><p> 8.所有操作在運(yùn)行位(RUN)置1 時(shí)開始,置0 時(shí)結(jié)束。 </p><p> 9.所有指令都在SS 端上升沿開始執(zhí)行。 </p><p><b> (一)信息快進(jìn)</b></p><p>
89、用戶不必知道信息的確切地址,就能快進(jìn)跳過一條信息。信息快進(jìn)只用于放音模式。放音速度是正 </p><p> 常的1600 倍,遇到EOM 后停止,然后內(nèi)部地址計(jì)數(shù)器加1,指向下條信息的開始處。 </p><p><b> (二)上電順序</b></p><p> 器件延時(shí)TPUD(8kHz 采樣時(shí),約為25 毫秒)后才能開始操作。因此,用
90、戶發(fā)完上電指令后,必須等待 </p><p> TPUD,才能發(fā)出一條操作指令。 </p><p> 例如,從00 從處發(fā)音,應(yīng)遵循如下時(shí)序: </p><p> 1. 發(fā)POWERUP 命令; </p><p> 2. 等待TPUD(上電延時(shí)); </p><p> 3. 發(fā)地址值為00 的SETPLAY
91、命令; </p><p> 4. 發(fā)PLAY 命令。 </p><p> 器件會(huì)從此00 地址開始放音,當(dāng)出現(xiàn)EOM 時(shí),立即中斷,停止放音。 </p><p> 如果從00 處錄音,則按以下時(shí)序: </p><p> 1. 發(fā)POWER UP 命令; </p><p> 2. 等待TPUD(上電延時(shí)); &
92、lt;/p><p> 3. 發(fā)POWER UP 命令 </p><p> 4. 等待2 倍TPUD; </p><p> 5. 發(fā)地址值為00 的SETREC 命令; </p><p> 6. 發(fā)REC 命令。 </p><p> 器件便從00 地址開始錄音,一直到出現(xiàn)OVF(存貯器末尾)時(shí),錄音停止。 <
93、/p><p> +idrEy:o Y446063 軟件設(shè)計(jì)電子園51單片機(jī)學(xué)習(xí)網(wǎng)dR1E;dvQ;o` o9i3.1 系統(tǒng)功能的實(shí)現(xiàn)8rH_x9S{;jwoNh44606電梯停在一樓時(shí),打開電源開關(guān),播報(bào)歡迎詞。并初始化當(dāng)前樓層為1樓。2E$D*F)Q3y6]-JM44606(2) 關(guān)門播報(bào)電子園51單片機(jī)學(xué)習(xí)網(wǎng)ewSQ</p><p>
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 眾賞文庫僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 外文翻譯--isd4004語音芯片在語音報(bào)站器中的應(yīng)用
- 基于MP3技術(shù)的電梯語音報(bào)站設(shè)計(jì).pdf
- 基于MP3技術(shù)的電梯語音報(bào)站裝置.pdf
- 公交車語音報(bào)站器設(shè)計(jì)[開題報(bào)告]
- 公交車語音報(bào)站器設(shè)計(jì)[任務(wù)書]
- 公交車語音報(bào)站器設(shè)計(jì)【畢業(yè)論文】
- 語音報(bào)站系統(tǒng)畢業(yè)設(shè)計(jì)
- 公交車語音報(bào)站器的設(shè)計(jì)【畢業(yè)設(shè)計(jì)】
- 語音報(bào)站系統(tǒng)畢業(yè)設(shè)計(jì)
- 外文翻譯--公交車自動(dòng)報(bào)站系統(tǒng)
- 杭州地鐵一號(hào)線語音報(bào)站器模擬設(shè)計(jì)
- 公交車可視化語音自動(dòng)報(bào)站器的設(shè)
- 語音控制器畢業(yè)設(shè)計(jì)外文翻譯
- 外文翻譯--電梯曳引機(jī)
- 外文翻譯--電梯.doc
- 語音編碼【外文翻譯】
- 語音報(bào)站系統(tǒng)的設(shè)計(jì)【開題報(bào)告】
- 外文翻譯--電梯.doc
- 外文翻譯--電梯.doc
- 外文翻譯--電梯.doc
評(píng)論
0/150
提交評(píng)論