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

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

View Full Document Right Arrow Icon
Microcomputer Systems and Lab Fall, 2010 微算機系統與實驗講義 Microcomputer Systems and Lab Fall, 2010 微算機系統與實驗講義 Lab # 13 蜂鳴器 串列傳輸實驗 一、實驗目的: (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) 精準控制程式時間技巧 必須要精準地控制
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/11/2012 for the course ELECTRIC 101 taught by Professor Chen during the Spring '11 term at National Chiao Tung University.

Page1 / 3

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

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online