Remote-processing RPC-2300 Manual de usuario Pagina 31

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 36
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 30
CHAPTER 10 SPEAKER
RPC-2300 Page 29
Figure 10-1 Jumper W7
Figure 10 -2 Interfa ce schem atic
DESCRIPTION
Pin 16 on the card edge connector is the speaker output
from the 64180 C PU chip. This port can be used to
drive a speaker. The SO UN D com mand is use d to
generate a frequency.
Sound output is not available when a 512K R AM is
installed. This is due to the fact one of the address lines
is also used as a fr equency output.
SOUN D Syntax is:
SOUND frequency
SOUND frequency,duration
frequency is from about 20 Hz to over 20,000 Hz.
duration is from 0. 01 to 325 seconds.
NOTE: When SOUND is used with a duration
parameter, program execution is suspended
until it is timed out.
Speaker output is controlled by jumper W7.
[1-2],[3-4] 512K RAM installed
[1-3],[2-4] Speaker enabled
Connecting a speaker
Refer to figure 10-2 below for circuit connections to a
speaker. T he series resistor determines the volume. the
Capacitor sets the lower frequency limit. Generally,
values from 100 uF to 470 uF ar e adequate. The
speaker may be any value but those with 50 ohms or
greater produce higher sound output.
WARNING:
Do not connect pin 16 directly to a speaker, ground,
or + 5V, even momentarily, as damage to the CPU
will result.
Program ming ex ample
The following example produces tones from 200 to 5000
hz and back down again in 500 hz increm ents.
10 FOR N = 200 TO 5000 STEP 500
20 SOUND N,.5
30 NEXT
40 FOR N = 5000 TO 200 STEP -500
50 SOUND N,.5
60 NEXT
70 GOTO 10
To stop program execution, press the < esc> key.
AIN and AOT commands shut off the sound.
Vista de pagina 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36

Comentarios a estos manuales

Sin comentarios