
dsPIC
®
DSC DTMF Detection Library User’s Guide
DS70332A-page 24
©
2008 Microchip Technology Inc.
FIGURE 4-1:
REMOTE DTMF DETECTION DEMONSTRATION
4.2.1
Demonstration Setup
In this demonstration, the program was assembled and built from ready-to-use source
files. Use the following procedures to set up the demonstration.
1. Connect the dsPICDEM.net board (J16) to an analog phone line.
2. Build the program (
Debugger>Build All
).
3. Load the program in the dsPIC DSC device (
Debugger>Program)
.
4. Reset the program (
Debugger>Reset
).
5. Run the program (
Debugger>Run
).
6. From the telephone, dial the phone number to which the dsPICDEM.net board is
attached. When you hear the ring on the board, press the S1 switch to go
off-hook.
7. On the telephone keypad, enter 0-9, * or #. Observe the series of digits displayed
on the HyperTerminal.
8. To end, hang up the phone and press RESET on the board.
Figure 4-2 shows a flow chart that summarizes the remote DTMF detection
demonstration.
DAA/AFE
dsPIC
®
DSC
S1 S2 S3
UART
dsPICDEM.net
™
PSTN
Demonstration Summary:
1. With dsPICDEM.net™
connected to an
analog
(1)
phone line,
use a phone handset to
dial the board.
2. At the tone, press the
S1 switch to go
off-hook.
3. Use the phone keypad
to input numbers 0-9, #
and * characters.
Detected characters are
displayed on the PC.
Note 1:
You must connect to an analog phone line only. Using a non-analog line (e.g.,
digital, PBX Multiline) may damage the modem.
J16
J5
Device
Note:
It is always necessary to reprogram the device with the new code after each
build. MPLAB will remind you with a message that states “Program memory
has changed since last operation”.
Содержание dsPIC DSC DTMF
Страница 1: ...2008 Microchip Technology Inc DS70332A dsPIC DSC DTMF DETECTION LIBRARY USER S GUIDE...
Страница 4: ...dsPIC DSC DTMF Detection Library User s Guide DS70332A page iv 2008 Microchip Technology Inc NOTES...
Страница 26: ...dsPIC DSC DTMF Detection Library User s Guide DS70332A page 22 2008 Microchip Technology Inc NOTES...
Страница 30: ...dsPIC DSC DTMF Detection Library User s Guide DS70332A page 26 2008 Microchip Technology Inc NOTES...