{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

10_Lab13_BUZZER_RS232

# 10_Lab13_BUZZER_RS232 - Microcomputer Systems and Lab Fall...

This preview shows pages 1–2. Sign up to view the full content.

Microcomputer Systems and Lab Fall, 2010 微算機系統與實驗講義 Microcomputer Systems and Lab Fall, 2010 微算機系統與實驗講義 Lab # 13 蜂鳴器 & RS232 串列傳輸實驗 一、實驗目的： (1) 瞭解蜂鳴器工作原理以及相關的控制方法。請參考課本第七章 7-213 開始。 (2) 認識 RS232 傳輸方式，並使用 51 內部的串列埠，練習與電腦端傳輸。 二、實驗說明： 1. 蜂鳴器 (buzzer) 工作原理： 使蜂鳴器發出固定頻率的聲音是利用 ’1’ ’0’ 信號的變化所產生，假設 要產生 1KHz 的聲音，只要輸入半週期為 500us 的方波即可。 (1) 瞭解 C 大調音階頻率計算公式 每一音階分為八音度，共分 12 個音，而每個八音度間頻率相差 1 倍， 對於每個音的頻率計算公式如下，其中， F (1) Do 的頻率，例如中音 Do 523Hz ，高音 Do 1046Hz F(n)=2(n-1)xF(1)/12 n=1~12 (2) 精準控制程式時間技巧 必須要精準地控制 Buzzer On/Off

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern