전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

JA2 데이터시트(PDF) 3 Page - Renesas Technology Corp

부품명 JA2
상세설명  Sample Program (Musical Scale)
PDF  17 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  RENESAS [Renesas Technology Corp]
홈페이지  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

JA2 데이터시트(HTML) 3 Page - Renesas Technology Corp

  JA2 Datasheet HTML 1Page - Renesas Technology Corp JA2 Datasheet HTML 2Page - Renesas Technology Corp JA2 Datasheet HTML 3Page - Renesas Technology Corp JA2 Datasheet HTML 4Page - Renesas Technology Corp JA2 Datasheet HTML 5Page - Renesas Technology Corp JA2 Datasheet HTML 6Page - Renesas Technology Corp JA2 Datasheet HTML 7Page - Renesas Technology Corp JA2 Datasheet HTML 8Page - Renesas Technology Corp JA2 Datasheet HTML 9Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 3 / 17 page
background image
REJ05B0817-0110 Rev.1.10
2007.12
Page 3 of 17
M16C/26A Group
Sample Program (Musical Scale)
4.
Operational Outline
The variable resistor (R9) mounted on the board is used to adjust the musical scale and sound a buzzer. Scales and frequencies are
displayed as adjusted with the variable resistor (R9).
Turning the variable resistor (R9) clockwise lowers the sound, and turning it counterclockwise raises the sound. When SW1 is pressed
while a scale is sounded, the sound stops and a string “mute” is displayed on liquid crystal display.
The operation described above is accomplished using the following microcomputer facilities:
• Timer A0 (timer mode, main 2 ms cycle)
This timer counts 2 milliseconds using the main clock of the microcomputer as the count source.
It is used as the basic timer of RSK_LIB.
Time management, LCD display management and AD input are performed using this timer.
• AD24 (single-shot mode, AD value measurement)
Analog voltages are converted to digital data using the main clock of the microcomputer as a conversion clock.
More specifically, the analog voltages output from the variable resistor (R9) are A/D converted.
• Timer A1 (pulse modulation mode, buzzer output)
This timer outputs a waveform with different high and low pulse widths using the main clock of the microcomputer as the count source.
The high-level width of the output pulse is changed to alter the frequency, by which the buzzer tone is varied.
M16C26A
Liquid crystal display
S c a l e
259Hz
Do
SW2
SW1/
BOOT
M16C26A
Liquid crystal display
S c a l e
292Hz
Re
SW3
R9
M16C26A
Liquid crystal display
S c a l e
259Hz
Do
Buzzer
Buzzer
Buzzer
Outputs the sound do
Outputs the sound re
Outputs the sound do
SW2
SW1/
BOOT
SW3
R9
SW2
SW1/
BOOT
SW3
R9



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com