barcode generator vb.net code Touch-Tone Generator in Software

Making Code 128 Code Set C in Software Touch-Tone Generator

Touch-Tone Generator
Read Code128 In None
Using Barcode Control SDK for Software Control to generate, create, read, scan barcode image in Software applications.
USS Code 128 Creator In None
Using Barcode creator for Software Control to generate, create Code 128 Code Set C image in Software applications.
Our first project, shown in Fig. 10-2, is a touch-tone generator that can be used to send touch-tone signals through a radio or wire circuit. This circuit can be interfaced to a micro-
Reading ANSI/AIM Code 128 In None
Using Barcode reader for Software Control to read, scan read, scan image in Software applications.
Code 128 Code Set B Creation In Visual C#.NET
Using Barcode printer for .NET framework Control to generate, create Code 128A image in .NET framework applications.
Tone
Code 128B Drawer In .NET
Using Barcode drawer for ASP.NET Control to generate, create Code 128A image in ASP.NET applications.
Encoding Code 128C In VS .NET
Using Barcode encoder for .NET Control to generate, create Code 128B image in .NET framework applications.
D/A converters
Code 128C Creation In Visual Basic .NET
Using Barcode creation for .NET framework Control to generate, create USS Code 128 image in Visual Studio .NET applications.
Printing Data Matrix 2d Barcode In None
Using Barcode maker for Software Control to generate, create Data Matrix 2d barcode image in Software applications.
Row & column counters
Drawing Code-128 In None
Using Barcode maker for Software Control to generate, create Code 128C image in Software applications.
Barcode Printer In None
Using Barcode creator for Software Control to generate, create bar code image in Software applications.
Transmit data register
Printing Bar Code In None
Using Barcode maker for Software Control to generate, create bar code image in Software applications.
Drawing UCC - 12 In None
Using Barcode creation for Software Control to generate, create GS1 128 image in Software applications.
Data bus buffer
Encoding Identcode In None
Using Barcode creator for Software Control to generate, create Identcode image in Software applications.
GTIN - 12 Scanner In None
Using Barcode recognizer for Software Control to read, scan read, scan image in Software applications.
D0 D3
Code 39 Reader In None
Using Barcode decoder for Software Control to read, scan read, scan image in Software applications.
Create Bar Code In Java
Using Barcode printer for Java Control to generate, create bar code image in Java applications.
Tone burst gating
Print Data Matrix ECC200 In C#
Using Barcode printer for .NET framework Control to generate, create ECC200 image in .NET applications.
ANSI/AIM Code 39 Creator In None
Using Barcode generator for Microsoft Excel Control to generate, create Code-39 image in Microsoft Excel applications.
Control logic
Data Matrix 2d Barcode Encoder In None
Using Barcode creation for Office Excel Control to generate, create ECC200 image in Microsoft Excel applications.
UPC A Reader In Java
Using Barcode decoder for Java Control to read, scan read, scan image in Java applications.
Status register
Interrupt logic
IR0/CP
In In CS
Dial tone filter
High group filter
OSC1 OSC2
Oscillator circuit
Low group filter
Digital algorithm & code converter
Control register A 02 CS Control register B I/O control R/W RS0
Bias circuit
Control logic
Steering logic Est StGt
Receive data register
VDO VREF VSS Figure 10-1 CM8880 touch-tone encoder/decoder.
138 RADIO DTMF TONE DECODER AND DISPLAY
TABLE 10-2 BINARY VALUE
DTMF BINARY AND DECIMAL VALUES DECIMAL VALUE KEYPAD SYMBOL
0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
D 1 2 3 4 5 6 7 8 9 0 * # A B C
TABLE 10-3 CS RW
CONTROL BIT CS, RW, AND RSO STATUS DESCRIPTION
0 0 0 0 1 1 1 1
0 0 1 1 0 0 1 1
0 1 0 1 0 1 0 1
Active: write data (i.e., send DTMF) Active: write instructions to CM8880 Active: read data (i.e., receive DTMF) Active: read status from CM8880 Inactive Inactive Inactive Inactive
TOUCH-TONE GENERATOR 139
TABLE 10-4 BIT NAME
FUNCTIONS OF CONTROL REGISTER A FUNCTION
Tone out
tone generator disabled tone generator enabled send and receive DTMF send DTMF, receive call progress tone
Mode control
(DTMF bursts lengthened to 104 ms) 2 Interrupt enable 0 1 3 Register select 0 make controller check for DTMF received interrupt controller via pin 13 when DTMF received next instruction write goes to CRA
1 = next instruction write goes to CRB
TABLE 10-5 BIT NAME
FUNCTIONS OF CONTROL REGISTER B FUNCTION
Burst
output DTMF bursts of 52 or 104 ms output DTMF as long as enabled normal operating mode present test timing bit on pin 13 output dual (real DTMF) tones output separate row or column tones if above 1 select row tone
Test
Single/Dual
Column/Row
1 = if above = 1 select column tone
phone input of a radio so that you can send DTMF tones over radio to remotely control things. The touch-tone generator utilizes the STAMP 2 to animate the CM8880 encoder/decoder chip. Note that pins 9, 10, and 11 are used to enable and mode-select the CM8880 chip. Pins 14 through 17 are data output pins, which send the binary representation of the number received by the decoder portion of the chip. The touch-tone generator uses pin 8 of the CM8880 to send the analog audio signal to be amplified by U4. The output of the IC amplifier is coupled via C6 to a microphone input of a radio transceiver or wire circuit. If you have a walkie-talkie or mobile radio, you could use this circuit to send tones over radio to a remote receiver with a second CM8880 set up as a decoder to translate the remote tones into control functions; see the radio decoder project (Chap. 11). In the touch-tone generator program shown below, you will notice the phone number 4590623. Simply substitute your own phone number or tone sequence for your particular
DB-9
7 6 5 4 3 2
Programming cable J1 P1
1 2 3 IN IN CS VREF VSS OSC1 OSC2 Tone R/W CS F2 RSO VDD StGt Est 20 19 18 17 16 15 14 13 12 11
C2 C3 R3
1 2 3 4 5 6
TX RX ATW GND P0 P1 P2 P3 P4 P5 P6 P7 P15 P14 P13 P12 P11 P10 P9 P8
23 22 21 20 19 18 17 16 15 14 13
XTL C1 R2
6 7 8 9 10
5V R5
7 8 9 10 11 12
6 5 8 7
C5 Audio output 5V O U3 I 9 12V dc
Figure 10-2 Touch-tone generator.
DECODER DISPLAY 141
application. The touch-tone generator circuit is powered by 5 Vdc, which is supplied via regulator U3. The input of the regulator can be fed by a 9- to 12-Vdc wall wart power supply or can be powered by batteries if desired. The touch-tone generator project can be built on a STAMP 2 carrier board or on a dedicated printed circuit board. When possible, use integrated circuit sockets for the ICs; this will make life much easier if a component fails later. Also take care to observe the proper orientation of the ICs before inserting them into the sockets. Be careful to observe the polarity of the capacitors. A 4-pin male header is placed on the circuit board at P1. This provides a simple connector for programming the STAMP 2. An external programming cable can then be constructed between the female header at J1 and the DB-9 female RS-232 connector. The completed touch-tone generator circuit can be next mounted in a plastic or aluminum chassis box. Once the touch-tone generator circuit has been completed, connect your programming cable and power-up the circuit. Next locate the DIAL.BS2 program shown in Listing 10-1, start up the STAMP 2 editor program, and download and run the DIAL.BS2 program. You are now ready to generate touch tones.
Copyright © OnBarcode.com . All rights reserved.