카이스트 전자공학실험2 실험4 digital design using microcontroller (2nd week) 결과보고서
- 최초 등록일
- 2011.11.06
- 최종 저작일
- 2008.10
- 10페이지/
한컴오피스
- 가격 2,500원
![할인쿠폰받기](/images/v4/document/ico_det_coupon.gif)
소개글
카이스트 전자공학실험2 실험4 결과보고서 입니다.
목차
5. Contents of the experiment
1) Generation of the sine wave
2) Generation of the RC time delay
3) tips
6. Questions (total 100)
7. Reference
8. 고찰
본문내용
5. Contents of the experiment
1) Generation of the sine wave
(1) Decision of the number of samples in a period or the period of timer interrupt
First of all, you decide the number of samples in a period. When the number is small, the distortion of wave is significant. When the number is too large, the timer interrupts are frequently happened. In the case, the frequency of output signal is not acceptable owing to overflow of the maximum speed of the COMPACT51 board.
Also, the range of input is 0~255 because of the 8bit D/A converter. For that reason, the increase of the number of samples cannot affect to output signal.
In other case, you decide the period of timer interrupt. As the period, the interval which the value of the sample is written to D/A converter is fixed. The period should be lower than the handling period of COMPACT51 board.
For generating various frequencies of the waves, the fix of both the number of samples and the period of timer interrupt is fine. Only, the realization and the quality of the output signal is different.
▷ 이번 실험을 수행하는 데는 두 가지 방법이 있는데 첫 번째는 한주기 내의 샘플의 개수를 고정하는 것이고, 다른 하나는 D/A컨버터의 샘플 값을 쓰는 주기를 고정하는 것이다. 각각의 특징을 살펴보자.
⇨ 샘플의 개수를 고정하는 경우
참고 자료
8051 User’s manual
DAC0804 manual
Circuit diagram of COMPACT51 board
8051 & C Programming, 문왕환, 도서출판 세화
cmpt51.h header file
KEIL uVisionIII manual (HELP)