Reports.HM2007VoiceRecognitionIC History

Hide minor edits - Show changes to output

Changed lines 40-41 from:
%lframe% http://www.sofreakingedgy.net/classes/sensorworkshop/img/hm2007_pin_diagram1.png
to:
%rframe% http://www.sofreakingedgy.net/classes/sensorworkshop/img/hm2007_pin_diagram1.png
Changed lines 66-67 from:
to:
http://www.sofreakingedgy.net/classes/sensorworkshop/img/hm2007schematic002.png
Changed lines 40-41 from:
http://www.sofreakingedgy.net/classes/sensorworkshop/img/hm2007_pin_diagram1.png
to:
%lframe% http://www.sofreakingedgy.net/classes/sensorworkshop/img/hm2007_pin_diagram1.png
Changed lines 40-41 from:
[[Attach:hm2007_pin_diagram1.png]]
to:
http://www.sofreakingedgy.net/classes/sensorworkshop/img/hm2007_pin_diagram1.png
Added lines 69-75:
* [[http://www.sofreakingedgy.net/classes/sensorworkshop/misc/sensor_report/p_recognition.zip | Processing demo code]]
* [[http://www.sofreakingedgy.net/classes/sensorworkshop/misc/sensor_report/recognition013.pde | Arduino demo code]]

!!!Typical Behavior

!!!Application Notes
Changed lines 40-41 from:
[[Attach:hm2007_pin_diagram2.png]]
to:
[[Attach:hm2007_pin_diagram1.png]]
Changed lines 40-41 from:
[[Attach:hm2007_pin_diagram1.png]]
to:
[[Attach:hm2007_pin_diagram2.png]]
Changed lines 52-53 from:
|| LINE || 45 ||Not used - leave floating ||
|| MICin || 46 ||Microphone connection pin ||
to:
|| LINE || 45 ||Never used - leave floating ||
|| MICin || 46 ||Microphone input pin - should be connected through a coupling capacitor and a resistor ||
Changed lines 56-65 from:
to:
|| Vref || 44 ||ADC voltage reference pin - connect to Vdd through a 20k-30kohm resistor ||
|| Vdd || 25,47 ||Positive voltage supply - connect 5.0V ||
|| Agnd || 48 ||Analog ground ||
|| GND || 1,26 ||Digital ground ||
|| RDY || 7 ||Ready indicator - can sink current for an LED to indicate when it's time to speak ||
|| TEST || 12 ||Never used - pull low for normal operation ||
|| WAIT || 15 ||Waiting control input - pull high for normal operation ||
|| DEN || 16 ||Data-enable signal - can be used to latch the response on D0-D7 to an external device if desired (not used in this report) ||
|| NC || 32,33 ||No connection ||
Changed lines 44-56 from:
|| S1-S3 || 4-6 || The S-bus read/write control pins - connected to the host microcontroller||
|| K1-K4 || 8-11 || The K-bus bi-directional data bus - connected to the host microcontroller||
|| SA0-SA12 || 17-24, 27-31 || Memory address bus ||
|| D0-D7 || 36-43 || Memory data bus ||
|| MR/MW || 35 || Memory read / memory write control line ||
|| ME || 34 || Memory-enable pin ||
|| X1 and X2 || 2,3 || Connections for a 3.58 MHz crystal or oscillator ||
|| TEST || 12 || Never used - pull low for proper operation ||
|| LINE || 45 || Not used - leave floating ||
|| MICin || 46 || Microphone connection pin ||
|| WLEN || 13 || Word-length select pin. Pull high to use 1.92-second words, pull low to use 0.9-second words ||
|| CPUM || 14 || CPU/manual-mode select pin. Pull low for manual mode, pull high for CPU mode. Pulled high to select CPU mode in this report ||
to:
|| S1-S3 || 4-6 ||The S-bus read/write control pins - connected to the host microcontroller||
|| K1-K4 || 8-11 ||The K-bus bi-directional data bus - connected to the host microcontroller||
|| SA0-SA12 || 17-24, 27-31 ||Memory address bus ||
|| D0-D7 || 36-43 ||Memory data bus ||
|| MR/MW || 35 ||Memory read / memory write control line ||
|| ME || 34 ||Memory-enable pin ||
|| X1 and X2 || 2,3 ||Connections for a 3.58 MHz crystal or oscillator ||
|| TEST || 12 ||Never used - pull low for proper operation ||
|| LINE || 45 ||Not used - leave floating ||
|| MICin || 46 ||Microphone connection pin ||
|| WLEN || 13 ||Word-length select pin. Pull high to use 1.92-second words, pull low to use 0.9-second words ||
|| CPUM || 14 ||CPU/manual-mode select pin. Pull low for manual mode, pull high for CPU mode. Pulled high to select CPU mode in this report ||
Changed line 42 from:
|| border=0
to:
|| border=1
Changed lines 44-45 from:
|| SA0-SA12 || 17-24, 27-31 || Memory address bus - connections are between the HM2007 and the static RAM ||
|| D0-D7 || 36-43 || Memory data bus - connections are between the HM2007 and the static RAM ||
to:
|| S1-S3 || 4-6 || The S-bus read/write control pins - connected to the host microcontroller||
|| K1-K4 || 8-11 || The K-bus bi-directional data bus - connected to the host microcontroller||
|| SA0-SA12 || 17-24, 27-31 || Memory address bus ||
|| D0-D7 || 36-43 || Memory data bus ||
|| MR/MW || 35 || Memory read / memory write control line ||
|| ME || 34 || Memory-enable pin ||
|| X1 and X2 || 2,3 || Connections for a 3.58 MHz crystal or oscillator ||
|| TEST || 12 || Never used - pull low for proper operation ||
|| LINE || 45 || Not used - leave floating ||
|| MICin || 46 || Microphone connection pin ||
|| WLEN || 13 || Word-length select pin. Pull high to use 1.92-second words, pull low to use 0.9-second words ||
|| CPUM || 14 || CPU/manual-mode select pin. Pull low for manual mode, pull high for CPU mode. Pulled high to select CPU mode in this report ||

!!!Microcontroller Connections

!!!Sample Code
Added lines 5-6:
The HM2007 is available in a 48-pin PDIP or 52-pin PLCC package. This report only addresses the PDIP package.
Changed lines 39-45 from:
to:
!!!Pin Descriptions
[[Attach:hm2007_pin_diagram1.png]]

|| border=0
||! Pin Name ||! Pin Number(s) ||! Description ||
|| SA0-SA12 || 17-24, 27-31 || Memory address bus - connections are between the HM2007 and the static RAM ||
|| D0-D7 || 36-43 || Memory data bus - connections are between the HM2007 and the static RAM ||
Changed lines 3-4 from:
The HM2007 is a single-chip voice-recognition system. It provides all necessary components including the analog front-end, voice analysis, recognition processing, and system control. The HM2007 can recognize either 40 0.9-second long words or 20 1.92-second long words or phrases. The recognition technology is of the speaker-dependent discrete type meaning that it can only recognize words spoken in isolation and the speaker must "train" the system with each word to be recognized.
to:
The HM2007 is a single-chip voice-recognition system previously manufactured by Hualon. It requires an external array of SRAM, but otherwise provides all necessary components for a voice-recognition system including the analog front-end, voice analysis, recognition processing, and system control. The HM2007 can recognize either 40 0.9-second long words or 20 1.92-second long words or phrases. The recognition technology is of the speaker-dependent discrete type meaning that it can only recognize words spoken in isolation and the speaker must "train" the system with each word to be recognized.
Changed lines 20-37 from:
to:
!!!Electrical Characteristics
* Supply voltage (Vdd): 5.0 VDC typical (4.0 V min., 5.5 V max.)
* Operating current (Idd): 6 mA typical (15 mA max.)

Communication between the HM2007 and a host microcontroller is through one unidirectional three-pin bus (the S-bus) and one bidirectional four-pin bus (the K-bus). Signal levels for these lines are 0-Vdd.

The HM2007 is not exactly easy to use with a microcontroller. Communication follows the protocol given below and in the datasheet but is generally of the form:
# Microcontroller indicates on the S-bus that it is ready to receive the HM2007's status
# HM2007 indicates its status on the K-bus
# Microcontroller switches its pins connected to the HM2007's K-bus to inputs and reads status from the K-bus
# Microcontroller switches its pins connected to the HM2007's K-bus to outputs and writes a command to the K-bus
# Microcontroller indicates on the S-bus that the HM2007 should read the K-bus for a command
# HM2007 reads the K-bus for the command
# HM2007 responds to the command and places the results on the K-bus
# Microcontroller reads the K-bus to determine the result of the command
# ad nauseum
Changed lines 7-8 from:
* [[http://www.the4cs.com/~corin/cse477/toaster/images-faq.html | An annotated copy of a FAQ for the HM2007]] (contains some errors in teh annotations - also noted below)
to:
* [[http://www.the4cs.com/~corin/cse477/toaster/images-faq.html | An annotated copy of a FAQ for the HM2007]] (contains some errors in the annotations - also noted below)
Changed lines 11-12 from:
* [http://www.circuitcellar.com/library/print/hcs-pdf/49-Bachiochi.pdf "Ta(l)king Control"] - An article about the HM2007 by Jeff Bachiochi in Computer Applications Journal from 1994
to:
* [[http://www.circuitcellar.com/library/print/hcs-pdf/49-Bachiochi.pdf | "Ta(l)king Control"]] - An article about the HM2007 by Jeff Bachiochi in Computer Applications Journal from 1994
Changed lines 14-15 from:
* [http://www.imagesco.com/ Images SI Inc.] - in Staten Island but does not do pickup orders. (HM2007 for $10, 64K SRAM for $8, 3.58 MHz crystal for $2.50)
to:
* [[http://www.imagesco.com/ | Images SI Inc.]] - in Staten Island but does not do pickup orders. (HM2007 for $10, 64K SRAM for $8, 3.58 MHz crystal for $2.50)
Changed lines 6-8 from:
* [[http://www.the4cs.com/~corin/cse477/toaster/datasheet.pdf An annotated HM2007 datasheet]] (warning - some errors in the annotations - they are noted below)
* [[http://www.the4cs.com/~corin/cse477/toaster/images-faq.html An annotated copy of a FAQ for the HM2007]] (contains some errors in teh annotations - also noted below)
to:
* [[http://www.the4cs.com/~corin/cse477/toaster/datasheet.pdf | An annotated HM2007 datasheet]] (warning - some errors in the annotations - they are noted below)
* [[http://www.the4cs.com/~corin/cse477/toaster/images-faq.html | An annotated copy of a FAQ for the HM2007]] (contains some errors in teh annotations - also noted below)
Changed line 10 from:
* [[http://www.the4cs.com/~corin/cse477/toaster/ "Talking Toaster"]] - a project using the HM2007 - contains some notes about the HM2007 itself
to:
* [[http://www.the4cs.com/~corin/cse477/toaster/ | "Talking Toaster"]] - a project using the HM2007 - contains some notes about the HM2007 itself
Changed lines 6-8 from:
* [http://www.the4cs.com/~corin/cse477/toaster/datasheet.pdf An annotated HM2007 datasheet] (warning - some errors in the annotations - they are noted below)
* [http://www.the4cs.com/~corin/cse477/toaster/images-faq.html An annotated copy of a FAQ for the HM2007] (contains some errors in teh annotations - also noted below)
to:
* [[http://www.the4cs.com/~corin/cse477/toaster/datasheet.pdf An annotated HM2007 datasheet]] (warning - some errors in the annotations - they are noted below)
* [[http://www.the4cs.com/~corin/cse477/toaster/images-faq.html An annotated copy of a FAQ for the HM2007]] (contains some errors in teh annotations - also noted below)
Changed line 10 from:
* [http://www.the4cs.com/~corin/cse477/toaster/ "Talking Toaster"] - a project using the HM2007 - contains some notes about the HM2007 itself
to:
* [[http://www.the4cs.com/~corin/cse477/toaster/ "Talking Toaster"]] - a project using the HM2007 - contains some notes about the HM2007 itself
Added lines 1-20:
Initial report by [[~ze216 | Zach Eveland]], April 24, 2006

The HM2007 is a single-chip voice-recognition system. It provides all necessary components including the analog front-end, voice analysis, recognition processing, and system control. The HM2007 can recognize either 40 0.9-second long words or 20 1.92-second long words or phrases. The recognition technology is of the speaker-dependent discrete type meaning that it can only recognize words spoken in isolation and the speaker must "train" the system with each word to be recognized.

!!!!Datasheet and FAQ
* [http://www.the4cs.com/~corin/cse477/toaster/datasheet.pdf An annotated HM2007 datasheet] (warning - some errors in the annotations - they are noted below)
* [http://www.the4cs.com/~corin/cse477/toaster/images-faq.html An annotated copy of a FAQ for the HM2007] (contains some errors in teh annotations - also noted below)

!!!!Other Information
* [http://www.the4cs.com/~corin/cse477/toaster/ "Talking Toaster"] - a project using the HM2007 - contains some notes about the HM2007 itself
* [http://www.circuitcellar.com/library/print/hcs-pdf/49-Bachiochi.pdf "Ta(l)king Control"] - An article about the HM2007 by Jeff Bachiochi in Computer Applications Journal from 1994

!!!!Distributor
* [http://www.imagesco.com/ Images SI Inc.] - in Staten Island but does not do pickup orders. (HM2007 for $10, 64K SRAM for $8, 3.58 MHz crystal for $2.50)

!!!Applications
* Toys
* Home automation