Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Mexican  ▼
ALLDATASHEET.COM.MX

X  

JA2 Datasheet(PDF) 3 Page - Renesas Technology Corp

No. de pieza JA2
Descripción Electrónicos  Sample Program (Musical Scale)
PDF  17 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  RENESAS [Renesas Technology Corp]
Página de inicio  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

JA2 Datasheet(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


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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